Bug 82646 - [BSW]igt/kms_mmio_vs_cs_flip subcases timeout
Summary: [BSW]igt/kms_mmio_vs_cs_flip subcases timeout
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-15 05:24 UTC by Guo Jinxian
Modified: 2017-10-06 14:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (125.66 KB, text/plain)
2014-08-15 05:24 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-08-15 05:24:47 UTC
Created attachment 104650 [details]
dmesg

==System Environment==
--------------------------
Regression: No.
This case always timeout

Non-working platforms: BSW

==kernel==
--------------------------
origin/drm-intel-nightly: 2b6e6b9c29dbdaf596cad99877384af8b406d103(fails)
    drm-intel-nightly: 2014y-08m-14d-22h-50m-42s integration manifest
origin/drm-intel-next-queued: 4ed91096881449012b14b1e879f40b4a37533e0e(fails)
    drm/i915: Track cursor changes as frontbuffer tracking flushes
origin/drm-intel-fixes: 103ae732ad26141515f109c80b5c1ced16e457c3(fails)
    drm/i915: Don't try to enable cursor from setplane when crtc is disabled

==Bug detailed description==
-----------------------------
igt/kms_mmio_vs_cs_flip subcases timeout

Case list:
igt/kms_mmio_vs_cs_flip/setcrtc_vs_cs_flip
igt/kms_mmio_vs_cs_flip/setplane_vs_cs_flip


Output:
[root@x-bsw01 tests]# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip
IGT-Version: 1.7-g5c7bcb1 (x86_64) (Linux: 3.16.0_drm-intel-nightly_2b6e6b_20140815+ x86_64)
Subtest setcrtc_vs_cs_flip: TIMEOUT


Reproduce steps:
-------------------------
1. ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip
Comment 1 Jani Nikula 2014-09-10 15:46:16 UTC
Please re-test on current nightly.
Comment 2 Jesse Barnes 2014-12-05 20:07:35 UTC
Jinxian?
Comment 3 Guo Jinxian 2014-12-08 07:42:41 UTC
(In reply to Jani Nikula from comment #1)
> Please re-test on current nightly.

Test skips on latest -nightly(bfdd01aa1825aa0068f9236b21362b550f6d630f)


root@x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip
IGT-Version: 1.8-g819e68f (x86_64) (Linux: 3.18.0-rc7_drm-intel-nightly_bfdd01_20141208+ x86_64)
Test requirement not met in function run_crtc_test_for_pipe, file kms_mmio_vs_cs_flip.c:504:
Test requirement: valid_tests
no valid crtc/connector combinations found
Subtest setcrtc_vs_cs_flip: SKIP (12.485s)
Comment 4 Ville Syrjala 2014-12-08 14:21:12 UTC
(In reply to Guo Jinxian from comment #3)
> (In reply to Jani Nikula from comment #1)
> > Please re-test on current nightly.
> 
> Test skips on latest -nightly(bfdd01aa1825aa0068f9236b21362b550f6d630f)
> 
> 
> root@x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#
> ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip
> IGT-Version: 1.8-g819e68f (x86_64) (Linux:
> 3.18.0-rc7_drm-intel-nightly_bfdd01_20141208+ x86_64)
> Test requirement not met in function run_crtc_test_for_pipe, file
> kms_mmio_vs_cs_flip.c:504:
> Test requirement: valid_tests
> no valid crtc/connector combinations found
> Subtest setcrtc_vs_cs_flip: SKIP (12.485s)

Plug in a display.
Comment 5 Guo Jinxian 2014-12-09 08:47:58 UTC
(In reply to Ville Syrjala from comment #4)
> (In reply to Guo Jinxian from comment #3)
> > (In reply to Jani Nikula from comment #1)
> > > Please re-test on current nightly.
> > 
> > Test skips on latest -nightly(bfdd01aa1825aa0068f9236b21362b550f6d630f)
> > 
> > 
> > root@x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#
> > ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip
> > IGT-Version: 1.8-g819e68f (x86_64) (Linux:
> > 3.18.0-rc7_drm-intel-nightly_bfdd01_20141208+ x86_64)
> > Test requirement not met in function run_crtc_test_for_pipe, file
> > kms_mmio_vs_cs_flip.c:504:
> > Test requirement: valid_tests
> > no valid crtc/connector combinations found
> > Subtest setcrtc_vs_cs_flip: SKIP (12.485s)
> 
> Plug in a display.
If only connect eDP, test result skips

root@x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip
IGT-Version: 1.8-g819e68f (x86_64) (Linux: 3.18.0_drm-intel-nightly_34d267_20141209+ x86_64)
Test requirement not met in function run_crtc_test_for_pipe, file kms_mmio_vs_cs_flip.c:504:
Test requirement: valid_tests
no valid crtc/connector combinations found
Subtest setcrtc_vs_cs_flip: SKIP (12.489s)
root@x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./testdisplay -i
Connectors:
id      encoder status          type    size (mm)       modes
29      28      connected       eDP     280x160         1
  modes:
  name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot flags type clock
[0]  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
22      0       disconnected    HDMI-A  0x0             0
27      0       disconnected    DP      0x0             0
35      0       disconnected    HDMI-A  0x0             0
37      0       disconnected    DP      0x0             0

CRTCs:
id      fb      pos     size
8       0       (0,0)   (0x0)
   0 0 0 0 0 0 0 0 0 0x0 0x0 0
13      39      (0,0)   (1920x1080)
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
18      0       (0,0)   (0x0)
   0 0 0 0 0 0 0 0 0 0x0 0x0 0

Connected a DP moniter, the result failed

root@x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip
IGT-Version: 1.8-g819e68f (x86_64) (Linux: 3.18.0_drm-intel-nightly_34d267_20141209+ x86_64)

Test assertion failure function test_crtc, file kms_mmio_vs_cs_flip.c:471:
Failed assertion: igt_crc_equal(&ref_crc, &crc)
Subtest setcrtc_vs_cs_flip: FAIL (87.424s)
Comment 6 Ville Syrjala 2014-12-09 18:45:51 UTC
OK, the test was a bit wrong, and CRCs are apparently unstable on CHV. Please re-test with latest i-g-t and I think the problem should be gone.
Comment 7 Guo Jinxian 2014-12-11 07:16:14 UTC
(In reply to Ville Syrjala from comment #6)
> OK, the test was a bit wrong, and CRCs are apparently unstable on CHV.
> Please re-test with latest i-g-t and I think the problem should be gone.

Test passes on latest -nightly(34d267c2ba9c0845432baf959a2c4deed87f3ee4) and i-g-t(b6f68c10b4ee2b730baeb8129aba36b5210ac291)


root@x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip
IGT-Version: 1.8-gb6f68c1 (x86_64) (Linux: 3.18.0_drm-intel-nightly_34d267_20141210+ x86_64)
Subtest setcrtc_vs_cs_flip: SUCCESS (13.241s)
Comment 8 Elizabeth 2017-10-06 14:36:41 UTC
Closing old verified.


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.