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

2017-03-02 Thread Alex Deucher
On Thu, Mar 2, 2017 at 2:23 AM, Michel Dänzer  wrote:
> From: Michel Dänzer 
>
> RADEONWindowExposures_oneshot takes care of it.
>
> Signed-off-by: Michel Dänzer 

Reviewed-by: Alex Deucher 

> ---
>  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
>
> ___
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


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

2017-03-01 Thread Michel Dänzer
From: Michel Dänzer 

RADEONWindowExposures_oneshot takes care of it.

Signed-off-by: Michel Dänzer 
---
 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

___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx