Skip to contentSkip to conversation

Don't call radeon_cs_flush_indirect & radeon_bo_wait in drmmode_copy_fb

PATCH In review Michel Dänzer 2 participants 2 messages Mar 2, 2017 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Don't call radeon_cs_flush_indirect & radeon_bo_wait in drmmode_copy_fb

From: Michel Dänzer <[email protected]>

RADEONWindowExposures_oneshot takes care of it.

---
 src/drmmode_display.c | 3 ---
 1 file changed, 3 deletions(-)
src/drmmode_display.c +0 -3
index a7904a396..ab11583a6 100644
@@ -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;
Signature · 6 lines
2.11.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20170302072359.5152-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org

Reviewed-by
#2 lore raw
Quoted 5 lines · Michel Dänzer

From: Michel Dänzer <[email protected]>

RADEONWindowExposures_oneshot takes care of it.

Quoted 21 lines
---
 src/drmmode_display.c | 3 ---
 1 file changed, 3 deletions(-)
src/drmmode_display.c +0 -4
index a7904a396..ab11583a6 100644
@@ -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

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx