drm/radeon: Prevent hdmi deep color if max_tmds_clock is undefined.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Tue, 5 Aug 2014 03:23:11 +0000 (05:23 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Aug 2014 15:22:54 +0000 (11:22 -0400)
commit9f51e2e04f74608adec9957df97684a37a4cd375
treec6cc6f0e063059e0a47c68719850d20527453b4c
parent39dc5454e33b9e76d437bef1bdc1a453a81a2fc2
drm/radeon: Prevent hdmi deep color if max_tmds_clock is undefined.

HDMI spec requires a valid max_tmds_clock from edid for hdmi
deep color modes. If a sink violates this, disable deep color.

Also add a hint to user about the deep_color module parameter if
deep color is disabled due to that.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_connectors.c