]> git.baikalelectronics.ru Git - kernel.git/commit
amd/display/dc: Fix COLOR_ENCODING and COLOR_RANGE doing nothing for DCN20+
authorJoshua Ashton <joshua@froggi.es>
Thu, 16 Jun 2022 01:21:27 +0000 (01:21 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jun 2022 21:17:16 +0000 (17:17 -0400)
commitc73a4cc9096997f3d24a49886d473c98cea53529
treeb44aabee1402d32543768437eb1da30ddf8dd6bb
parentac7e33faa9cbb83ec5c50e5663f0373c0ba9ad7b
amd/display/dc: Fix COLOR_ENCODING and COLOR_RANGE doing nothing for DCN20+

For DCN20 and above, the code that actually hooks up the provided
input_color_space got lost at some point.

Fixes COLOR_ENCODING and COLOR_RANGE doing nothing on DCN20+.
Tested using Steam Remote Play Together + gamescope.

Update other DCNs the same wasy DCN1.x was updates in
commit 02a1d14c598f ("drm/amd/display: Use plane->color_space for dpp if specified")

Fixes: 02a1d14c598f ("drm/amd/display: Use plane->color_space for dpp if specified")
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c
drivers/gpu/drm/amd/display/dc/dcn201/dcn201_dpp.c
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp.c