diff options
author | Imre Deak <imre.deak@intel.com> | 2023-11-16 16:18:39 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2023-11-21 17:32:44 +0300 |
commit | 5ee4badb4b195bd871ba6d5a2d43aac03587230a (patch) | |
tree | d9698a5ad558e8e7129b7a776c80d421f046461b /tools/perf/scripts/python/stackcollapse.py | |
parent | 9069b77545ca5afc222effa994c65a64ac5e6462 (diff) | |
download | linux-5ee4badb4b195bd871ba6d5a2d43aac03587230a.tar.xz |
drm/i915/dp: Report a rounded-down value as the maximum data rate
Callers of intel_dp_max_data_rate() use the return value as an upper
bound for the BW a given mode requires. As such the rounding shouldn't
result in a bigger value than the actual upper bound. Use round-down
instead of -closest accordingly.
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231116131841.1588781-10-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions