diff options
| author | Satyajit Roy <sroy14@alum.utk.edu> | 2026-08-30 03:52:06 +0000 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-10 12:55:28 -0400 |
| commit | 7fca7acd60a228b62b4e9efa5f184738041e9564 (patch) | |
| tree | a1e7d15e8d8804fb03ed8b6567df50dfb18cd585 /scripts/Makefile.thinlto | |
| parent | bdcd0411d7d186225a52458fd42bb70d54ca917a (diff) | |
| download | linux-7fca7acd60a228b62b4e9efa5f184738041e9564.tar.gz linux-7fca7acd60a228b62b4e9efa5f184738041e9564.zip | |
drm/amd/display: Honor Broadcast RGB for BT.2020 RGB output
amdgpu_dm_get_output_color_space() applies the Broadcast RGB connector
property to default RGB output, but always selects full-range output for
BT.2020 RGB. Consequently, explicitly selecting Limited has no effect on
the output CSC or AVI InfoFrame when HDR uses BT.2020 RGB.
Select COLOR_SPACE_2020_RGB_LIMITEDRANGE when the output encoding is RGB
and Broadcast RGB is Limited. Keep Automatic and Full at full range, and
leave YCbCr output unchanged.
Add KUnit coverage for limited-range RGB output through both BT.2020
connector colorspace values.
Fixes: 6eb4c13a3845 ("drm/amd/display: Support "Broadcast RGB" drm property")
Signed-off-by: Satyajit Roy <sroy14@alum.utk.edu>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 022236eaa63bbf65761aa8aec43f661451a94654)
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
