[Intel-gfx] [PATCH 7/7] drm/i915/fbc: Call intel_fbc_activate() directly from frontbuffer flush

Ville Syrjala ville.syrjala at linux.intel.com
Tue Mar 15 14:00:01 UTC 2022


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Remove the pointless detour via __intel_fbc_post_update() during
frontbuffer flush.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 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 0187c61fa063..8720344cf48e 100644
--- a/drivers/gpu/drm/i915/display/intel_fbc.c
+++ b/drivers/gpu/drm/i915/display/intel_fbc.c
@@ -1378,7 +1378,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.34.1



More information about the Intel-gfx mailing list