Created attachment 114212 [details] dmesg ==System Environment== -------------------------- Regression: No, I can't find a good commit. Non-working platforms: ILK ==kernel== -------------------------- origin/drm-intel-nightly: c09a3b7f343bc87a132ef107cb263e57f8246b88(2015-03-10 ) ==Bug detailed description== ----------------------------- [root@x-pk5 tests]# ./kms_psr_sink_crc --run-subtest sprite_mmap_gtt_waiting IGT-Version: 1.9-g07be8fe (x86_64) (Linux: 4.0.0-rc3_drm-intel-nightly_c09a3b_20150310+ x86_64) Test assertion failure function psr_enabled, file kms_psr_sink_crc.c:191: Failed assertion: ret != 0 error: 0 == 0 Test kms_psr_sink_crc failed. **** DEBUG **** (kms_psr_sink_crc:3811) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() Test requirement passed: fd >= 0 Test requirement passed: fd >= 0 Test requirement passed: drmSetMaster(fd) == 0 VT: graphics mode set (mode was 0x0) Test requirement passed: file Test assertion failure function psr_enabled, file kms_psr_sink_crc.c:191: Failed assertion: ret != 0 error: 0 == 0 **** END **** Subtest sprite_mmap_gtt_waiting: FAIL All subcases failed the similar way. affected cases: igt/kms_psr_sink_crc/cursor_blt igt/kms_psr_sink_crc/cursor_mmap_cpu igt/kms_psr_sink_crc/cursor_mmap_gtt igt/kms_psr_sink_crc/cursor_mmap_gtt_waiting igt/kms_psr_sink_crc/cursor_plane_move igt/kms_psr_sink_crc/cursor_plane_onoff igt/kms_psr_sink_crc/cursor_render igt/kms_psr_sink_crc/primary_blt igt/kms_psr_sink_crc/primary_mmap_cpu igt/kms_psr_sink_crc/primary_mmap_gtt igt/kms_psr_sink_crc/primary_mmap_gtt_waiting igt/kms_psr_sink_crc/primary_page_flip igt/kms_psr_sink_crc/primary_render igt/kms_psr_sink_crc/sprite_blt igt/kms_psr_sink_crc/sprite_mmap_cpu igt/kms_psr_sink_crc/sprite_mmap_gtt igt/kms_psr_sink_crc/sprite_mmap_gtt_waiting igt/kms_psr_sink_crc/sprite_plane_move igt/kms_psr_sink_crc/sprite_plane_onoff igt/kms_psr_sink_crc/sprite_render ==Reproduce steps== ---------------------------- 1. /kms_psr_sink_crc --run-subtest sprite_mmap_gtt_waiting
commit f59935c0ce878d20f1a34ae814a778bf476c36f8 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Mar 11 08:40:23 2015 +0000 igt/kms_psr_sink_crc: Prettify i915_edp_psr_status failures Change the formatting asserts into requires and add the contents into the debug log. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89525
(In reply to Chris Wilson from comment #1) > commit f59935c0ce878d20f1a34ae814a778bf476c36f8 > Author: Chris Wilson <chris@chris-wilson.co.uk> > Date: Wed Mar 11 08:40:23 2015 +0000 > > igt/kms_psr_sink_crc: Prettify i915_edp_psr_status failures > > Change the formatting asserts into requires and add the contents into > the debug log. > > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89525 ./kms_psr_sink_crc --run-subtest sprite_mmap_gtt_waiting IGT-Version: 1.9-gf59935c (x86_64) (Linux: 4.0.0-rc3_drm-intel-nightly_f72a97_20150312+ x86_64) Test requirement not met in function psr_enabled, file kms_psr_sink_crc.c:202: Test requirement: ret == 1 && strcmp(buf, "yes") == 0 Sink_Support: PSR not supported Subtest sprite_mmap_gtt_waiting: SKIP [1]+ Exit 1 xinit [root@x-pk5 tests]# uname -a Linux x-pk5 4.0.0-rc3_drm-intel-nightly_f72a97_20150312+ #120 SMP Thu Mar 12 10:01:10 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux case still fail.
Created attachment 114239 [details] dmesg_new
Looks like this was a test bug; PSR isn't supported on ILK and it was reporting the wrong status anyway.
my understanding is this is igt test bug, which has been fixed by Chris (in comment#1).
Closing verified+fixed.
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.