Bug 86186 - [BDW]igt/pm_rpm pc8 subcases fail
Summary: [BDW]igt/pm_rpm pc8 subcases fail
Status: CLOSED NOTOURBUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-12 06:05 UTC by lu hua
Modified: 2015-05-14 01:48 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (114.32 KB, text/plain)
2014-11-12 06:05 UTC, lu hua
no flags Details
dmesg_update (118.54 KB, text/plain)
2014-11-14 08:54 UTC, lu hua
no flags Details

Description lu hua 2014-11-12 06:05:24 UTC
Created attachment 109318 [details]
dmesg

==System Environment==
--------------------------
Regression: not sure, it has bug 85314
Non-working platforms: BDW

==kernel==
--------------------------
drm-intel-nightly/9a7620f405895714b4e0dc3181a8328b4406287e

==Bug detailed description==
pm_rpm pc8 subcases fail on BDW with -nightly kernel. bug 85314 has been closed, but I can't reproduce the pass.
case list:
igt/pm_rpm/gem-execbuf-stress-pc8
igt/pm_rpm/modeset-pc8-residency-stress
igt/pm_rpm/pc8-residency

run ./pm_rpm --run-subtest gem-execbuf-stress-pc8
output:
IGT-Version: 1.8-gc049c39 (x86_64) (Linux: 3.18.0-rc3_drm-intel-nightly_9a7620_20141112+ x86_64)
Runtime PM support: 1
PC8 residency support: 1
Test assertion failure function gem_execbuf_stress_subtest, file pm_rpm.c:1304:
Failed assertion: pc8_plus_residency_changed(120)
Subtest gem-execbuf-stress-pc8: FAIL (121.192s)

test https://bugs.freedesktop.org/show_bug.cgi?id=85314#c5 system env, output:
IGT-Version: 1.8-geae9f72 (x86_64) (Linux: 3.18.0-rc1_drm-intel-nightly_6f628c_20141024+ x86_64)
Runtime PM support: 1
PC8 residency support: 1
Test assertion failure function gem_execbuf_stress_subtest, file pm_rpm.c:1305:
Failed assertion: pc8_plus_residency_changed(120)
Subtest gem-execbuf-stress-pc8: FAIL (120.493s)

==Reproduce steps==
---------------------------- 
1. ./pm_rpm --run-subtest gem-execbuf-stress-pc8
Comment 1 Paulo Zanoni 2014-11-12 13:02:29 UTC
To reach PC8 residencies, the machine has to be completely properly configured, which involves not just the graphics drivers, but all the device drivers on the system, and some pre-production machines may even need BIOS tweaks.

This was discussed a lot with QA last year - on the HSW ULT development cycle -, I wonder if you still have some BKM for that written somewhere. Maybe you could try to talk with Wendy about that.
Comment 2 lu hua 2014-11-14 08:53:45 UTC
I do following BKM steps, it still fails.

IGT-Version: 1.8-g6ee3337 (x86_64) (Linux: 3.18.0-rc4_drm-intel-nightly_22ba72_20141114+ x86_64)
Runtime PM support: 1
PC8 residency support: 1
Test assertion failure function gem_execbuf_stress_subtest, file pm_rpm.c:1304:
Failed assertion: pc8_plus_residency_changed(120)
Subtest gem-execbuf-stress-pc8: FAIL (121.191s)
Comment 3 lu hua 2014-11-14 08:54:10 UTC
Created attachment 109450 [details]
dmesg_update
Comment 4 lu hua 2014-11-14 08:59:09 UTC
root@x-bdw05:/home/testframework# cat /sys/kernel/debug/dri/0/i915_fbc_status
FBC enabled
root@x-bdw05:/home/testframework# cat /sys/kernel/debug/dri/0/i915_edp_psr_status
Sink_Support: no
Source_OK: no
Enabled: no
Active: no
Busy frontbuffer bits: 0x000
Re-enable work scheduled: no
HW Enabled & Active bit: no
Performance_Counter: 0

It looks like system env is not correct, I will check it again.
Comment 5 lu hua 2014-11-17 08:40:16 UTC
This machine update BIOS and CPU in recently, the BIOS is V100.
I pass on our another machine without update.
The good machine's BIOS is V87.
Comment 6 lu hua 2014-11-17 08:46:45 UTC
(In reply to lu hua from comment #5)
> This machine update BIOS and CPU in recently, the BIOS is V100.
> I pass on our another machine without update.
> The good machine's BIOS is V87.

The bad machine is same as https://bugs.freedesktop.org/show_bug.cgi?id=85314#c5.
Comment 7 Daniel Vetter 2014-11-18 09:49:21 UTC
Sounds like this is a setup issue or broken board - we have a machine that actually works, so closing as not our bug.


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.