drm/radeon: Don't drop DP 2.7 Ghz link setup on some cards.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Sun, 6 Mar 2016 01:39:53 +0000 (02:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 Jun 2016 08:42:47 +0000 (10:42 +0200)
commitaeda7369852a3e26a3d5de94da716232f1f4a6af
tree0323922e53937778af86823410be0786acbd412a
parente018f7b88562201a9d179aafa7028bfa72167a7e
drm/radeon: Don't drop DP 2.7 Ghz link setup on some cards.

commit 459ee1c3fd097ab56ababd8ff4bb7ef6a792de33 upstream.

As observed on Apple iMac10,1, DCE-3.2, RV-730,
link rate of 2.7 Ghz is not selected, because
the args.v1.ucConfig flag setting for 2.7 Ghz
gets overwritten by a following assignment of
the transmitter to use.

Move link rate setup a few lines down to fix this.
In practice this didn't have any positive or
negative effect on display setup on the tested
iMac10,1 so i don't know if backporting to stable
makes sense or not.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/gpu/drm/radeon/atombios_encoders.c