commit | 7bad74d57c81b08218cc564af3a78427e12bf3ac | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Thu Sep 24 23:29:20 2015 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Sep 30 10:20:39 2015 +0200 |
tree | e924b66062059294cf21f8fab305005da9490a4e | |
parent | 2cc9fab180e8add4159ed1fc874131f984d0bcb1 [diff] |
drm/i915: Use czclk_freq in vlv c0 residency calculations Replace the use of mem_freq/4 with czclk_freq in the vlv c0 residency calculations. Also deal with VLV_COUNT_RANGE_HIGH which affects all RCx residency counters. We have just enough bits to do this without intermediate divisions. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>