[PATCH 10/10] drm/i915/vrr: Add support for fixed_rr from MTL

Ankit Nautiyal ankit.k.nautiyal at intel.com
Tue Jun 18 03:49:53 UTC 2024


Use VRR TG from MTL onwards for fixed refresh rate.

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

diff --git a/drivers/gpu/drm/i915/display/intel_vrr.c b/drivers/gpu/drm/i915/display/intel_vrr.c
index 240bfb5633ad..b95592b72f50 100644
--- a/drivers/gpu/drm/i915/display/intel_vrr.c
+++ b/drivers/gpu/drm/i915/display/intel_vrr.c
@@ -189,9 +189,9 @@ intel_vrr_compute_config(struct intel_crtc_state *crtc_state,
 	if (HAS_LRR(i915))
 		crtc_state->update_lrr = true;
 
-	if (!crtc_state->uapi.vrr_enabled && DISPLAY_VER(i915) >= 20) {
+	if (!crtc_state->uapi.vrr_enabled && DISPLAY_VER(i915) >= 14) {
 		/*
-		 * for LNL+ if panel supports VRR and user has not set VRR,
+		 * for MTL+ if panel supports VRR and user has not set VRR,
 		 * always go for fixed average Vtotal mode.
 		 */
 		crtc_state->vrr.vmin = adjusted_mode->crtc_vtotal;
-- 
2.40.1



More information about the Intel-gfx-trybot mailing list