]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/radeon: properly filter DP1.2 4k modes on non-DP1.2 hw
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Dec 2014 14:42:10 +0000 (09:42 -0500)
committerJiri Slaby <jslaby@suse.cz>
Mon, 26 Jan 2015 13:39:25 +0000 (14:39 +0100)
commita866f33e6f27555c3dd799bd9fb5800c2c586883
treef123af2189ba338f5f5f39a7c13cd50ce050ab95
parentc02ca53c957e1731bdd9afa75cdbf2a84c5d8519
drm/radeon: properly filter DP1.2 4k modes on non-DP1.2 hw

commit 410cce2a6b82299b46ff316c6384e789ce275ecb upstream.

The check was already in place in the dp mode_valid check, but
radeon_dp_get_dp_link_clock() never returned the high clock
mode_valid was checking for because that function clipped the
clock based on the hw capabilities.  Add an explicit check
in the mode_valid function.

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

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/radeon/atombios_dp.c