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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

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

Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
---
 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




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux