Bug 81412 - [HSW/BDW psr]igt/kms_psr_sink_crc some subcases fail
Summary: [HSW/BDW psr]igt/kms_psr_sink_crc some subcases fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Rodrigo Vivi
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-16 06:07 UTC by Guo Jinxian
Modified: 2017-10-06 14:37 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (124.92 KB, text/plain)
2014-07-16 06:07 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-07-16 06:07:04 UTC
Created attachment 102896 [details]
dmesg

==System Environment==
--------------------------
Regression: No
the case always fail

Non-working platforms: BDW

==kernel==
--------------------------
origin/drm-intel-nightly: 77820625217fa547586f00be7cae56e5c5e255bf(fails)
    drm-intel-nightly: 2014y-07m-15d-17h-27m-04s integration manifest
origin/drm-intel-next-queued: c8c683d05f05d35c2f0159ae5ee266383819376a(fails)
    ddrm/i915: Make the WRPLL names const
origin/drm-intel-fixes: c6930992948adf0f8fc1f6ff1da51c5002a2cf95(fails)
    Revert "drm/i915: reverse dp link param selection, prefer fast over wide again"

==Bug detailed description==
gt/kms_psr_sink_crc some 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_flip_wait_write_cpu
igt/kms_psr_sink_crc/setdomain_flip_wait_write_gtt
igt/kms_psr_sink_crc/sprite


Output:
[root@x-bdw01 tests]# ./kms_psr_sink_crc --run-subtest blt
IGT-Version: 1.7-g3f50598 (x86_64) (Linux: 3.16.0-rc5_drm-intel-nightly_778206_20140716+ x86_64)
Test assertion failure function test_crc, file kms_psr_sink_crc.c:441:
Failed assertion: strcmp(ref_crc, crc) != 0
Subtest blt: FAIL


==Reproduce steps==
---------------------------- 
1. ./kms_psr_sink_crc --run-subtest blt
Comment 1 Jesse Barnes 2014-08-19 19:58:13 UTC
I think Rodrigo is looking at this area.
Comment 2 Rodrigo Vivi 2014-09-11 15:56:02 UTC
Yeah. Test case has been updated now and BDW is the only platform that I currently expect to see a reasonable results with few failures. So a retest is desired.

On HSW it still badly fais on all cases. So please let it just open for BDW and HSW until PSR is ina good shape.
Comment 3 Rodrigo Vivi 2014-11-26 16:53:32 UTC
Could you please retry this test with currently -nightly?
It should be solved already.
Comment 4 Guo Jinxian 2014-11-27 06:35:01 UTC
(In reply to Rodrigo Vivi from comment #3)
> Could you please retry this test with currently -nightly?
> It should be solved already.

Test skips on latest -nightly(904b8529cd69f98b98d33b533a211003f99fb1cd)


[root@x-hsw24 tests]# ./kms_psr_sink_crc
IGT-Version: 1.8-gd807891 (x86_64) (Linux: 3.18.0-rc6_drm-intel-nightly_904b85_20141127+ x86_64)
Test requirement not met in function main, file kms_psr_sink_crc.c:501:
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
Comment 5 Daniel Vetter 2014-11-27 08:58:08 UTC
You need to manually enable psr, otherwise all psr testcases skip. Can you please retest?
Comment 6 Guo Jinxian 2014-12-01 05:55:41 UTC
(In reply to Daniel Vetter from comment #5)
> You need to manually enable psr, otherwise all psr testcases skip. Can you
> please retest?

Manually enable psr, the test still skips

root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_psr_sink_crc
IGT-Version: 1.7-g5c7bcb1 (x86_64) (Linux: 3.18.0-rc6_drm-intel-nightly_0db9cf_20141201+ x86_64)
Test requirement not met in function __real_main586, file kms_psr_sink_crc.c:596:
Test requirement: psr_sink_support(&data)
Subtest page_flip: SKIP
Subtest mmap_cpu: SKIP
Subtest mmap_gtt: SKIP
Subtest mmap_gtt_no_busy: SKIP
Subtest mmap_gtt_waiting_no_busy: SKIP
Subtest setdomain_wait_write_gtt: SKIP
Subtest setdomain_wait_write_cpu: SKIP
Subtest blt: SKIP
Subtest render: SKIP
Subtest context: SKIP
Subtest page_flip_and_mmap_cpu: SKIP
Subtest page_flip_and_mmap_gtt: SKIP
Subtest page_flip_and_blt: SKIP
Subtest page_flip_and_render: SKIP
Subtest page_flip_and_context: SKIP
Subtest cursor_move: SKIP
Subtest sprite: SKIP
(In reply to Daniel Vetter from comment #5)
> You need to manually enable psr, otherwise all psr testcases skip. Can you
> please retest?


Manually enable psr, tests pass on latest -nightly(0db9cf7742874ee2c09a35b640c1bb04cb379eb6)

[root@x-bdw02 ~]# cd /GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests/
[root@x-bdw02 tests]# ./kms_psr_sink_crc
IGT-Version: 1.8-gdbac905 (x86_64) (Linux: 3.18.0-rc6_drm-intel-nightly_0db9cf_20141201+ x86_64)
Subtest primary_page_flip: SUCCESS (3.578s)
Subtest primary_mmap_gtt: SUCCESS (2.819s)
Waiting 10s...
Subtest primary_mmap_gtt_waiting: SUCCESS (13.187s)
Subtest primary_mmap_cpu: SUCCESS (2.876s)
Subtest primary_blt: SUCCESS (2.852s)
Subtest primary_render: SUCCESS (2.864s)
Subtest sprite_mmap_gtt: SUCCESS (2.817s)
Waiting 10s...
Subtest sprite_mmap_gtt_waiting: SUCCESS (13.184s)
Subtest sprite_mmap_cpu: SUCCESS (2.819s)
Test requirement not met in function get_sink_crc, file kms_psr_sink_crc.c:250:
Test requirement: ret > 0
Last errno: 110, Connection timed out
Subtest sprite_blt: SKIP (1.473s)
Subtest sprite_render: SUCCESS (3.106s)
Subtest sprite_plane_move: SUCCESS (2.834s)
Subtest sprite_plane_onoff: SUCCESS (2.916s)
Subtest cursor_mmap_gtt: SUCCESS (2.817s)
Waiting 10s...
Subtest cursor_mmap_gtt_waiting: SUCCESS (13.180s)
Subtest cursor_mmap_cpu: SUCCESS (2.825s)
Subtest cursor_blt: SUCCESS (2.823s)
Subtest cursor_render: SUCCESS (2.819s)
Subtest cursor_plane_move: SUCCESS (2.822s)
Subtest cursor_plane_onoff: SUCCESS (2.866s)
Comment 7 Elizabeth 2017-10-06 14:37:09 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.