]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/display: enable PCON support for dcn314
authorRoman Li <roman.li@amd.com>
Mon, 22 Aug 2022 16:37:10 +0000 (12:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2022 17:53:10 +0000 (13:53 -0400)
[Why]
DCN314 supports PCON.

[How]
Explicitly enable it in dcn314 resources.

Signed-off-by: Roman Li <roman.li@amd.com>
Reviewed-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c

index 85f32206a7662f55dbef05855b0854f10859ed3a..3a9e3870b3a95f223b18563d126befc657d28d6a 100644 (file)
@@ -1750,6 +1750,7 @@ static bool dcn314_resource_construct(
        dc->caps.post_blend_color_processing = true;
        dc->caps.force_dp_tps4_for_cp2520 = true;
        dc->caps.dp_hpo = true;
+       dc->caps.dp_hdmi21_pcon_support = true;
        dc->caps.edp_dsc_support = true;
        dc->caps.extended_aux_timeout_support = true;
        dc->caps.dmcub_support = true;