Bug 76247

Summary: [BDW]igt/pm_rps/min-max-config-loaded fails
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Ben Widawsky <ben>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs, james.ausmus, yi.sun
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg
none
output(IGT_LOG_LEVEL=debug tests/pm_rps) none

Description lu hua 2014-03-17 05:12:06 UTC
Created attachment 95903 [details]
dmesg

System Environment:
--------------------------
Platform: Broadwell
kernel:   (drm-intel-nightly)9d6f0b86d8b45db3aa5a87588c659fa9e896197c

Bug detailed description:
---------------------------
 pm_rps/min-max-config-loaded aborted on  with -queued and -nightly kernel.
Bug 75146 has been fixed on Sandybridge, Ivybridge and Haswell, file this bug to trace new platform.

output:
IGT-Version: 1.6-g8fe0c50 (x86_64) (Linux: 3.14.0-rc6_drm-intel-nightly_b18596_20140314+ x86_64)
Test assertion failure function checkit, file pm_rps.c:116:
Last errno: 2, No such file or directory
Failed assertion: freqs[RPn] <= freqs[MIN]
error: 100 <= 0
Subtest min-max-config-loaded: FAIL
Test assertion failure function do_writeval, file pm_rps.c:102:
Last errno: 22, Invalid argument
Failed assertion: ret != EOF
pm_rps: igt_core.c:566: igt_fail: Assertion `!test_with_subtests || in_fixture' failed.
Aborted (core dumped)

eproduce steps:
---------------------------- 
1. ./pm_rps --run-subtest min-max-config-loaded
Comment 1 Daniel Vetter 2014-03-27 09:36:13 UTC
bdw doesn't have rps support yet ... or the test makes some assumptions which are broken on bdw. Assigning to Ben.
Comment 2 Daniel Vetter 2014-05-22 07:56:00 UTC
Can you please run the pm_rps binary without and options (so that all subtests get run) and attach the entire output of the test? Please also set IGT_LOG_LEVEL=debug for added diagnostics. So

# IGT_LOG_LEVEL=debug tests/pm_rps

There will be lots of output so please attach as a file, not comment.
Comment 3 lu hua 2014-05-22 08:40:19 UTC
Created attachment 99569 [details]
output(IGT_LOG_LEVEL=debug tests/pm_rps)
Comment 4 Ben Widawsky 2014-05-29 01:52:09 UTC
Looking at the log file, I think it's quite possible this is missed down interrupts which is meant to be implemented by Daisy Sun. 

We're expecting a patch for that shortly.
Comment 5 Daniel Vetter 2014-06-18 15:22:39 UTC
Please retest on latest drm-intel-nightly.
Comment 6 lu hua 2014-06-19 06:01:25 UTC
Works well on latest -nightly kernel.
Comment 7 Elizabeth 2017-10-06 14:39:23 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.