projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a78a8da
)
drm/vmwgfx: Add SVGA_3D_CMD_DEFINE_GB_SURFACE_V4 to command array.
author
Ian Forbes
<ian.forbes@broadcom.com>
Mon, 8 Jan 2024 21:16:55 +0000
(15:16 -0600)
committer
Zack Rusin
<zack.rusin@broadcom.com>
Fri, 26 Jan 2024 17:50:43 +0000
(12:50 -0500)
Without this definition device errors will display the command name
as (null) when debug logging is enabled.
Signed-off-by: Ian Forbes <ian.forbes@broadcom.com>
Signed-off-by: Zack Rusin <zack.rusin@broadcom.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20240108211655.13187-1-ian.forbes@broadcom.com
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
index 272141b6164c6a0cf92c247a3d79df4de2b18ef2..4c22fe7ec79b74ba9446e391a94068329cfb108d 100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
@@
-3603,6
+3603,8
@@
static const struct vmw_cmd_entry vmw_cmd_entries[SVGA_3D_CMD_MAX] = {
&vmw_cmd_dx_bind_streamoutput, true, false, true),
VMW_CMD_DEF(SVGA_3D_CMD_DX_DEFINE_RASTERIZER_STATE_V2,
&vmw_cmd_dx_so_define, true, false, true),
+ VMW_CMD_DEF(SVGA_3D_CMD_DEFINE_GB_SURFACE_V4,
+ &vmw_cmd_invalid, false, false, true),
};
bool vmw_cmd_describe(const void *buf, u32 *size, char const **cmd)