aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2017-03-28 17:59:04 +0300
committerJani Nikula <jani.nikula@intel.com>2017-04-06 14:33:55 +0300
commit55cfc580809698e952c1df36140eefb8d97ce222 (patch)
tree335eb99c535687839cfc86bc80d7e78c340e263d /tools/perf/scripts/python
parentdrm/i915/dp: rename rate_to_index() to intel_dp_rate_index() and reuse (diff)
drm/i915/dp: cache source rates at init
We need the source rates array so often that it makes sense to set it once at init. This reduces function calls when we need the rates, making the code easier to follow. Cc: Manasi Navare <manasi.d.navare@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Manasi Navare <manasi.d.navare@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/aa998882d2b824f671272c60e9d26621ab9d2d17.1490712890.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions