drm/i915/skl: disable DC states before display core init/uninit
authorImre Deak <imre.deak@intel.com>
Wed, 4 Nov 2015 17:24:17 +0000 (19:24 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 17 Nov 2015 18:55:16 +0000 (20:55 +0200)
commitd26fa1d51f12c015af336f4779af722aff89e175
treef5e151777285989c9ad2db5c019d9558846b0c3e
parent13ae3a0d5b139aded05b1f071bb147ce99d6299b
drm/i915/skl: disable DC states before display core init/uninit

We need to disable the DC states during display core init to sanitize
the HW state we inherit from the BIOS. We need to disable it during
display core uninit too, since the power well framework will leave it
enabled (since we get to the display core uninit step with all power
domains disabled already).

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1446657859-9598-9-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c