Skip to contentSkip to conversation

drm/amd/display: enable PCON support for dcn314

PATCH In review [email protected] 2 participants 2 messages Aug 22, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: enable PCON support for dcn314

From: Roman Li <[email protected]>

[Why]
DCN314 supports PCON.

[How]
Explicitly enable it in dcn314 resources.

---
 drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c +1 -0
index 85f32206a766..3a9e3870b3a9 100644
@@ -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;
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · On 2022-08-22 15:38, [email protected] wrote:

From: Roman Li <[email protected]>

[Why]
DCN314 supports PCON.

[How]
Explicitly enable it in dcn314 resources.

Quoted 16 lines
---
  drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c +1 -0
index 85f32206a766..3a9e3870b3a9 100644
@@ -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;
Signature · 1 line
Hamza