From: Ville Syrjälä Date: Wed, 3 Jun 2015 12:45:07 +0000 (+0300) Subject: drm/i915: Cache current cdclk frequency in dev_priv X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~307^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6283055b408fd9bee5386bd71fdf5f3b5553ae5;p=pandora-kernel.git drm/i915: Cache current cdclk frequency in dev_priv Rather that extracting the current cdclk freuqncy every time someone wants to know it, cache the current value and use that. VLV/CHV already stored a cached value there so just expand that to cover all platforms. v2: Rebased to the latest v3: Rebased to the latest v4: Rebased to the latest v5: Removed spurious call to 'intel_update_cdclk(dev)' based on Damien Lespiau's comment Signed-off-by: Ville Syrjälä Signed-off-by: Mika Kahola Reviewed-by: Damien Lespiau Signed-off-by: Jani Nikula --- Reading git-diff-tree failed