linux/drivers/gpu/drm/amd/display/dc/dce110
Nathan Lucas 14c8726b79 drm/amd/display: fix BT.2020 YCbCr output CSC matrices for DCE
The commit cited by the Fixes tag added separate limited and full-range
BT.2020 YCbCr entries to the DCE output CSC tables, but populated both
entries with the same matrix copied from the common DC table. That
matrix combined full-range scaling with limited-range luma offset and was
incorrect for both limited and full-range output.

Replace the coefficients in both entries in the DCE paths with those from
the new COLOR_SPACE_YCBCR2020_LIMITED_TYPE
and COLOR_SPACE_YCBCR2020_FULL_TYPE entries in the preceding commit
("drm/amd/display: fix BT.2020 YCbCr limited output CSC matrix").

Fixes: 51e6668ab4 ("drm/amd/display: add missing CSC entries for BT.2020 for DCE IPs")
Assisted-by: OpenAI-Codex:GPT-5.6-Sol
Tested-by: Igor Paunovic <royalnet026@gmail.com>
Tested-by: Satyajit Roy <sroy14@alum.utk.edu>
Signed-off-by: Nathan Lucas <nlucasgit@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-08-12 09:43:19 -04:00
..
dce110_compressor.c drm/amd/display: Cleaned up headers 2026-07-01 11:34:22 -04:00
dce110_compressor.h drm/amd/display: Remove unused get_max_support_fbc_buffersize 2025-02-12 21:03:03 -05:00
dce110_mem_input_v.c drm/amd/display: Cleaned up headers 2026-07-01 11:34:22 -04:00
dce110_mem_input_v.h
dce110_opp_csc_v.c drm/amd/display: fix BT.2020 YCbCr output CSC matrices for DCE 2026-08-12 09:43:19 -04:00
dce110_opp_regamma_v.c drm/amd/display: Fixed Silence complier warnings in dc 2026-03-30 15:12:15 -04:00
dce110_opp_v.c amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce110_opp_v.h amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce110_timing_generator_v.c drm/amd/display: Fixed Silence complier warnings in dc 2026-03-30 15:12:15 -04:00
dce110_timing_generator_v.h amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce110_timing_generator.c drm/amd/display: Fixed Silence complier warnings in dc 2026-03-30 15:12:15 -04:00
dce110_timing_generator.h drm/amd/display: Extend dc_stream_get_crc to support 2nd crc engine 2025-01-06 14:44:26 -05:00
dce110_transform_v.c drm/amd/display: Fixed Silence complier warnings in dc 2026-03-30 15:12:15 -04:00
dce110_transform_v.h amdgpu/dc: make program_regamma_pwl return void 2017-09-29 13:02:08 -04:00
Makefile kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00