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)
committerImre Deak <imre.deak@intel.com>
Tue, 1 Mar 2016 17:10:56 +0000 (19:10 +0200)
commit2622d79bd9d18fd04b650234e6a218c5f95cf308
treed157d501426df1484ab5ee432a0ad9a9e947822b
parentf85db0590dd8601a1fc513a40dd002c3bdf56b84
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
drivers/gpu/drm/i915/intel_runtime_pm.c