[PATCH 1/2] drm/amdgpu: fix dp link rate selection (v2)

2015-12-18 Thread Alex Deucher
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

[PATCH 1/2] drm/amdgpu: fix dp link rate selection

2015-12-17 Thread Alex Deucher
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