]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/vrr: Use fixed timings for platforms that support VRR
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 24 Mar 2025 13:32:41 +0000 (19:02 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 25 Mar 2025 15:47:25 +0000 (21:17 +0530)
commitdda7dcd9da73c5327aef42b89f0519bb51e84217
tree74bace8e573049cf201934b1dc7204f9b7af8761
parent7895991a29942b7843b14074e661830cb37e6e95
drm/i915/vrr: Use fixed timings for platforms that support VRR

For fixed refresh rate use fixed timings for all platforms that support
VRR. For this add checks to avoid computing and reading VRR for
platforms that do not support VRR.

v2: Avoid touching check for VRR_CTL_FLIP_LINE_EN. (Ville)
v3: Avoid redundant statements in vrr_{compute/get}_config. (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/20250324133248.4071909-10-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_vrr.c