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

Alex Deucher alexdeucher at gmail.com
Thu Mar 2 14:19:47 UTC 2017


On Thu, Mar 2, 2017 at 2:23 AM, Michel Dänzer <michel at daenzer.net> wrote:
> 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>

Reviewed-by: Alex Deucher <alexander.deucher 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
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list