[PATCH] drm/i915/display: Update the DDI_BUF_CTL active timeout for ADL-P

Ankit Nautiyal ankit.k.nautiyal at intel.com
Mon Jan 2 10:52:06 UTC 2023


For ADL-P the timeout for DDI_BUF_CTL active is 500usec.
Update the same as per Bspec:55424.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
---
 drivers/gpu/drm/i915/display/intel_ddi.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c
index 1f5a471a0adf..72f4aad6b731 100644
--- a/drivers/gpu/drm/i915/display/intel_ddi.c
+++ b/drivers/gpu/drm/i915/display/intel_ddi.c
@@ -200,8 +200,11 @@ static void intel_wait_ddi_buf_active(struct drm_i915_private *dev_priv,
 	} else if (DISPLAY_VER(dev_priv) >= 12) {
 		if (intel_phy_is_tc(dev_priv, phy))
 			timeout_us = 3000;
+		else if (IS_ALDERLAKE_P(dev_priv))
+			timeout_us = 500;
 		else
 			timeout_us = 1000;
+
 	} else {
 		timeout_us = 500;
 	}
-- 
2.25.1



More information about the Intel-gfx-trybot mailing list