drm/amd/display: remove dmcub_support cap dependency
authorCharlene Liu <Charlene.Liu@amd.com>
Thu, 4 Nov 2021 20:51:56 +0000 (16:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Nov 2021 21:58:05 +0000 (16:58 -0500)
[why]
matching the dmcub_support with all other dcn version.

Reviewed-by: Sung joon Kim <Sungjoon.Kim@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c

index fbaa03f26d8bfac7b11a94dc527abe6fdc9b63b2..2650d3bd50ecc52aed8af551ceca7adc73cf637b 100644 (file)
@@ -1449,9 +1449,7 @@ static bool dcn301_resource_construct(
        dc->caps.post_blend_color_processing = true;
        dc->caps.force_dp_tps4_for_cp2520 = true;
        dc->caps.extended_aux_timeout_support = true;
-#ifdef CONFIG_DRM_AMD_DC_DMUB
        dc->caps.dmcub_support = true;
-#endif
 
        /* Color pipeline capabilities */
        dc->caps.color.dpp.dcn_arch = 1;