linux/drivers/gpu/drm/amd/display/dc/dce
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
..
dce_abm.c drm/amd/display: Fixed Silence complier warnings in dc 2026-03-30 15:12:15 -04:00
dce_abm.h drm/amd/display: Enable dcn42 DC 2026-02-23 14:28:33 -05:00
dce_audio.c drm/amd/display: Add support for FRL to DC core 2026-06-03 13:44:46 -04:00
dce_audio.h drm/amd/display: Use dce_audio_create for DCE 6 2026-02-23 14:24:39 -05:00
dce_aux.c drm/amd/display: Cleaned up headers 2026-07-01 11:34:22 -04:00
dce_aux.h drm/amd/display: Add no_native_i2c codepath 2026-06-03 13:43:29 -04:00
dce_clock_source.c drm/amd/display: Ensure dtbclk is enabled 2026-08-06 09:58:19 -04:00
dce_clock_source.h drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
dce_dmcu.c drm/amd/display: Fixed Silence complier warnings in dc 2026-03-30 15:12:15 -04:00
dce_dmcu.h drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
dce_i2c_hw.c drm/amd/display: Fix implicit narrowing conversion warnings 2026-04-17 15:41:15 -04:00
dce_i2c_hw.h drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
dce_i2c_sw.c drm/amd/display: Fix narrowing boundaries and eDP parser assignment 2026-04-17 15:41:16 -04:00
dce_i2c_sw.h
dce_i2c.c drm/amd/display: Fixed Silence complier warnings in dc 2026-03-30 15:12:15 -04:00
dce_i2c.h drm/amd/display: Add I2C escape to support query device exist. 2022-03-15 14:41:03 -04:00
dce_ipp.c drm/amd/display: Fix type mismatches using guards and explicit casts 2026-05-05 09:56:52 -04:00
dce_ipp.h
dce_link_encoder.c drm/amd/display: Fix type mismatches using guards and explicit casts 2026-05-05 09:56:52 -04:00
dce_link_encoder.h drm/amd/display: Remove unneeded DAC link encoder register 2026-02-19 12:16:12 -05:00
dce_mem_input.c drm/amd/display: Fixed Silence complier warnings in dc 2026-03-30 15:12:15 -04:00
dce_mem_input.h drm/amd/display: Add missing SFB and OPP_SF 2024-04-09 22:06:34 -04:00
dce_opp.c drm/amd/display: Fixed Silence complier warnings in dc 2026-03-30 15:12:15 -04:00
dce_opp.h drm/amd/display: Add missing SFB and OPP_SF 2024-04-09 22:06:34 -04:00
dce_panel_cntl.c drm/amd/display: Fix implicit narrowing conversion warnings 2026-04-17 15:41:15 -04:00
dce_panel_cntl.h
dce_scl_filters_old.c
dce_scl_filters.c
dce_stream_encoder.c drm/amd/display: set MSA MISC1 bit 6 when using VSC SDP for DCE 11.x 2026-07-01 11:14:36 -04:00
dce_stream_encoder.h drm/amd/display: set MSA MISC1 bit 6 when using VSC SDP for DCE 11.x 2026-07-01 11:14:36 -04:00
dce_transform.c drm/amd/display: fix BT.2020 YCbCr output CSC matrices for DCE 2026-08-12 09:43:19 -04:00
dce_transform.h drm/amd/display: Properly disable scaling on DCE6 2025-10-07 14:09:06 -04:00
dmub_abm_cacp.c drm/amd/display: Enable CACP on Linux 2026-07-14 19:12:34 -04:00
dmub_abm_cacp.h drm/amd/display: Enable CACP on Linux 2026-07-14 19:12:34 -04:00
dmub_abm_lcd.c drm/amd/display: Generalize DMUB memory flushes from host 2026-07-14 19:12:34 -04:00
dmub_abm_lcd.h drm/amd/display: Add params of set_abm_event for VB Scaling 2024-06-05 11:05:24 -04:00
dmub_abm.c drm/amd/display: Enable CACP on Linux 2026-07-14 19:12:34 -04:00
dmub_abm.h
dmub_hw_lock_mgr.c drm/amd/display: Fixed silence signed/unsigned mismatch warnings 2026-03-30 14:55:39 -04:00
dmub_hw_lock_mgr.h drm/amd/display: Sync dcn42 with DC 3.2.373 2026-03-11 13:58:07 -04:00
dmub_outbox.c drm/amd/display: Wake DMCUB before sending a command 2023-12-19 14:59:02 -05:00
dmub_outbox.h drm/amd/display: Fix for dmub outbox notification enable 2022-02-16 17:01:42 -05:00
dmub_psr.c drm/amd/display: Fix implicit narrowing conversion warnings 2026-04-17 15:41:15 -04:00
dmub_psr.h drm/amd/display: Extend PSRSU residency mode 2024-06-14 15:20:40 -04:00
dmub_replay.c drm/amd/display: fix debug flags assignment in dmub_replay.c 2026-07-28 18:33:19 -04:00
dmub_replay.h drm/amd/display: To support Replay frame skip mode 2025-11-11 21:54:15 -05:00
Makefile drm/amd/display: Enable CACP on Linux 2026-07-14 19:12:34 -04:00