From: Ville Syrjälä <[email protected]>

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.

Signed-off-by: Ville Syrjälä <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_overlay.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_overlay.c 
b/drivers/gpu/drm/i915/display/intel_overlay.c
index 272f9e7af4d4..8400a0236cdd 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;
-- 
2.49.1

Reply via email to