Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/alpm: Allow LOBF only for platform that have Always on VRR TG

As per bspec the LOBF is allowed when running in fixed refresh rate mode
i.e. when flipline = vmin = vmax and when window1 is non zero. This
implies that we can allow LOBF only when VRR timing generator is running
in the fixed refresh rate mode.

Use the check intel_vrr_always_use_vrr_tg() to avoid LOBF with legacy
timing generator. Also use intel_vrr_is_fixed_rr() to check for fixed
refresh rate mode.

v2: Modify commit message to clarify window1 requirement for LOBF.
(Ville)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Michał Grzelak <michal.grzelak@intel.com>
Link: https://patch.msgid.link/20260204050250.762718-4-ankit.k.nautiyal@intel.com

+2 -2
+2 -2
drivers/gpu/drm/i915/display/intel_alpm.c
··· 351 351 if (crtc_state->has_psr) 352 352 return; 353 353 354 - if (crtc_state->vrr.vmin != crtc_state->vrr.vmax || 355 - crtc_state->vrr.vmin != crtc_state->vrr.flipline) 354 + if (!intel_vrr_always_use_vrr_tg(display) || 355 + !intel_vrr_is_fixed_rr(crtc_state)) 356 356 return; 357 357 358 358 if (!(intel_alpm_aux_wake_supported(intel_dp) ||