From: Imre Deak Date: Wed, 10 Sep 2014 15:16:54 +0000 (+0300) Subject: drm/i915: vlv: fix gunit HW state corruption during S4 suspend X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~135^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a024d2e6f11836493d9e1751fca7b3c50fbfd215;p=pandora-kernel.git drm/i915: vlv: fix gunit HW state corruption during S4 suspend During S4 freeze we don't call intel_suspend_complete(), which would save the gunit HW state, but during S4 thaw/restore events we call intel_resume_prepare() which restores it, thus ending up in a corrupted HW state. Fix this by calling intel_suspend_complete() from the corresponding freeze_late event handler. The issue was introduced in commit 016970beb05da6285c2f3ed2bee1c676cb75972e Author: Sagar Kamble Date: Wed Aug 13 23:07:06 2014 +0530 CC: Sagar Kamble Signed-off-by: Imre Deak Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter Signed-off-by: Jani Nikula --- Reading git-diff-tree failed