linux/drivers/gpu/drm/amd/display/dc
Joshua Ashton b105b79ea0 drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix
commit 973a9c810c upstream.

The YCC conversion matrix for RGB -> COLOR_SPACE_YCBCR2020_TYPE is
missing the values for the fourth column of the matrix.

The fourth column of the matrix is essentially just a value that is
added given that the color is 3 components in size.
These values are needed to bias the chroma from the [-1, 1] -> [0, 1]
range.

This fixes color being very green when using Gamescope HDR on HDMI
output which prefers YCC 4:4:4.

Fixes: 40df2f809e ("drm/amd/display: color space ycbcr709 support")
Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-24 07:24:40 +01:00
..
basics
bios drm/amd/display: fix array index out of bound error in bios parser 2022-12-31 13:33:02 +01:00
clk_mgr drm/amd/display: Fix DTBCLK disable requests and SRC_SEL programming 2022-12-31 13:33:03 +01:00
core drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix 2023-01-24 07:24:40 +01:00
dce drm/amd/display: AUX tracing cleanup 2022-10-06 11:59:48 -04:00
dce60 drm/amd/display: prevent memory leak 2022-12-31 13:32:59 +01:00
dce80 drm/amd/display: prevent memory leak 2022-12-31 13:32:59 +01:00
dce100
dce110 drm/amd/display: Fix audio on display after unplugging another 2022-09-29 09:41:44 -04:00
dce112
dce120 drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN 2022-11-23 09:01:53 -05:00
dcn10 drm/amd/display: Use the largest vready_offset in pipe group 2022-12-31 13:33:03 +01:00
dcn20 drm/amd/display: Use the largest vready_offset in pipe group 2022-12-31 13:33:03 +01:00
dcn21 drm/amd/display: Refactor edp ILR caps codes 2022-10-06 12:00:02 -04:00
dcn30 drm/amd/display: revert Disable DRR actions during state commit 2022-12-31 13:33:12 +01:00
dcn31 drm/amd/display: Add HUBP surface flip interrupt handler 2022-11-15 13:06:39 -05:00
dcn32 drm/amd/display: move remaining FPU code to dml folder 2023-01-18 11:58:14 +01:00
dcn201 drm/amd/display: update dccg based on HW delta 2022-09-19 15:16:49 -04:00
dcn301 drm/amd/display: clean up one inconsistent indenting 2022-10-06 12:04:57 -04:00
dcn302 drm/amd/display: Add debug option for exiting idle optimizations on cursor updates 2022-09-29 09:41:44 -04:00
dcn303 drm/amd/display: Add debug option for exiting idle optimizations on cursor updates 2022-09-29 09:41:44 -04:00
dcn314 drm/amd/display: Avoid setting pixel rate divider to N/A 2022-11-23 09:01:53 -05:00
dcn315 drm/amd/display: add dummy pstate workaround to dcn315 2022-10-06 12:00:32 -04:00
dcn316 drm/amd/display: Refactor edp ILR caps codes 2022-10-06 12:00:02 -04:00
dcn321 drm/amd/display: Enforce minimum prefetch time for low memclk on DCN32 2022-11-09 18:04:13 -05:00
dml drm/amd/display: move remaining FPU code to dml folder 2023-01-18 11:58:14 +01:00
dsc
gpio drm/amd/display: Fix gpio port mapping issue 2022-11-09 18:03:13 -05:00
hdcp
inc drm/amd/display: add a license to cursor_reg_cache.h 2022-10-11 11:33:16 -04:00
irq
link drm/amd/display: Use correct pixel clock to program DTBCLK DTO's 2022-10-10 17:17:36 -04:00
virtual drm/amd/display: make virtual_disable_link_output static 2022-10-11 11:32:59 -04:00
dc_bios_types.h
dc_ddc_types.h
dc_dmub_srv.c drm/amd/display: Fix watermark calculation 2022-10-10 17:32:55 -04:00
dc_dmub_srv.h drm/amd/display: Use the same cursor info across features 2022-10-10 17:32:55 -04:00
dc_dp_types.h
dc_dsc.h
dc_edid_parser.c
dc_edid_parser.h
dc_helper.c
dc_hw_types.h
dc_link.h drm/amd/display: Refactor edp ILR caps codes 2022-10-06 12:00:02 -04:00
dc_stat.h
dc_stream.h drm/amd/display: Remove interface for periodic interrupt 1 2022-09-29 09:41:44 -04:00
dc_trace.h
dc_types.h
dc.h drm/amd/display: Enforce minimum prefetch time for low memclk on DCN32 2022-11-09 18:04:13 -05:00
dm_cp_psp.h
dm_event_log.h
dm_helpers.h drm/amd/display: Refactor edp panel power sequencer(PPS) codes 2022-09-19 15:13:08 -04:00
dm_pp_smu.h
dm_services_types.h
dm_services.h
irq_types.h
Makefile
os_types.h