]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/display: Ensure that dmcub support flag is set for DCN20
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Thu, 11 Apr 2024 23:38:08 +0000 (17:38 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2024 07:48:53 +0000 (09:48 +0200)
[ Upstream commit be53bd4f00aa4c7db9f41116224c027b4cfce8e3 ]

In the DCN20 resource initialization, ensure that DMCUB support starts
configured as true.

Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c

index f9c5bc624be305269f4bacc58bff148b53905cbf..f81f6110913d3c3d59a59eea415d2a5013fe2700 100644 (file)
@@ -2451,6 +2451,7 @@ static bool dcn20_resource_construct(
        dc->caps.post_blend_color_processing = true;
        dc->caps.force_dp_tps4_for_cp2520 = true;
        dc->caps.extended_aux_timeout_support = true;
+       dc->caps.dmcub_support = true;
 
        /* Color pipeline capabilities */
        dc->caps.color.dpp.dcn_arch = 1;