]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: Reduce HDMI pixel encoding if max clock is exceeded
authorThomas Anderson <thomasanderson@google.com>
Mon, 2 Dec 2019 21:47:13 +0000 (13:47 -0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 16:29:47 +0000 (11:29 -0500)
commit840c90fce6c78bc6b2c4cb9e836d70985ed32066
tree4a7c52373fd27963753998760d983451d9b2dce3
parent7aec9ec1cf324d5c5a8d17b9c78a34c388e5f17b
drm/amd/display: Reduce HDMI pixel encoding if max clock is exceeded

For high-res (8K) or HFR (4K120) displays, using uncompressed pixel
formats like YCbCr444 would exceed the bandwidth of HDMI 2.0, so the
"interesting" modes would be disabled, leaving only low-res or low
framerate modes.

This change lowers the pixel encoding to 4:2:2 or 4:2:0 if the max TMDS
clock is exceeded. Verified that 8K30 and 4K120 are now available and
working with a Samsung Q900R over an HDMI 2.0b link from a Radeon 5700.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Thomas Anderson <thomasanderson@google.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c