Bug 89525 - [ILK]igt/kms_psr_sink_crc some subcases fail
Summary: [ILK]igt/kms_psr_sink_crc some subcases fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-11 05:55 UTC by Ding Heng
Modified: 2017-01-10 17:30 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (94.93 KB, text/plain)
2015-03-11 05:55 UTC, Ding Heng
no flags Details
dmesg_new (122.87 KB, text/plain)
2015-03-12 02:47 UTC, Ding Heng
no flags Details

Description Ding Heng 2015-03-11 05:55:26 UTC
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
Comment 1 Chris Wilson 2015-03-11 08:54:21 UTC
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
Comment 2 Ding Heng 2015-03-12 02:46:47 UTC
(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.
Comment 3 Ding Heng 2015-03-12 02:47:23 UTC
Created attachment 114239 [details]
dmesg_new
Comment 4 Jesse Barnes 2015-03-12 22:12:48 UTC
Looks like this was a test bug; PSR isn't supported on ILK and it was reporting the wrong status anyway.
Comment 5 Gordon Jin 2015-03-16 07:20:09 UTC
my understanding is this is igt test bug, which has been fixed by Chris (in comment#1).
Comment 6 Jari Tahvanainen 2017-01-10 17:30:49 UTC
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.