[Mesa-dev] [PATCH] svga: add missing padding to SVGA3dSize

2015-02-22 Thread Van Der Wath, DanielX J
From: Daniel van der Wath The kernel side equivalent of struct SVGA3dSize (struct drm_vmw_size) has an extra padding word that SVGA3dSize lacks. This was causing data to be written past the end of "size" in vmw_drm_surface_from_handle(), corrupting other data and in this case leading to Weston be

Re: [Mesa-dev] [PATCH] svga: add missing padding to SVGA3dSize

2015-02-20 Thread Sinclair Yeh
On Fri, Feb 20, 2015 at 09:22:20AM +, Van Der Wath, DanielX J wrote: > From: Daniel van der Wath > > The kernel side equivalent of struct SVGA3dSize (struct drm_vmw_size) has an > extra padding word that SVGA3dSize lacks. This was causing data to be written > past the end of "size" in vmw_drm