diff options
author | Jani Nikula <jani.nikula@intel.com> | 2021-08-23 19:18:06 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-08-24 10:40:22 +0300 |
commit | f5b21c2e3da4594140b916dfed0e007d3fe8267c (patch) | |
tree | eedb441e32262fde2ab76bc85b6062a2567cc6eb /drivers/gpu/drm/i915/i915_ttm_buddy_manager.c | |
parent | c79b846f892d64f169d3dba18fd2500a83805e3a (diff) | |
download | linux-f5b21c2e3da4594140b916dfed0e007d3fe8267c.tar.xz |
drm/i915/dp: use actual link rate values in struct link_config_limits
The MST code uses actual link rates in the limits struct, while the DP
code in general uses indexes to the ->common_rates[] array. Fix the
confusion by using actual link rate values everywhere. This is a better
abstraction than some obscure index.
Rename the struct members while at it to ensure all the places are
covered.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/d70ab7261abacd367d3a6a47102575eb88a55cd4.1629735412.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_ttm_buddy_manager.c')
0 files changed, 0 insertions, 0 deletions