Re: [bug report] drm/vmwgfx: Initial DX support

2017-11-28 Thread Thomas Hellstrom
Hi, Dan. Thanks for the report. I'll try to figure out a fix. /Thomas On 11/28/2017 03:30 PM, Dan Carpenter wrote: Hello Thomas Hellstrom, The patch d80efd5cb3de: "drm/vmwgfx: Initial DX support" from Aug 10, 2015, leads to the following static checker warning:

[bug report] drm/vmwgfx: Initial DX support

2017-11-28 Thread Dan Carpenter
Hello Thomas Hellstrom, The patch d80efd5cb3de: "drm/vmwgfx: Initial DX support" from Aug 10, 2015, leads to the following static checker warning: drivers/gpu/drm/vmwgfx/vmwgfx_so.c:335 vmw_view_add() error: buffer overflow 'vmw_view_define_sizes' 3 <= 3

drm/vmwgfx: Initial DX support

2016-04-28 Thread Dan Carpenter
Hello Thomas Hellstrom, The patch d80efd5cb3de: "drm/vmwgfx: Initial DX support" from Aug 10, 2015, leads to the following static checker warning: drivers/gpu/drm/vmwgfx/vmwgfx_so.c:335 vmw_view_add() error: buffer overflow 'vmw_view_define_sizes' 3 <= 3

[PATCH 3/7] drm/vmwgfx: Initial DX support

2015-08-21 Thread Thomas Hellstrom
On 08/21/2015 02:19 PM, Emil Velikov wrote: > Hi Thomas, > > On 13 August 2015 at 06:49, Thomas Hellstrom wrote: > [snip] >> --- a/include/uapi/drm/vmwgfx_drm.h >> +++ b/include/uapi/drm/vmwgfx_drm.h >> @@ -826,7 +830,6 @@ struct drm_vmw_update_layout_arg { >> enum drm_vmw_shader_type { >>

[PATCH 3/7] drm/vmwgfx: Initial DX support

2015-08-21 Thread Emil Velikov
Hi Thomas, On 13 August 2015 at 06:49, Thomas Hellstrom wrote: [snip] > --- a/include/uapi/drm/vmwgfx_drm.h > +++ b/include/uapi/drm/vmwgfx_drm.h > @@ -826,7 +830,6 @@ struct drm_vmw_update_layout_arg { > enum drm_vmw_shader_type { > drm_vmw_shader_type_vs = 0, > drm_vmw_shader_

[PATCH 3/7] drm/vmwgfx: Initial DX support

2015-08-12 Thread Thomas Hellstrom
Initial DX support. Co-authored with Sinclair Yeh, Charmaine Lee and Jakob Bornecrantz. Signed-off-by: Thomas Hellstrom Signed-off-by: Sinclair Yeh Signed-off-by: Charmaine Lee --- drivers/gpu/drm/vmwgfx/Makefile |1 + drivers/gpu/drm/vmwgfx/vmwgfx_binding.c | 1294