]> 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)
commit58237c08a93615be37f795cd5b283893a9f03157
treeb44aabee1402d32543768437eb1da30ddf8dd6bb
parent9cd91de5cef9774f4dae9eb0c6849fcb0c61816d
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 c1677e235d2e ("drm/amd/display: Use plane->color_space for dpp if specified")

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