summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWerner Sembach <wse@tuxedocomputers.com>2021-03-17 16:13:48 +0100
committerAlex Deucher <alexander.deucher@amd.com>2021-04-09 16:49:11 -0400
commit68eb3ae3c63708f823aeeb63bb15197c727bd9bf (patch)
tree9a3439f571bf2531f0d8e0e40b3981ca0a68ad9a /tools/perf/scripts/python/export-to-postgresql.py
parentbb01091cec980a4f4c9e2375573a26582d34a8fb (diff)
drm/amd/display: Try YCbCr420 color when YCbCr444 fails
When encoder validation of a display mode fails, retry with less bandwidth heavy YCbCr420 color mode, if available. This enables some HDMI 1.4 setups to support 4k60Hz output, which previously failed silently. On some setups, while the monitor and the gpu support display modes with pixel clocks of up to 600MHz, the link encoder might not. This prevents YCbCr444 and RGB encoding for 4k60Hz, but YCbCr420 encoding might still be possible. However, which color mode is used is decided before the link encoder capabilities are checked. This patch fixes the problem by retrying to find a display mode with YCbCr420 enforced and using it, if it is valid. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Werner Sembach <wse@tuxedocomputers.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions