]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/vrr: Use optimized guardband whenever VRR TG is active
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Fri, 17 Oct 2025 12:35:04 +0000 (18:05 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Sat, 18 Oct 2025 02:11:22 +0000 (07:41 +0530)
commit4ba596539e9836b8941b408769b04e1befc74364
tree4e20deb46887b35753f21ef9a186bf3a3ef38dd9
parentb2f88d7d5a977120bb9e42af686eb5454d128682
drm/i915/vrr: Use optimized guardband whenever VRR TG is active

Currently the guardband is optimized only for platforms where the
VRR timing generator is always ON.

Extend the usage of optimized guardband to all VRR supporting platforms.

v2: Drop check for `crtc_state->vrr.enable` and just return true
    unconditionally from intel_vrr_use_optimized_guardband(). (Ville)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/20251017123504.2247954-6-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_vrr.c