diff options
author | Imre Deak <imre.deak@intel.com> | 2023-11-16 16:18:40 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2023-11-21 17:32:44 +0300 |
commit | b9de01d85a62ddc4fce8f28eeba64b5682431158 (patch) | |
tree | d377277f6f9d0c1b27bd8943ed13718ac32f0372 /tools/perf/scripts/python/task-analyzer.py | |
parent | 5ee4badb4b195bd871ba6d5a2d43aac03587230a (diff) | |
download | linux-b9de01d85a62ddc4fce8f28eeba64b5682431158.tar.xz |
drm/i915/dp: Simplify intel_dp_max_data_rate()
Simplify intel_dp_max_data_rate() using
drm_dp_bw_channel_coding_efficiency() to calculate the max data rate for
both DP1.4 and UHBR link rates. This trades a redundant multiply/divide
for readability.
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231116131841.1588781-11-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions