]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/i915/vrr: Disable CMRR
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 11 Mar 2025 09:37:47 +0000 (15:07 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 13 Mar 2025 12:15:27 +0000 (17:45 +0530)
Switching between variable and fixed timings is possible as for that we
just need to flip between VRR timings. However for CMRR along with the
timings, few other bits also need to be changed on the fly, which might
cause issues. So disable CMRR for now, till we have variable and fixed
timings sorted out.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250311093751.1329043-5-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_vrr.c

index db0ea206e26ea1b87cd755aa19f3f78f67c8167f..a57659820f4be569683d59195ae91af2620c643e 100644 (file)
@@ -182,7 +182,8 @@ is_cmrr_frac_required(struct intel_crtc_state *crtc_state)
        int calculated_refresh_k, actual_refresh_k, pixel_clock_per_line;
        struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode;
 
-       if (!HAS_CMRR(display))
+       /* Avoid CMRR for now till we have VRR with fixed timings working */
+       if (!HAS_CMRR(display) || true)
                return false;
 
        actual_refresh_k =