From: Rodrigo Siqueira Date: Thu, 11 Apr 2024 23:38:08 +0000 (-0600) Subject: drm/amd/display: Ensure that dmcub support flag is set for DCN20 X-Git-Tag: v6.11-rc1~141^2~25^2~592 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2b6c4a4b7ae5a4dc80138a2e7c0419417088e164;p=thirdparty%2Flinux.git drm/amd/display: Ensure that dmcub support flag is set for DCN20 In the DCN20 resource initialization, ensure that DMCUB support starts configured as true. Signed-off-by: Rodrigo Siqueira Acked-by: Aurabindo Pillai Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c b/drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c index a8173b7880eb3..fd5fdb7f4eead 100644 --- a/drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c +++ b/drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c @@ -2452,6 +2452,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;