summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/optc.h
diff options
context:
space:
mode:
authorYan Li <yan.li@amd.com>2025-01-07 09:28:16 -0500
committerAlex Deucher <alexander.deucher@amd.com>2025-02-12 21:02:57 -0500
commit6eb4c13a38457c7ff41bbfa7638f34cfda29c662 (patch)
treeaf2e273ed9c85f4e47f63d8059f88c50fcd26b49 /drivers/gpu/drm/amd/display/dc/inc/hw/optc.h
parent9bbb556868c340fbf6f7d77cb215a37f06483f4b (diff)
drm/amd/display: Support "Broadcast RGB" drm property
[WHY] The source device outputs a full RGB signal, but TV may be set to use limited RGB. The mismatch in color range leads to a degradation in image quality. Display driver should have the ability to switch between the full and limited RGB to match TV's settings. [HOW] Add support of the linux DRM "Broadcast RGB" property, which indicates the Quantization Range (Full vs Limited) used. User space can set this property to be "Automatic", "Full" or "Limited 16:235" to adjust the output color range. Reviewed-by: Jerry Zuo <jerry.zuo@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Yan Li <yan.li@amd.com> Signed-off-by: Wayne Lin <wayne.lin@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/optc.h')
0 files changed, 0 insertions, 0 deletions