]> 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 17:13:48 +0000 (12:13 -0500)
commitea117312ea9f4113c4a8f4571a9ba189248721c4
tree856fa860287535af8b636a021eb7bc108b15a361
parentd12babaf15404eb102a84f8f9e6b7112c94c8221
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