aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-05-11 22:44:45 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2016-05-13 21:31:17 +0300
commit92891e45c313e22095c90eb36b283a3b39e90bd4 (patch)
tree3146eb52e814d96dc616cb4007c5caaf0c13aaa1 /tools/perf/scripts/python
parentdrm/i915: Use ilk_max_pixel_rate() for BXT cdclk calculation (diff)
downloadlinux-92891e45c313e22095c90eb36b283a3b39e90bd4.tar.gz
linux-92891e45c313e22095c90eb36b283a3b39e90bd4.zip
drm/i915: Use skl_cdclk_decimal() on bxt
Both SKL and BXT need to fill in the "decimal" cdclk frequency into the CDCLK_CTL register. SKL uses a small helper to do the kHz->"decimal" conversion, whereas BXT has it open-coded. Use the helper on BXT too. While at it, change it to round to closest rather than down. It doesn't actually matter with the frequencies we have to deal with, but it seems like the right thing to do. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1462995892-32416-7-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions