]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915/overlay: Drop the DIRTYFB flush
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Oct 2025 18:53:59 +0000 (21:53 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 7 Nov 2025 15:36:30 +0000 (17:36 +0200)
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 <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20251016185408.22735-2-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_overlay.c

index 272f9e7af4d4412920bf3407637ddb8b2583a9fa..8400a0236cdd32de609f21c14317c38d96d26cfb 100644 (file)
@@ -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;