From: Ville Syrjälä Date: Thu, 16 Oct 2025 18:53:59 +0000 (+0300) Subject: drm/i915/overlay: Drop the DIRTYFB flush X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d2ccd2f1c4ee50ffa4eb98e2b694c758a330225;p=thirdparty%2Fkernel%2Flinux.git drm/i915/overlay: Drop the DIRTYFB flush I don't even know why we have this DIRTYFB flush in the overlay code. We'll anyway call intel_frontbuffer_flip() so there should be no need to pretend that this is some kind of frontbuffer only rendering operation. Acked-by: Jani Nikula Signed-off-by: Ville Syrjälä Link: https://patch.msgid.link/20251016185408.22735-2-ville.syrjala@linux.intel.com --- diff --git a/drivers/gpu/drm/i915/display/intel_overlay.c b/drivers/gpu/drm/i915/display/intel_overlay.c index 272f9e7af4d44..8400a0236cdd3 100644 --- a/drivers/gpu/drm/i915/display/intel_overlay.c +++ b/drivers/gpu/drm/i915/display/intel_overlay.c @@ -821,8 +821,6 @@ static int intel_overlay_do_put_image(struct intel_overlay *overlay, goto out_pin_section; } - i915_gem_object_flush_frontbuffer(new_bo, ORIGIN_DIRTYFB); - if (!overlay->active) { const struct intel_crtc_state *crtc_state = overlay->crtc->config;