From: Imre Deak Date: Mon, 18 Aug 2014 11:42:45 +0000 (+0300) Subject: drm/i915: make sure VDD is turned off during system suspend X-Git-Tag: omap-for-v3.17/fixes-against-rc2~20^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07f9cd0b3870e306ddc5abcc3af2d748c9bd378c;p=pandora-kernel.git drm/i915: make sure VDD is turned off during system suspend Atm we may leave eDP VDD enabled during system suspend after the CRTCs are disabled through an HPD->DPCD read event. So disable VDD during suspend at a point when no HPDs can occur. Note that runtime suspend doesn't have the same problem, since there the RPM ref held by VDD provides already the needed serialization. v2: - add note to commit message about the runtime suspend path (Ville) - use edp_panel_vdd_off_sync(), so we can keep the WARN in edp_panel_vdd_off() (Ville) v3: - rebased on -fixes (for_each_intel_encoder()->list_for_each_entry()) (Imre) Signed-off-by: Imre Deak Reviewed-by: Ville Syrjälä (v2) Cc: stable@vger.kernel.org (3.16+) [Jani: fix sparse warning reported by Fengguang Wu] Signed-off-by: Jani Nikula --- Reading git-diff-tree failed