From: jsg Date: Wed, 25 Jan 2023 02:03:02 +0000 (+0000) Subject: drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6c3af96a3d5d7c2e74f88dc1e5fe13b1eceed3f5;p=openbsd drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix From Joshua Ashton b105b79ea05029ba7f55d826e6c0493a45620573 in linux-6.1.y/6.1.8 973a9c810c785ac270a6d50d8cf862b0c1643a10 in mainline linux --- diff --git a/sys/dev/pci/drm/amd/display/dc/core/dc_hw_sequencer.c b/sys/dev/pci/drm/amd/display/dc/core/dc_hw_sequencer.c index 5115bf213d6..a62e86a0c36 100644 --- a/sys/dev/pci/drm/amd/display/dc/core/dc_hw_sequencer.c +++ b/sys/dev/pci/drm/amd/display/dc/core/dc_hw_sequencer.c @@ -90,8 +90,8 @@ static const struct out_csc_color_matrix_type output_csc_matrix[] = { { 0xE00, 0xF349, 0xFEB7, 0x1000, 0x6CE, 0x16E3, 0x24F, 0x200, 0xFCCB, 0xF535, 0xE00, 0x1000} }, { COLOR_SPACE_YCBCR2020_TYPE, - { 0x1000, 0xF149, 0xFEB7, 0x0000, 0x0868, 0x15B2, - 0x01E6, 0x0000, 0xFB88, 0xF478, 0x1000, 0x0000} }, + { 0x1000, 0xF149, 0xFEB7, 0x1004, 0x0868, 0x15B2, + 0x01E6, 0x201, 0xFB88, 0xF478, 0x1000, 0x1004} }, { COLOR_SPACE_YCBCR709_BLACK_TYPE, { 0x0000, 0x0000, 0x0000, 0x1000, 0x0000, 0x0000, 0x0000, 0x0200, 0x0000, 0x0000, 0x0000, 0x1000} },