aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGravatar Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> 2024-04-11 17:38:08 -0600
committerGravatar Alex Deucher <alexander.deucher@amd.com> 2024-04-30 21:30:16 -0400
commitbe53bd4f00aa4c7db9f41116224c027b4cfce8e3 (patch)
treeb3ae86b072a2d4cc3d999144b99650947424e1e2 /drivers
parentdrm/amd/display: Handle Y carry-over in VCP X.Y calculation (diff)
downloadlinux-be53bd4f00aa4c7db9f41116224c027b4cfce8e3.tar.gz
linux-be53bd4f00aa4c7db9f41116224c027b4cfce8e3.tar.bz2
linux-be53bd4f00aa4c7db9f41116224c027b4cfce8e3.zip
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 <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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c1
1 files changed, 1 insertions, 0 deletions
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 a2387cea1af9..622214b365a2 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
@@ -2449,6 +2449,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;