From: Daniel Vetter Date: Thu, 24 Apr 2014 21:55:11 +0000 (+0200) Subject: drm/i915: Extract vlv_prepare_pll X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~38^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdd4b6a655749970cc632aafc5fd596c07b60b1c;p=pandora-kernel.git drm/i915: Extract vlv_prepare_pll With this all hw writes are also gone from the ->crtc_mode_set hook on vlv. I wondered whether we should track more of the pll state in the pipe config, but otoh as long as we don't have shared plls that's not really useful - the cross-checking of the port clock should be sufficient. While at it also de-magic some of the pipe checks, this has been irking me since a long time. Whit this vlv is now ready for runtime PM on dpms. If we'd have runtime PM support in general ... Reviewed-by: Shobhit Kumar Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed