]> git.karo-electronics.de Git - karo-tx-linux.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)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Jan 2015 17:08:57 +0000 (12:08 -0500)
commit410cce2a6b82299b46ff316c6384e789ce275ecb
treed290d03a5a34b77d477ac98e7edfaca828c7ffd0
parent5665c3ebe5ee8a2c516925461f7214ba59c2e6d7
drm/radeon: properly filter DP1.2 4k modes on non-DP1.2 hw

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>
Cc:stable@vge.kernel.org
drivers/gpu/drm/radeon/atombios_dp.c