[PATCH 10/12] drm/i915/display: Extend WA 14015406119 for PSR1/PSR2
Ankit Nautiyal
ankit.k.nautiyal at intel.com
Mon Jul 1 04:41:05 UTC 2024
Wa_14015406119 is required for PSR1/2 while working with fixed refresh
rate with VRR timing generator.
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
---
drivers/gpu/drm/i915/display/intel_display.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index c39b962b2ca8..400359593a37 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -3952,7 +3952,8 @@ void intel_crtc_adjust_vblank_delay(struct intel_crtc_state *crtc_state,
* crtc_vdisplay from crtc_vblank_start, so incrementing crtc_vblank_start
* by 1 if both are equal.
*/
- if (crtc_state->vrr.enable && crtc_state->has_panel_replay &&
+ if (crtc_state->vrr.enable &&
+ (crtc_state->has_panel_replay || crtc_state->has_psr || crtc_state->has_sel_update) &&
adjusted_mode->crtc_vblank_start == adjusted_mode->crtc_vdisplay &&
IS_DISPLAY_VER(to_i915(crtc->base.dev), 13, 14))
adjusted_mode->crtc_vblank_start += 1;
--
2.40.1
More information about the Intel-gfx-trybot
mailing list