]> Git Repo - linux.git/commit - drivers/gpu/drm/i915/intel_display.c
drm/i915: put runtime PM only at the end of intel_mark_idle
authorPaulo Zanoni <[email protected]>
Fri, 21 Feb 2014 16:52:19 +0000 (13:52 -0300)
committerDaniel Vetter <[email protected]>
Wed, 5 Mar 2014 20:30:14 +0000 (21:30 +0100)
commitbb4cdd5345bf344d978e18835583641f2c156ce5
tree358b3b6342157773783e07a333094d0fca2605f3
parentccc7bed05e27a654db1e9e248ce5fb291c12add1
drm/i915: put runtime PM only at the end of intel_mark_idle

Because intel_mark_idle still touches some registers: it needs the
machine to be awake. If you set both the autosuspend and PC8 delays to
zero, you can get a "Device suspended" WARN when gen6_rps_idle touches
registers.

This is not easy to reproduce, but happens once in a while when
running pm_pc8.

Testcase: igt/pm_pc8
Signed-off-by: Paulo Zanoni <[email protected]>
Reviewed-by: Jesse Barnes <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/intel_display.c
This page took 0.073217 seconds and 4 git commands to generate.