[PATCH 21/23] drm/i915/psr: Allow PSR for fixed refrsh rate with VRR TG
Ankit Nautiyal
ankit.k.nautiyal at intel.com
Thu Nov 7 10:29:10 UTC 2024
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index d60d2f38ff80..8098182c195f 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -1564,7 +1564,7 @@ static bool _psr_compute_config(struct intel_dp *intel_dp,
* Current PSR panels don't work reliably with VRR enabled
* So if VRR is enabled, do not enable PSR.
*/
- if (crtc_state->vrr.tg_enable)
+ if (crtc_state->vrr.tg_enable && crtc_state->vrr.mode != INTEL_VRRTG_MODE_FIXED_RR)
return false;
if (!CAN_PSR(intel_dp))
--
2.45.2
More information about the Intel-gfx-trybot
mailing list