On Wed, Jul 25, 2018 at 12:38 PM, Michel Dänzer <[email protected]> wrote:
> From: Michel Dänzer <[email protected]>
>
> Not doing this resulted in falling back to software for DRI3 client
> presentation operations with ShadowPrimary.
>
> Signed-off-by: Michel Dänzer <[email protected]>

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

> ---
>  src/amdgpu_dri3.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/amdgpu_dri3.c b/src/amdgpu_dri3.c
> index 87e3d85c1..84a03dc36 100644
> --- a/src/amdgpu_dri3.c
> +++ b/src/amdgpu_dri3.c
> @@ -168,6 +168,7 @@ static PixmapPtr amdgpu_dri3_pixmap_from_fd(ScreenPtr 
> screen,
>
>                         if (priv) {
>                                 amdgpu_set_pixmap_private(pixmap, priv);
> +                               pixmap->usage_hint |= 
> AMDGPU_CREATE_PIXMAP_DRI2;
>                                 return pixmap;
>                         }
>
> --
> 2.18.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