[PATCH xf86-video-amdgpu 9/9] Don't call amdgpu_glamor_flush in drmmode_copy_fb

Michel Dänzer michel at daenzer.net
Fri Mar 3 09:07:45 UTC 2017


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

AMDGPUWindowExposures_oneshot takes care of it.

(Ported from radeon commit d63881623f0686a66a2e3e3c1f84e496aa52ec6b)

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

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 406b5eed6..2cdea90ad 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -429,8 +429,6 @@ void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode)
 
 	FreeScratchGC(gc);
 
-	amdgpu_glamor_finish(pScrn);
-
 	pScreen->canDoBGNoneRoot = TRUE;
 
 	if (info->fbcon_pixmap)
-- 
2.11.0



More information about the amd-gfx mailing list