]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: fix DP mode validation
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 11 May 2016 20:16:53 +0000 (16:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 12 May 2016 19:03:39 +0000 (15:03 -0400)
commit040a0225e094bc0a6ca0498d3310bb01b80cc160
tree34b25bed730c928b6abc85d5b8d277452a2bde97
parent9c1094e1c175fd568a9e9d57ddaaff98de341ea6
drm/radeon: fix DP mode validation

Switch the order of the loops to walk the rates on the top
so we exhaust all DP 1.1 rate/lane combinations before trying
DP 1.2 rate/lane combos.

This avoids selecting rates that are supported by the monitor,
but not the connector leading to valid modes getting rejected.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=95206

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/atombios_dp.c