From: Imre Deak Date: Fri, 18 Apr 2014 13:35:02 +0000 (+0300) Subject: drm/i915: vlv: factor out vlv_force_gfx_clock and check for pending force-off X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~56^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=650ad970a39f8b6164fe8613edc150f585315289;p=pandora-kernel.git drm/i915: vlv: factor out vlv_force_gfx_clock and check for pending force-off This will be needed by the VLV runtime PM helpers too, so factor it out. Also add a safety check for the case where the previous force-off is still pending, since I'm not sure if Punit can handle a new setting while the previous one hasn't settled yet. v2: - unchanged v3: - add a note to the commit message about the safety check (Ville) Signed-off-by: Imre Deak Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed