mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 16:21:45 -04:00
drm/i915/lobf: Add fixed refresh rate check in compute_config()
LOBF can be enabled with vrr fixed rate mode, so add check if vmin = vmax = flipline in compute_config(). Signed-off-by: Animesh Manna <animesh.manna@intel.com> Reviewed-by: Jouni Högander <jouni.hogander@intel.com> Link: https://lore.kernel.org/r/20250423092334.2294483-6-animesh.manna@intel.com
This commit is contained in:
@@ -290,6 +290,10 @@ void intel_alpm_lobf_compute_config(struct intel_dp *intel_dp,
|
||||
if (crtc_state->has_psr)
|
||||
return;
|
||||
|
||||
if (crtc_state->vrr.vmin != crtc_state->vrr.vmax ||
|
||||
crtc_state->vrr.vmin != crtc_state->vrr.flipline)
|
||||
return;
|
||||
|
||||
if (!(intel_alpm_aux_wake_supported(intel_dp) ||
|
||||
intel_alpm_aux_less_wake_supported(intel_dp)))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user