Skip to contentSkip to conversation

drm/amd/display: Update DCN302 SR Exit Latency

PATCH In review Aurabindo Pillai 2 participants 3 messages Apr 8, 2021

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

PATCH v2 1/1 drm/amd/display: Update DCN302 SR Exit Latency

From: Joshua Aberback <[email protected]>

[Why&How]
Update SR Exit Latency to fix screen flickering caused due to OTG underflow. This is the recommended value given by the hardware IP team.

---
 drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c +1 -1
index a928c1d9a557..fc2dea243d1b 100644
@@ -164,7 +164,7 @@ struct _vcs_dpi_soc_bounding_box_st dcn3_02_soc = {
 
 		.min_dcfclk = 500.0, /* TODO: set this to actual min DCFCLK */
 		.num_states = 1,
-		.sr_exit_time_us = 12,
+		.sr_exit_time_us = 15.5,
 		.sr_enter_plus_exit_time_us = 20,
 		.urgent_latency_us = 4.0,
 		.urgent_latency_pixel_data_only_us = 4.0,
Signature · 6 lines
2.31.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
maintainer Reviewed-by on v2 1/1
#1 lore raw
Quoted 8 lines · Aurabindo Pillai

From: Joshua Aberback <[email protected]>

[Why&How]
Update SR Exit Latency to fix screen flickering caused due to OTG underflow. This is the recommended value given by the hardware IP team.

Harry

Quoted 10 lines
---
  drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c +0 -0
index a928c1d9a557..fc2dea243d1b 100644

drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c struct _vcs_dpi_soc_bounding_box_st dcn3_02_soc = { · line 170

Quoted 8 lines
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c +1 -1
@@ -164,7 +164,7 @@ struct _vcs_dpi_soc_bounding_box_st dcn3_02_soc = {
 
  		.min_dcfclk = 500.0, /* TODO: set this to actual min DCFCLK */
  		.num_states = 1,
-		.sr_exit_time_us = 12,
+		.sr_exit_time_us = 15.5,
  		.sr_enter_plus_exit_time_us = 20,
  		.urgent_latency_us = 4.0,
  		.urgent_latency_pixel_data_only_us = 4.0,

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#2 lore raw

Thank you Harry.

Quoted 32 lines · Harry Wentland
Quoted 8 lines · Aurabindo Pillai

From: Joshua Aberback <[email protected]>

[Why&How]
Update SR Exit Latency to fix screen flickering caused due to OTG underflow. This is the recommended value given by the hardware IP team.

Harry

Quoted 17 lines

---
  drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c +0 -0
index a928c1d9a557..fc2dea243d1b 100644
@@ -164,7 +164,7 @@ struct _vcs_dpi_soc_bounding_box_st dcn3_02_soc = {

          .min_dcfclk = 500.0, /* TODO: set this to actual min DCFCLK */ .num_states = 1,
-        .sr_exit_time_us = 12,
+        .sr_exit_time_us = 15.5, .sr_enter_plus_exit_time_us = 20, .urgent_latency_us = 4.0, .urgent_latency_pixel_data_only_us = 4.0,

Signature · 6 lines
Regards,
Aurabindo Pillai
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx