]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: Limit hdmi deep color bit depth to 12 bpc.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Mon, 5 May 2014 21:03:18 +0000 (23:03 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Jun 2014 22:37:33 +0000 (18:37 -0400)
commit8c509dbb821888fe94e20bd820b47bd954840157
tree9e22da5a0c40ba4439273d51fe04debde926b942
parentaae113d29eb53e2d55656746539e9da657a91afc
drm/radeon: Limit hdmi deep color bit depth to 12 bpc.

DCE-4/5/6 can't support more than 12 bpc deep color over hdmi,
so clamp to 12 bpc when a hdmi deep color capable display is
connected. This even makes sense on DCE-8+, which could do up
to 16 bpc, as driving with more than 12 bpc would only waste
video bandwidth as long as we don't support framebuffers with
more than 12 bpc depth.

On pre-DCE4 we clamp hdmi bit depth to 8 bpc, as those asics
don't support hdmi deep color.

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