Bug 80121 - [HSW] igt/pm_rpm DPMS subcases fail
Summary: [HSW] igt/pm_rpm DPMS subcases fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: high normal
Assignee: Paulo Zanoni
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-17 08:24 UTC by Guo Jinxian
Modified: 2017-10-06 14:37 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (115.53 KB, text/plain)
2014-06-17 08:24 UTC, Guo Jinxian
no flags Details
dmesg (90.21 KB, text/plain)
2014-07-17 07:37 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-06-17 08:24:35 UTC
Created attachment 101209 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes. 
But I didn't find good commit

Non-working platforms: HSW

==kernel==
--------------------------
origin/drm-intel-nightly: e9ce9f961282205b5954a0da4e48e96884190a77(fails)
    drm-intel-nightly: 2014y-06m-16d-21h-22m-19s integration manifest
origin/drm-intel-next-queued: 8c0f92e1f87149bd2429015c9d0600a13a34d607(fails)
    drm/i915: Fix comment about our plane remapping on gen2/3
origin/drm-intel-fixes: 223a6f2b975ab35d93270ea1d4fb6e0ac6b27fe6(fails)
    drm/i915/bdw: remove erroneous chv specific workarounds from bdw code

==Bug detailed description==
-----------------------------
igt/pm_rpm some subcases like dpms-lpsp and dpms-non-lpsp fail


Output:
[root@x-hsw26 tests]# ./pm_rpm --run-subtest dpms-lpsp
IGT-Version: 1.7-gd123de6 (x86_64) (Linux: 3.15.0-rc8_drm-intel-next-queued_8c0f92_20140617+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
Test assertion failure function modeset_subtest, file pm_rpm.c:756:
Last errno: 5, Input/output error
Failed assertion: wait_for_suspended()
Subtest dpms-lpsp: FAIL

==Reproduce steps==
---------------------------- 
1. ./pm_rpm --run-subtest dpms-lpsp
Comment 1 Paulo Zanoni 2014-06-23 15:33:26 UTC
This is not really a regression, since the DPMS feature was never enabled on HSW+.

I don't think we should bother skipping these tests on HSW+. Let's keep them failing until we properly merge the feature on HSW.
Comment 2 Paulo Zanoni 2014-07-15 18:29:27 UTC
Closing bug. We merged runtime PM for DPMS support on HSW+, and as a result the DPMS subcases pass now at least on my machine :)

If the bug persists on your machine, please reopen.
Comment 3 Guo Jinxian 2014-07-17 07:37:56 UTC
Created attachment 102965 [details]
dmesg

(In reply to comment #2)
> Closing bug. We merged runtime PM for DPMS support on HSW+, and as a result
> the DPMS subcases pass now at least on my machine :)
> 
> If the bug persists on your machine, please reopen.

The test was skip on latest -nightly(f326cd0fae7e74011d3c0a8bd2be2cd2e2a45407).
[root@x-hsw24 tests]# ./pm_rpm --run-subtest dpms-lpsp
IGT-Version: 1.7-g3f50598 (x86_64) (Linux: 3.16.0-rc5_drm-intel-nightly_f326cd_20140717_debug+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
Test requirement not met in function modeset_subtest, file pm_rpm.c:764:
Test requirement: (!(enable_one_screen_with_type(&ms_data, type)))
Last errno: 5, Input/output error
Subtest dpms-lpsp: SKIP
Comment 4 Paulo Zanoni 2014-07-17 12:56:28 UTC
(In reply to comment #3)
> Created attachment 102965 [details]
> dmesg
> 
> (In reply to comment #2)
> > Closing bug. We merged runtime PM for DPMS support on HSW+, and as a result
> > the DPMS subcases pass now at least on my machine :)
> > 
> > If the bug persists on your machine, please reopen.
> 
> The test was skip on latest
> -nightly(f326cd0fae7e74011d3c0a8bd2be2cd2e2a45407).
> [root@x-hsw24 tests]# ./pm_rpm --run-subtest dpms-lpsp
> IGT-Version: 1.7-g3f50598 (x86_64) (Linux:
> 3.16.0-rc5_drm-intel-nightly_f326cd_20140717_debug+ x86_64)
> Runtime PM support: 1
> PC8 residency support: 0
> Test requirement not met in function modeset_subtest, file pm_rpm.c:764:
> Test requirement: (!(enable_one_screen_with_type(&ms_data, type)))
> Last errno: 5, Input/output error
> Subtest dpms-lpsp: SKIP

That is because you don't have an eDP output on this machine.

The "lpsp" tests require eDP. The "non-lpsp" tests require any non-eDP output (i.e., VGA, DP or HDMI).
Comment 5 Guo Jinxian 2014-07-18 01:34:39 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Created attachment 102965 [details]
> > dmesg
> > 
> > (In reply to comment #2)
> > > Closing bug. We merged runtime PM for DPMS support on HSW+, and as a result
> > > the DPMS subcases pass now at least on my machine :)
> > > 
> > > If the bug persists on your machine, please reopen.
> > 
> > The test was skip on latest
> > -nightly(f326cd0fae7e74011d3c0a8bd2be2cd2e2a45407).
> > [root@x-hsw24 tests]# ./pm_rpm --run-subtest dpms-lpsp
> > IGT-Version: 1.7-g3f50598 (x86_64) (Linux:
> > 3.16.0-rc5_drm-intel-nightly_f326cd_20140717_debug+ x86_64)
> > Runtime PM support: 1
> > PC8 residency support: 0
> > Test requirement not met in function modeset_subtest, file pm_rpm.c:764:
> > Test requirement: (!(enable_one_screen_with_type(&ms_data, type)))
> > Last errno: 5, Input/output error
> > Subtest dpms-lpsp: SKIP
> 
> That is because you don't have an eDP output on this machine.
> 
> The "lpsp" tests require eDP. The "non-lpsp" tests require any non-eDP
> output (i.e., VGA, DP or HDMI).

Test passed on eDP device. Thanks.

[root@x-hswu22 tests]# ./pm_rpm --run-subtest dpms-lpsp
IGT-Version: 1.6-gff3c122 (x86_64) (Linux: 3.16.0-rc5_drm-intel-nightly_f326cd_20140717+ x86_64)
Runtime PM support: 1
PC8 residency support: 1
Subtest dpms-lpsp: SUCCESS
Comment 6 Elizabeth 2017-10-06 14:37:44 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.