Bug 73725 - [IVB/HSW/BDW]igt/kms_setmode/clone-exclusive-crtc fails
Summary: [IVB/HSW/BDW]igt/kms_setmode/clone-exclusive-crtc fails
Status: CLOSED DUPLICATE of bug 68463
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Mika Kuoppala
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-17 07:41 UTC by lu hua
Modified: 2017-07-24 22:56 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (103.17 KB, text/plain)
2014-01-17 07:41 UTC, lu hua
no flags Details

Description lu hua 2014-01-17 07:41:39 UTC
Created attachment 92259 [details]
dmesg

System Environment:
--------------------------
Platform: Broadwell
Kernel:	(drm-intel-nightly)4acca65d00ccbabbe6481f2521a17a134050a427

Bug detailed description:
-------------------------
It always fails on Broad well with -nightly kernel. 

output:
IGT-Version: 1.5-g1552aa2 (x86_64) (Linux: 3.13.0-rc7_drm-intel-nightly_4acca6_20140117+ x86_64)
Testing: clone-exclusive-crtc 2 connector combinations
  Test id#1 CRTC count 2
    CRTC[3] [Pipe A] Mode: 1920x1080@60Hz Connectors: eDP-1[10]
    CRTC[5] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[20] (NC)
Test assertion failure function test_crtc_config, file kms_setmode.c:437:
Last errno: 22, Invalid argument
Failed assertion: config_failed == !!(tconf->flags & TEST_INVALID)
Subtest clone-exclusive-crtc: FAIL

Reproduce steps:
----------------------------
1. ./kms_setmode --run-subtest clone-exclusive-crtc
Comment 1 Guo Jinxian 2014-05-06 06:43:21 UTC
The test failed on latest -fixes(9bbfd20abe5025adbb0ac75160bd2e41158a9e83 ) on IVB too.

./kms_setmode --run-subtest clone-exclusive-crtc
IGT-Version: 1.6-gc864279 (x86_64) (Linux: 3.15.0-rc2_drm-intel-fixes_9bbfd2_20140506_debug+ x86_64)
Testing: clone-exclusive-crtc 2 connector combinations
  Test id#1 CRTC count 2
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[8] [Pipe B] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
  Test id#2 CRTC count 2
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[11] [Pipe C] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
  Test id#3 CRTC count 2
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[5] [Pipe A] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
  Test id#4 CRTC count 2
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[11] [Pipe C] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
  Test id#5 CRTC count 2
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[5] [Pipe A] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
  Test id#6 CRTC count 2
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[8] [Pipe B] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
  Test id#7 CRTC count 2
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
  Test id#8 CRTC count 2
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
  Test id#9 CRTC count 2
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
  Test id#10 CRTC count 2
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
  Test id#11 CRTC count 2
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
  Test id#12 CRTC count 2
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
  Test id#13 CRTC count 2
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#14 CRTC count 2
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#15 CRTC count 2
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#16 CRTC count 2
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#17 CRTC count 2
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#18 CRTC count 2
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#19 CRTC count 2
    CRTC[5] [Pipe A] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
  Test id#20 CRTC count 2
    CRTC[5] [Pipe A] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
  Test id#21 CRTC count 2
    CRTC[8] [Pipe B] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
  Test id#22 CRTC count 2
    CRTC[8] [Pipe B] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
  Test id#23 CRTC count 2
    CRTC[11] [Pipe C] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
  Test id#24 CRTC count 2
    CRTC[11] [Pipe C] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
  Test id#25 CRTC count 2
    CRTC[5] [Pipe A] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#26 CRTC count 2
    CRTC[5] [Pipe A] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#27 CRTC count 2
    CRTC[8] [Pipe B] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#28 CRTC count 2
    CRTC[8] [Pipe B] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#29 CRTC count 2
    CRTC[11] [Pipe C] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#30 CRTC count 2
    CRTC[11] [Pipe C] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#31 CRTC count 2
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#32 CRTC count 2
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#33 CRTC count 2
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#34 CRTC count 2
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#35 CRTC count 2
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
  Test id#36 CRTC count 2
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
    CRTC[8] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-3[24] (NC)
Testing: clone-exclusive-crtc 3 connector combinations
  Test id#37 CRTC count 3
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
    CRTC[8] [Pipe B] Mode: 1920x1200@60Hz Connectors: HDMI-A-1[16]
    CRTC[11] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-2[22] (NC)
Test assertion failure function test_crtc_config, file kms_setmode.c:434:
Last errno: 22, Invalid argument
Failed assertion: config_failed == !!(tconf->flags & TEST_INVALID)
Subtest clone-exclusive-crtc: FAIL
Comment 2 Daniel Vetter 2014-05-15 21:58:50 UTC
Hm, that test worked once I think ...

Is this a regression?

What other platforms are affected? IVB/BDW only, but hsw not?
Comment 3 lu hua 2014-05-16 07:13:47 UTC
(In reply to comment #2)
> Hm, that test worked once I think ...
> 
> Is this a regression?
> 
> What other platforms are affected? IVB/BDW only, but hsw not?

It also fails on HSW, works well on SNB, ILK, PNV.
I will test it on earlier kernel to find out regression or not.
Comment 4 Daniel Vetter 2014-05-16 08:27:08 UTC
A, failing also on hsw makes more sense. Please try to bisect this, probably best on hsw/ivb (since bdw is only merged recently.
Comment 5 Imre Deak 2014-05-16 11:27:08 UTC
Note that we added the 3 pipe tests to igt/kms_setmode only recently, so that could've introduced this failure.
Comment 6 Daniel Vetter 2014-05-16 22:09:36 UTC
(In reply to comment #5)
> Note that we added the 3 pipe tests to igt/kms_setmode only recently, so
> that could've introduced this failure.

I guess it would make sense to split the clone tests into a clone and a 3pipe-clone subtest ...
Comment 7 lu hua 2014-05-19 07:01:34 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Hm, that test worked once I think ...
> > 
> > Is this a regression?
> > 
> > What other platforms are affected? IVB/BDW only, but hsw not?
> 
> It also fails on HSW, works well on SNB, ILK, PNV.
> I will test it on earlier kernel to find out regression or not.

It is not a regression. pls refer to Bug 68463.
Comment 8 Daniel Vetter 2014-05-19 08:38:23 UTC
(In reply to comment #7)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > Hm, that test worked once I think ...
> > > 
> > > Is this a regression?
> > > 
> > > What other platforms are affected? IVB/BDW only, but hsw not?
> > 
> > It also fails on HSW, works well on SNB, ILK, PNV.
> > I will test it on earlier kernel to find out regression or not.
> 
> It is not a regression. pls refer to Bug 68463.

Ok, de-duping, thanks a lot for pointing at the other bug.

*** This bug has been marked as a duplicate of bug 68463 ***
Comment 9 Guo Jinxian 2014-07-23 07:43:38 UTC
This bug still able to reproduce on latest -fixes(a0d036b074b4a5a933e37fcb9bdd6b3cc80a0387)

[root@x-hsw27 tests]# time ./kms_setmode --run-subtest clone-exclusive-crtc
IGT-Version: 1.7-g70e6ed9 (x86_64) (Linux: 3.16.0-rc6_drm-intel-fixes_a0d036_20140723+ x86_64)
Testing: clone-exclusive-crtc 2 connector combinations
  Test id#1 CRTC count 2
    CRTC[5] [Pipe A] Mode: 640x480@60Hz Connectors: VGA-1[13] (NC)
Test assertion failure function test_crtc_config, file kms_setmode.c:426:
Failed assertion: errno == EINVAL
Last errno: 13, Permission denied
Subtest clone-exclusive-crtc: FAIL


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.