Summary: | [IVB/HSW]igt/kms_force_connector fails | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | lu hua <huax.lu> | ||||||
Component: | DRM/Intel | Assignee: | Thomas Wood <thomas.wood> | ||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | intel-gfx-bugs | ||||||
Version: | unspecified | ||||||||
Hardware: | All | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
lu hua
2014-11-04 02:58:03 UTC
Created attachment 109183 [details]
dmesg
I reproduce it on HSW. Run ./kms_flip --run-subtest vblank-vs-modeset-rpm-interruptible then run ./kms_force_connector.
If clean boot then run ./kms_force_connector, it works well.
output:
[root@x-hsw27 tests]# ./kms_flip --run-subtest vblank-vs-modeset-rpm-interruptible
IGT-Version: 1.8-gc049c39 (x86_64) (Linux: 3.18.0-rc3_drm-intel-fixes_dc54e7_20141109+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-modeset-rpm-interruptible on crtc 8, connector 18
1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000
...
vblank-vs-modeset-rpm-interruptible on crtc 8, connector 18: PASSED
Beginning vblank-vs-modeset-rpm-interruptible on crtc 12, connector 18
1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000
..
vblank-vs-modeset-rpm-interruptible on crtc 12, connector 18: PASSED
Beginning vblank-vs-modeset-rpm-interruptible on crtc 16, connector 18
1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000
..
vblank-vs-modeset-rpm-interruptible on crtc 16, connector 18: PASSED
Subtest vblank-vs-modeset-rpm-interruptible: SUCCESS (12.252s)
[root@x-hsw27 tests]# ./kms_force_connector
IGT-Version: 1.8-gc049c39 (x86_64) (Linux: 3.18.0-rc3_drm-intel-fixes_dc54e7_20141109+ x86_64)
Test assertion failure function main, file kms_force_connector.c:118:
Failed assertion: temp->connection == vga_connector->connection
Thomas, can you please take a look at this one? It seems like there's some leftover state when we try to force the vga connector, or something else that gets in the way. Created attachment 109798 [details] [review] lib: fix igt_reset_connectors This patch fixes igt_reset_connectors so that the connector state is reset after correctly after kms_flip. Please test and confirm whether it fixes the issue. (In reply to Thomas Wood from comment #3) > Created attachment 109798 [details] [review] [review] > lib: fix igt_reset_connectors > > This patch fixes igt_reset_connectors so that the connector state is reset > after correctly after kms_flip. Please test and confirm whether it fixes the > issue. Test this patch, it works well. I went ahead and pushed Thomas' patch. commit dad4694b004a65455523abbb0c7f9839d7125dae Author: Thomas Wood <thomas.wood@intel.com> Date: Mon Nov 24 14:16:25 2014 +0000 lib: fix igt_reset_connectors Verified.Fixed. 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.