From: Ville Syrjälä Date: Thu, 16 Jan 2025 20:16:37 +0000 (+0200) Subject: drm/i915/dsb: Allow DSB to perform commits when VRR is enabled X-Git-Tag: block-6.15-20250403~41^2~16^2~209 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=83db7bf1781dab848adf1280ee45bb4f93b52f27;p=linux-block.git drm/i915/dsb: Allow DSB to perform commits when VRR is enabled 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 Signed-off-by: Ville Syrjälä Reviewed-by: Ankit Nautiyal Link: https://patchwork.freedesktop.org/patch/msgid/20250116201637.22486-9-ville.syrjala@linux.intel.com --- diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c index 68d932d9f5c5..10550bc0778e 100644 --- a/drivers/gpu/drm/i915/display/intel_display.c +++ b/drivers/gpu/drm/i915/display/intel_display.c @@ -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 &&