commit | 2cc9fab180e8add4159ed1fc874131f984d0bcb1 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon Sep 28 23:43:43 2015 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Sep 30 10:20:38 2015 +0200 |
tree | 1fc8fbf875a77fa7532627fa6f2639979fa99c43 | |
parent | bfa7df01a092e92ae764d39fee07fc3f486ed6a9 [diff] |
drm/i915: Simplify vlv/chv rc6 residency calculation We have the czclk frequency in dev_priv now, so let's just use it when converting the rc6 counters to milliseconds. This eliminates a bunch of hairy code that essentially tries to extract the czclk frequency using yet another method. v2: Fix typos in commit message (Imre) Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>