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)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:12:40 +0000 (13:12 +0000)
commit0b03c361281b8884d36a9861c6c379a13294b956
treeed059d6f364f3b604f1e3385d94ac8a15d4a2357
parent4eaf171ae69707f44e9325b49a2274beada07da1
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