Need to properly handle the max link rate in the dpcd.
This prevents some cases where 5.4 Ghz is selected when
it shouldn't be.
v2: simplify logic, add array bounds check
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/atombios_dp.c | 96
1 file chang
Need to properly handle the max link rate in the dpcd.
This prevents some cases where 5.4 Ghz is selected when
it shouldn't be.
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/atombios_dp.c | 93
1 file changed, 35 insertions(+), 58 deletions(-)
diff