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)
commitbd90123c4973821775d7ffae9891ad36017702a9
treed471c6dcd6cf2f6bb93216a39e12fda880bf73a3
parentfc77dbd34c5c99bce46d40a2491937c3bcbd10af
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: d314cd43 ("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