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:
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
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
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 {
>>
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_
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