From: Ville Syrjälä Date: Fri, 13 Sep 2013 13:18:46 +0000 (+0300) Subject: drm/i915: Make i9xx_crtc_clock_get() use dpll_hw_state X-Git-Tag: v3.13-rc1~76^2~114^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=293623f7aa6d175d126135fb58c7a88c9695fd11;p=pandora-kernel.git drm/i915: Make i9xx_crtc_clock_get() use dpll_hw_state We already extract the DPLL state to pipe_config, so let's make use of it in i9xx_crtc_clock_get() and avoid the register reads. This will also make the function closer to being useable with PCH DPLL since the registers for those live in a different address. Also kill the useless adjusted_mode.clock zeroing. It's already zero at this point. v2: Read out DPLL state in intel_crtc_mode_get() Signed-off-by: Ville Syrjälä Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed