[PATCH xf86-video-ati] Don't call radeon_cs_flush_indirect & radeon_bo_wait in drmmode_copy_fb

Michel Dänzer michel at daenzer.net
Thu Mar 2 07:23:59 UTC 2017


From: Michel Dänzer <michel.daenzer at amd.com>

RADEONWindowExposures_oneshot takes care of it.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 src/drmmode_display.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index a7904a396..ab11583a6 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -490,9 +490,6 @@ void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode)
 
 	FreeScratchGC(gc);
 
-	radeon_cs_flush_indirect(pScrn);
-	radeon_bo_wait(info->front_bo);
-
 	pScreen->canDoBGNoneRoot = TRUE;
 	destroy_pixmap_for_fbcon(pScrn);
 	return;
-- 
2.11.0



More information about the amd-gfx mailing list