Bug 83966 - [HSW]igt/pm_rps some subcases fail
Summary: [HSW]igt/pm_rps 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: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-17 07:09 UTC by Guo Jinxian
Modified: 2017-10-06 14:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (116.61 KB, text/plain)
2014-09-17 07:09 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-09-17 07:09:46 UTC
Created attachment 106411 [details]
dmesg

==System Environment==
--------------------------
Regression: Not sure.
I can not find good commit on both kernel and igt, here has a similar bug 81858 before on other platform.

Non-working platforms: HSW

==kernel==
--------------------------
origin/drm-intel-nightly:ab7f1ab9c4d1c8af46517d60e54eeda9d8673f6a(fails)
    drm-intel-nightly: 2014y-09m-16d-09h-02m-41s UTC integration manifest
origin/drm-intel-next-queued:889dc7e960acde076491806d27e068b391c4a47a(fails)
    drm/i915: Use EIO instead of EAGAIN for sink CRC error.
origin/drm-intel-fixes: d72985765e986f45a28f87d75f3f0ece489b04cc(fails)
    drm/i915: Add limited color range readout for HDMI/DP ports on g4x/vlv/chv


==Bug detailed description==
-----------------------------
igt/pm_rps subcases reset and blocking fail

Output:
[root@x-hsw24 tests]# ./pm_rps --run-subtest blocking
IGT-Version: 1.8-g137877f (x86_64) (Linux: 3.17.0-rc5_drm-intel-nightly_ab7f1a_20140917+ x86_64)
Test assertion failure function emit_store_dword_imm, file pm_rps.c:193:
Failed assertion: batch->ptr == batch->end
Subtest blocking: FAIL (10.001s)
Test assertion failure function load_helper_stop, file pm_rps.c:254:
Failed assertion: igt_wait_helper(&lh.igt_proc) == 0
Subtest blocking: FAIL (20.014s)
[root@x-hsw24 tests]# ./pm_rps --run-subtest reset
IGT-Version: 1.8-g137877f (x86_64) (Linux: 3.17.0-rc5_drm-intel-nightly_ab7f1a_20140917+ x86_64)
Test assertion failure function emit_store_dword_imm, file pm_rps.c:193:
Failed assertion: batch->ptr == batch->end
Subtest reset: FAIL (10.001s)


^CTest assertion failure function load_helper_stop, file pm_rps.c:254:
Failed assertion: igt_wait_helper(&lh.igt_proc) == 0
Last errno: 10, No child processes
Subtest reset: FAIL (5686.556s)
pm_rps: igt_core.c:907: fork_helper_exit_handler: Assertion `helper_process_count == 0' failed.
Aborted (core dumped)

==Reproduce steps==
---------------------------- 
1. ./pm_rps --run-subtest reset
Comment 1 Chris Wilson 2014-09-17 07:21:46 UTC
commit 1244fc6b9bc56cdf1584e919230796082b93f371
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Sep 16 08:17:00 2014 +0100

    igt/pm_rps: Fix STORE_DWORD for pre-gen8
    
    gen8 actually changed the command layout, not just extended the
    relocation value. Oh well.
    
    References: https://bugs.freedesktop.org/show_bug.cgi?id=83915
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 2 Guo Jinxian 2014-09-30 03:35:38 UTC
Verified on latest -nightly(7101d84020f63f1da7e0c5d021cdd6be4d515de5)


[root@x-hsw24 tests]# ./pm_rps --run-subtest reset
IGT-Version: 1.8-g32a0308 (x86_64) (Linux: 3.17.0-rc6_drm-intel-nightly_7101d8_20140929+ x86_64)
Subtest reset: SUCCESS (47.319s)
You have new mail in /var/spool/mail/root
[root@x-hsw24 tests]# ./pm_rps --run-subtest blocking
IGT-Version: 1.8-g32a0308 (x86_64) (Linux: 3.17.0-rc6_drm-intel-nightly_7101d8_20140929+ x86_64)
Subtest blocking: SUCCESS (35.023s)
Comment 3 Elizabeth 2017-10-06 14:35:39 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.