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)
commite84131a88a8cdcd6fe9f234ed98e3f8ca049142b
treeb44aabee1402d32543768437eb1da30ddf8dd6bb
parent98b02e9f002b21944176774cf420c4d674f6201c
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 a1e07ba89d49 ("drm/amd/display: Use plane->color_space for dpp if specified")

Fixes: a1e07ba89d49 ("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