]> 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)
commitd24c318e5e0d4d15114f5e70b6d560727e9fc909
tree9e22da5a0c40ba4439273d51fe04debde926b942
parentbcd481d70cdf6f8c28b51240a3c7a579e6bd83e2
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