]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/skl: Fix power domain suspend sequence
authorImre Deak <imre.deak@intel.com>
Mon, 29 Feb 2016 20:49:02 +0000 (22:49 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 2 Mar 2016 12:38:43 +0000 (14:38 +0200)
commit970dde8a9bb4118c82e51a7377939c67aaf0ca04
treed471c6dcd6cf2f6bb93216a39e12fda880bf73a3
parentb4c6e182f5b636364ef191076c0c02fb76bae986
drm/i915/skl: Fix power domain suspend sequence

During system suspend we need to first disable power wells then
unitialize the display core. In case power well support is disabled we
did this in the wrong order, so fix this up.

Fixes: c596cfbe ("drm/i915: fix handling of the disable_power_well module option")
CC: stable@vger.kernel.org
CC: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
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/1456778945-5411-1-git-send-email-imre.deak@intel.com
(cherry picked from commit 2622d79bd9d18fd04b650234e6a218c5f95cf308)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_runtime_pm.c