On Mon, Mar 6, 2017 at 4:49 AM, Michel Dänzer <[email protected]> wrote:
> From: Michel Dänzer <[email protected]>
>
> This was only necessary with older versions for driving the FBO cache
> expiry mechanism.
>
> Signed-off-by: Michel Dänzer <[email protected]>

Reviewed-by: Alex Deucher <[email protected]>

> ---
>  src/amdgpu_kms.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/amdgpu_kms.c b/src/amdgpu_kms.c
> index d48ad480a..31c2e86f2 100644
> --- a/src/amdgpu_kms.c
> +++ b/src/amdgpu_kms.c
> @@ -1035,8 +1035,10 @@ static void 
> AMDGPUBlockHandler_KMS(BLOCKHANDLER_ARGS_DECL)
>                 }
>         }
>
> +#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,19,0,0,0)
>         if (info->use_glamor)
>                 amdgpu_glamor_flush(pScrn);
> +#endif
>
>  #ifdef AMDGPU_PIXMAP_SHARING
>         amdgpu_dirty_update(pScrn);
> --
> 2.11.0
>
> _______________________________________________
> 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

Reply via email to