diff options
author | Imre Deak <imre.deak@intel.com> | 2023-11-16 16:18:41 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2023-11-21 17:32:44 +0300 |
commit | 297c76d94c8911b5d7b58afc51cfde715dd155fe (patch) | |
tree | 4b0fe65b72be7c21183115884d1a89f28a86010a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b9de01d85a62ddc4fce8f28eeba64b5682431158 (diff) | |
download | linux-297c76d94c8911b5d7b58afc51cfde715dd155fe.tar.xz |
drm/i915/dp: Reuse intel_dp_{max,effective}_data_rate in intel_link_compute_m_n()
Reuse intel_dp_max_data_rate() and intel_dp_effective_data_rate() in
intel_link_compute_m_n(), instead of open-coding the equivalent. Note
the kbit/sec -> kByte/sec unit change in the M/N values, but this not
reducing the precision, as the link rate value is based anyway on a less
precise 10 kbit/sec value.
Suggested-by: 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-12-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions