> -----Original Message-----
> From: amd-gfx [mailto:[email protected]] On Behalf
> Of Qiang Yu
> Sent: Monday, August 22, 2016 7:13 AM
> To: [email protected]
> Cc: Yu, Qiang
> Subject: [PATCH xf86-video-amdgpu] Fix amdgpu_dri2_exchange_buffers
> width/height miss copy
> 
> Signed-off-by: Qiang Yu <[email protected]>

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

> ---
>  src/amdgpu_dri2.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/amdgpu_dri2.c b/src/amdgpu_dri2.c
> index 03e3a0b..de701c2 100644
> --- a/src/amdgpu_dri2.c
> +++ b/src/amdgpu_dri2.c
> @@ -665,7 +665,7 @@ amdgpu_dri2_exchange_buffers(DrawablePtr draw,
> DRI2BufferPtr front,
> 
>       region.extents.x1 = region.extents.y1 = 0;
>       region.extents.x2 = front_priv->pixmap->drawable.width;
> -     region.extents.y2 = front_priv->pixmap->drawable.width;
> +     region.extents.y2 = front_priv->pixmap->drawable.height;
>       region.data = NULL;
>       DamageRegionAppend(&front_priv->pixmap->drawable, &region);
> 
> --
> 1.9.1
> 
> _______________________________________________
> 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