[PATCH v2 5/5] drm/i915/display: Increase number of fast wake precharge pulses

Jouni Högander jouni.hogander at intel.com
Thu Feb 22 11:57:28 UTC 2024


Increasing number of fast wake sync pulses seem to fix problems with
certain PSR panels. This should be ok for other panels as well as the eDP
specification allows 10...16 precharge pulses and we are still within that
range.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/9739
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp_aux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp_aux.c b/drivers/gpu/drm/i915/display/intel_dp_aux.c
index 7a5cfd77d43b..6e8ccaed0f9a 100644
--- a/drivers/gpu/drm/i915/display/intel_dp_aux.c
+++ b/drivers/gpu/drm/i915/display/intel_dp_aux.c
@@ -145,7 +145,7 @@ static int intel_dp_aux_sync_len(void)
 
 u8 intel_dp_aux_fw_sync_len(void)
 {
-	u8 precharge = 10; /* 10-16 */
+	u8 precharge = 12; /* 10-16 */
 	u8 preamble = 8;
 
 	return precharge + preamble;
-- 
2.34.1



More information about the Intel-gfx mailing list