]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove special case for power well 1/MISC_IO state verification
authorImre Deak <imre.deak@intel.com>
Fri, 9 Nov 2018 14:58:22 +0000 (16:58 +0200)
committerImre Deak <imre.deak@intel.com>
Wed, 14 Nov 2018 11:45:36 +0000 (13:45 +0200)
commitb699125600a481d34855792ecad485df97e1033a
treed8464232a8a937d43e9fa4d047bf51c28422ffe2
parent9b80cfab8809c76a4c175741912f684825bed5ec
drm/i915: Remove special case for power well 1/MISC_IO state verification

Even though PW#1 and the MISC_IO power wells are managed by the
DMC firmware (toggled dynamically if conditions allow it) from the
driver's POV they are always on if the display core is initialized
(always restored by DMC to the enabled state after exiting from DC5/6
for instance b/c of MMIO access). Accordingly we can just mark them as
always-on and remove the special casing for them during state
verification (thus enabling verification for these power wells too).

Cc: Ramalingam C <ramalingam.c@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181109145822.15446-3-imre.deak@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c