From: Ville Syrjälä Date: Tue, 15 Mar 2022 14:00:01 +0000 (+0200) Subject: drm/i915/fbc: Call intel_fbc_activate() directly from frontbuffer flush X-Git-Tag: v6.6.17~3937^2~17^2~1377 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b39d2c6202426b560641e5800c5523851b5db586;p=platform%2Fkernel%2Flinux-rpi.git drm/i915/fbc: Call intel_fbc_activate() directly from frontbuffer flush 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 --- 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);