Created attachment 104652 [details] dmesg ==System Environment== -------------------------- Regression: No. This cases always fail 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_psr_sink_crc subcases fail Case list: igt/kms_psr_sink_crc/blt igt/kms_psr_sink_crc/context igt/kms_psr_sink_crc/cursor_move igt/kms_psr_sink_crc/mmap_cpu igt/kms_psr_sink_crc/mmap_gtt igt/kms_psr_sink_crc/mmap_gtt_no_busy igt/kms_psr_sink_crc/mmap_gtt_waiting_no_busy igt/kms_psr_sink_crc/page_flip igt/kms_psr_sink_crc/page_flip_and_blt igt/kms_psr_sink_crc/page_flip_and_context igt/kms_psr_sink_crc/page_flip_and_mmap_cpu igt/kms_psr_sink_crc/page_flip_and_mmap_gtt igt/kms_psr_sink_crc/page_flip_and_render igt/kms_psr_sink_crc/render igt/kms_psr_sink_crc/setdomain_wait_write_cpu igt/kms_psr_sink_crc/setdomain_wait_write_gtt Output: [root@x-bsw01 tests]# ./kms_psr_sink_crc --run-subtest blt IGT-Version: 1.7-g5c7bcb1 (x86_64) (Linux: 3.16.0_drm-intel-nightly_2b6e6b_20140815+ x86_64) Test assertion failure function test_crc, file kms_psr_sink_crc.c:338: Failed assertion: wait_psr_entry(data, 10) Subtest blt: FAIL [root@x-bsw01 tests]# You have mail in /var/spool/mail/root [root@x-bsw01 tests]# dmesg -r|egrep ""<[1-4]>""|grep drm <3>[ 406.826068] [drm:intel_dp_start_link_train] *ERROR* failed to enable link training <3>[ 406.846198] [drm:intel_dp_complete_link_train] *ERROR* failed to start channel equalization <4>[ 406.851065] WARNING: CPU: 0 PID: 3969 at drivers/gpu/drm/i915/intel_display.c:10650 intel_modeset_check_state+0x320/0x611 [i915]() <4>[ 406.851073] Modules linked in: ip6table_filter ip6_tables ipv6 iptable_filter ip_tables ebtable_nat ebtables x_tables dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic serio_raw pcspkr snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep r8169 snd_pcm snd_timer snd soundcore battery ac option usb_wwan usbserial i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea <4>[ 406.851123] CPU: 0 PID: 3969 Comm: kms_psr_sink_cr Tainted: G W 3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436 <4>[ 406.851329] [<ffffffffa001818b>] ? drm_mode_set_config_internal+0x48/0xbd [drm] <4>[ 406.851346] [<ffffffffa001bba6>] ? drm_mode_setcrtc+0x3e6/0x48b [drm] <4>[ 406.851361] [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm] <4>[ 406.851388] [<ffffffffa001b7c0>] ? drm_mode_setplane+0x16d/0x16d [drm] <4>[ 406.851402] [<ffffffffa000fda3>] ? drm_gem_vm_close+0x2a/0x4b [drm] <3>[ 406.859437] [drm:intel_pipe_config_compare] *ERROR* mismatch in has_dp_encoder (expected 1, found 0) <4>[ 406.859486] WARNING: CPU: 0 PID: 3969 at drivers/gpu/drm/i915/intel_display.c:10720 check_crtc_state+0xa32/0xa6a [i915]() <4>[ 406.859493] Modules linked in: ip6table_filter ip6_tables ipv6 iptable_filter ip_tables ebtable_nat ebtables x_tables dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic serio_raw pcspkr snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep r8169 snd_pcm snd_timer snd soundcore battery ac option usb_wwan usbserial i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea <4>[ 406.859559] CPU: 0 PID: 3969 Comm: kms_psr_sink_cr Tainted: G W 3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436 <4>[ 406.859798] [<ffffffffa001818b>] ? drm_mode_set_config_internal+0x48/0xbd [drm] <4>[ 406.859814] [<ffffffffa001bba6>] ? drm_mode_setcrtc+0x3e6/0x48b [drm] <4>[ 406.859829] [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm] <4>[ 406.859855] [<ffffffffa001b7c0>] ? drm_mode_setplane+0x16d/0x16d [drm] <4>[ 406.859869] [<ffffffffa000fda3>] ? drm_gem_vm_close+0x2a/0x4b [drm] <3>[ 422.387135] [drm:wait_panel_status] *ERROR* Panel status timeout: status a0000002 control abcd0000 <4>[ 422.409175] WARNING: CPU: 3 PID: 3969 at drivers/gpu/drm/i915/intel_dp.c:3263 chv_post_disable_dp+0x54/0x10f [i915]() <4>[ 422.409204] Modules linked in: ip6table_filter ip6_tables ipv6 iptable_filter ip_tables ebtable_nat ebtables x_tables dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic serio_raw pcspkr snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep r8169 snd_pcm snd_timer snd soundcore battery ac option usb_wwan usbserial i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea <4>[ 422.409210] CPU: 3 PID: 3969 Comm: kms_psr_sink_cr Tainted: G W 3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436 <4>[ 422.409445] [<ffffffffa001818b>] ? drm_mode_set_config_internal+0x48/0xbd [drm] <4>[ 422.409453] [<ffffffffa005dab1>] ? restore_fbdev_mode+0xa9/0xc2 [drm_kms_helper] <4>[ 422.409461] [<ffffffffa005dae7>] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x1d/0x34 [drm_kms_helper] <4>[ 422.409467] [<ffffffffa005ee21>] ? drm_fb_helper_set_par+0x3a/0x59 [drm_kms_helper] <4>[ 422.409539] [<ffffffffa001094d>] ? drm_ioctl+0x2be/0x3bc [drm] Reproduce steps: ------------------------- 1. ./kms_psr_sink_crc --run-subtest blt
*** Bug 81988 has been marked as a duplicate of this bug. ***
This test case has been updated and should just skip on BSW since this platform doesn't support PSR yet. Could you please retest with latest intel-gpu-tools master?
(In reply to comment #2) > This test case has been updated and should just skip on BSW since this > platform doesn't support PSR yet. > > Could you please retest with latest intel-gpu-tools master? With igt(62f4d56676468cc6b7e1fb900ccf120d68352f65), test still failed. but the dmesg warning unable to reproduce. [root@x-bsw01 tests]# ./kms_psr_sink_crc --run-subtest blt IGT-Version: 1.8-g107151c (x86_64) (Linux: 3.17.0-rc4_drm-intel-nightly_72faa6_20140911+ x86_64) Test assertion failure function test_crc, file kms_psr_sink_crc.c:337: Failed assertion: wait_psr_entry(data, 10) Subtest blt: FAIL (11.708s) [root@x-bsw01 tests]# dmesg -r|egrep "<[1-4]>"|grep drm [root@x-bsw01 tests]#
Please paste the output of i915_edp_psr_status of debugfs here.
Created attachment 106488 [details] i915 edp psr status (In reply to comment #4) > Please paste the output of i915_edp_psr_status of debugfs here. All tests are skipped on latest -nightly() [root@x-bsw01 tests]# ./kms_psr_sink_crc IGT-Version: 1.8-g137877f (x86_64) (Linux: 3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ x86_64) Test requirement not met in function __real_main471, file kms_psr_sink_crc.c:488: Test requirement: !(!psr_enabled(&data)) Subtest primary_page_flip: SKIP Subtest primary_mmap_gtt: SKIP Subtest primary_mmap_gtt_waiting: SKIP Subtest primary_mmap_cpu: SKIP Subtest primary_blt: SKIP Subtest primary_render: SKIP Subtest sprite_mmap_gtt: SKIP Subtest sprite_mmap_gtt_waiting: SKIP Subtest sprite_mmap_cpu: SKIP Subtest sprite_blt: SKIP Subtest sprite_render: SKIP Subtest sprite_plane_move: SKIP Subtest sprite_plane_onoff: SKIP Subtest cursor_mmap_gtt: SKIP Subtest cursor_mmap_gtt_waiting: SKIP Subtest cursor_mmap_cpu: SKIP Subtest cursor_blt: SKIP Subtest cursor_render: SKIP Subtest cursor_plane_move: SKIP Subtest cursor_plane_onoff: SKIP
Yeah, this is the expected behaviour since PSR isn't implemented on CHV/BSW yet. Closing this bug for now. Thanks.
(In reply to comment #6) > Yeah, this is the expected behaviour since PSR isn't implemented on CHV/BSW > yet. > > Closing this bug for now. Thanks. Verified.
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.