Created attachment 94258 [details] dmesg System Environment: -------------------------- Platform: Pieview kernel: (drm-intel-nightly)1be8f2b4dd6d3db00af24d4891c82d2650bd282d Bug detailed description: --------------------------- It fails on Pineview with -fixes and -nightly kernel. The latest known good commit: 22533b1eb038dbf4d3dc79945b81cefc4aac64be The latest known bad commit: 959783684e2010326d91db2aa55f424f7e041c84 run ./kms_cursor_crc --run-subtest cursor-black-invisible-offscreen output: IGT-Version: 1.5-g9597836 (i686) (Linux: 3.13.0_drm-intel-nightly_1be8f2_20140218+ i686) Test assertion failure function igt_wait_for_vblank, file igt_display.c:40: Last errno: 22, Invalid argument Failed assertion: drmWaitVBlank(drm_fd, &wait_vbl) == 0 Subtest cursor-black-invisible-offscreen: FAIL
Based on a hunch I tested the following commit on my gen2: commit d435829ae9702c9f777b68227e43eafd702a8031 Author: Damien Lespiau <damien.lespiau@intel.com> Date: Wed Feb 5 17:14:12 2014 +0000 kms_cursor_crc: Port the test to the new modeset API Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> and it does look like the culprit. My gen4 still seems to pass, so the problem might be related to the limited pipe->LVDS/VGA connection options on gen2. Assigning this one to Damien.
Oh my, that means I need to setup the PNV I have around.
Simply restrict lvds/edp to pipe B for testing ;-)
I think I don't handle correctly the error when the encoder doesn't have the pipe in possible_crtcs in that new code.
I believe this should be fixed by this: commit a461515b334ebb7782ee15e31f943e7a6753d845 Author: Ville Syrjälä <ville.syrjala@linux.intel.com> Date: Fri Apr 25 15:27:57 2014 +0300 kms_cursor_crc: Fix the test on platforms where the pipe->port mapping has restrictions Please re-test.
It has been fixed.
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.