summaryrefslogtreecommitdiffstats
path: root/drivers/pps
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2023-01-10 22:50:42 +0000
committerAlex Deucher <alexander.deucher@amd.com>2023-01-18 23:15:34 -0500
commit973a9c810c785ac270a6d50d8cf862b0c1643a10 (patch)
tree72d40a4186c9e9a41c761ef43904d3dd9b672f35 /drivers/pps
parent79601b894849cb6f6d6122e6590f1887ac4a66b3 (diff)
downloadlinux-973a9c810c785ac270a6d50d8cf862b0c1643a10.tar.bz2
drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix
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: 40df2f809e8f ("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
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions