[PATCH 24/27] drm/i915/psr: Allow PSR for fixed refrsh rate with VRR TG
Ankit Nautiyal
ankit.k.nautiyal at intel.com
Thu Jan 16 08:51:58 UTC 2025
At the moment PSR/PSR2 are not supported with variable refresh rate.
However it can be supported with fixed refresh rate while running with
VRR timing generator.
Enable PSR for fixed refresh rate when using the VRR timing generator.
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
---
drivers/gpu/drm/i915/display/intel_psr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index 5f8ec5c1bccf..78d401bfba1e 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -1681,9 +1681,9 @@ void intel_psr_compute_config(struct intel_dp *intel_dp,
}
/*
- * Currently PSR/PR doesn't work reliably with VRR enabled.
+ * Avoid PSR/PR when not in fixed refresh rate mode.
*/
- if (intel_vrrtg_is_enabled(crtc_state))
+ if (intel_vrrtg_is_enabled(crtc_state) && crtc_state->vrr.mode != INTEL_VRRTG_MODE_FIXED_RR)
return;
crtc_state->has_panel_replay = _panel_replay_compute_config(intel_dp,
--
2.45.2
More information about the Intel-gfx-trybot
mailing list