drm/i915/dsb: Allow DSB to perform commits when VRR is enabled
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Jan 2025 20:16:37 +0000 (22:16 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 21 Jan 2025 15:12:44 +0000 (17:12 +0200)
Now that we know how to issue the push with the DSB we can
allow the DSB to drive the commits even when VRR is active.

Cc: Paz Zcharya <pazz@chromium.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250116201637.22486-9-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_display.c

index 68d932d9f5c5324480d9c1b575122d980ce1cc09..10550bc0778e30f6c449a76e171fe9f61e995a03 100644 (file)
@@ -7694,7 +7694,6 @@ static void intel_atomic_dsb_finish(struct intel_atomic_state *state,
        /* FIXME deal with everything */
        new_crtc_state->use_dsb =
                new_crtc_state->update_planes &&
-               !new_crtc_state->vrr.enable &&
                !new_crtc_state->do_async_flip &&
                !new_crtc_state->has_psr &&
                !new_crtc_state->scaler_state.scaler_users &&