From b39d2c6202426b560641e5800c5523851b5db586 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ville=20Syrj=C3=A4l=C3=A4?= Date: Tue, 15 Mar 2022 16:00:01 +0200 Subject: [PATCH] drm/i915/fbc: Call intel_fbc_activate() directly from frontbuffer flush MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Remove the pointless detour via __intel_fbc_post_update() during frontbuffer flush. Signed-off-by: Ville Syrjälä Link: https://patchwork.freedesktop.org/patch/msgid/20220315140001.1172-8-ville.syrjala@linux.intel.com Reviewed-by: Mika Kahola --- drivers/gpu/drm/i915/display/intel_fbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c index 040098e..6708353 100644 --- a/drivers/gpu/drm/i915/display/intel_fbc.c +++ b/drivers/gpu/drm/i915/display/intel_fbc.c @@ -1379,7 +1379,7 @@ static void __intel_fbc_flush(struct intel_fbc *fbc, if (fbc->active) intel_fbc_nuke(fbc); else - __intel_fbc_post_update(fbc); + intel_fbc_activate(fbc); out: mutex_unlock(&fbc->lock); -- 2.7.4