]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0670766832e7090229dfcdfdf5630cbb9ffb3d3c
treef5e151777285989c9ad2db5c019d9558846b0c3e
parent97aa0a1261e7e4be74587f58d3a76dead8a011c8
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