aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2017-04-06 16:44:10 +0300
committerJani Nikula <[email protected]>2017-04-11 16:54:30 +0300
commit975ee5fca10b713aff92cee87e1789e5e2e6c1da (patch)
tree1d00e633400cf231212fbc08918b93f1523ac634 /tools/perf/scripts/python/bin
parenta079d10812a3ed84a73d152522e658fe9f76526e (diff)
drm/i915/dp: cache common rates with sink rates
Now that source rates are static and sink rates are updated whenever DPCD is updated, we can do and cache the intersection of them whenever sink rates are updated. This reduces code complexity, as we don't have to keep calling the functions to intersect. We also get rid of several common rates arrays on stack. Limiting the common rates by a max link rate can be done by picking the first N elements of the cached common rates. v2: get rid of the local common_rates variable (Manasi) v3: don't clobber cached eDP rates on short pulse (Ville) Cc: Manasi Navare <[email protected]> Cc: Ville Syrjälä <[email protected]> Reviewed-by: Manasi Navare <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/e3b287e8cb6559b1f8fd4e80b78a8d22f1802eb7.1491485983.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions