From: Ville Syrjälä Date: Tue, 7 Oct 2014 14:41:22 +0000 (+0300) Subject: drm/i915: Cache HPLL frequency on VLV/CHV X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~64^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bcda4f0dfcbe78349b5b283af892913299c8b2a;p=pandora-kernel.git drm/i915: Cache HPLL frequency on VLV/CHV We need the HPLL frequency when calculating cdclk. Currently we read that out from the hardware every single time, which isn't going to fly very well if the device is runtime suspended. So cache the HPLL frequency in dev_priv and use the cached value. Signed-off-by: Ville Syrjälä Reference: https://bugs.freedesktop.org/show_bug.cgi?id=82939 Reviewed-by: Imre Deak Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed