diff options
author | Thomas Anderson <thomasanderson@google.com> | 2019-12-02 13:47:13 -0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-01-07 11:29:47 -0500 |
commit | 840c90fce6c78bc6b2c4cb9e836d70985ed32066 (patch) | |
tree | 4a7c52373fd27963753998760d983451d9b2dce3 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | 7aec9ec1cf324d5c5a8d17b9c78a34c388e5f17b (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions