Skip to content

Commit 3d14395

Browse files
deepak-rawatRoland Scheidegger
authored andcommitted
drm/vmwgfx: Deprecate logic ops commands
Logic ops commands are marked as deprecated by virtual device and were never used by vmwgfx. Signed-off-by: Deepak Rawat <[email protected]> Reviewed-by: Thomas Hellström (VMware) <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Signed-off-by: Roland Scheidegger <[email protected]>
1 parent 0652ff3 commit 3d14395

File tree

2 files changed

+12
-18
lines changed

2 files changed

+12
-18
lines changed

drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ typedef enum {
104104
SVGA_3D_CMD_DEAD1 = 1083,
105105
SVGA_3D_CMD_DEAD2 = 1084,
106106

107-
SVGA_3D_CMD_LOGICOPS_BITBLT = 1085,
108-
SVGA_3D_CMD_LOGICOPS_TRANSBLT = 1086,
109-
SVGA_3D_CMD_LOGICOPS_STRETCHBLT = 1087,
110-
SVGA_3D_CMD_LOGICOPS_COLORFILL = 1088,
111-
SVGA_3D_CMD_LOGICOPS_ALPHABLEND = 1089,
112-
SVGA_3D_CMD_LOGICOPS_CLEARTYPEBLEND = 1090,
107+
SVGA_3D_CMD_DEAD12 = 1085,
108+
SVGA_3D_CMD_DEAD13 = 1086,
109+
SVGA_3D_CMD_DEAD14 = 1087,
110+
SVGA_3D_CMD_DEAD15 = 1088,
111+
SVGA_3D_CMD_DEAD16 = 1089,
112+
SVGA_3D_CMD_DEAD17 = 1090,
113113

114114
SVGA_3D_CMD_SET_OTABLE_BASE = 1091,
115115
SVGA_3D_CMD_READBACK_OTABLE = 1092,

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2922,18 +2922,12 @@ static const struct vmw_cmd_entry vmw_cmd_entries[SVGA_3D_CMD_MAX] = {
29222922
false, false, false),
29232923
VMW_CMD_DEF(SVGA_3D_CMD_DEAD2, &vmw_cmd_invalid,
29242924
false, false, false),
2925-
VMW_CMD_DEF(SVGA_3D_CMD_LOGICOPS_BITBLT, &vmw_cmd_invalid,
2926-
false, false, false),
2927-
VMW_CMD_DEF(SVGA_3D_CMD_LOGICOPS_TRANSBLT, &vmw_cmd_invalid,
2928-
false, false, false),
2929-
VMW_CMD_DEF(SVGA_3D_CMD_LOGICOPS_STRETCHBLT, &vmw_cmd_invalid,
2930-
false, false, false),
2931-
VMW_CMD_DEF(SVGA_3D_CMD_LOGICOPS_COLORFILL, &vmw_cmd_invalid,
2932-
false, false, false),
2933-
VMW_CMD_DEF(SVGA_3D_CMD_LOGICOPS_ALPHABLEND, &vmw_cmd_invalid,
2934-
false, false, false),
2935-
VMW_CMD_DEF(SVGA_3D_CMD_LOGICOPS_CLEARTYPEBLEND, &vmw_cmd_invalid,
2936-
false, false, false),
2925+
VMW_CMD_DEF(SVGA_3D_CMD_DEAD12, &vmw_cmd_invalid, false, false, false),
2926+
VMW_CMD_DEF(SVGA_3D_CMD_DEAD13, &vmw_cmd_invalid, false, false, false),
2927+
VMW_CMD_DEF(SVGA_3D_CMD_DEAD14, &vmw_cmd_invalid, false, false, false),
2928+
VMW_CMD_DEF(SVGA_3D_CMD_DEAD15, &vmw_cmd_invalid, false, false, false),
2929+
VMW_CMD_DEF(SVGA_3D_CMD_DEAD16, &vmw_cmd_invalid, false, false, false),
2930+
VMW_CMD_DEF(SVGA_3D_CMD_DEAD17, &vmw_cmd_invalid, false, false, false),
29372931
VMW_CMD_DEF(SVGA_3D_CMD_SET_OTABLE_BASE, &vmw_cmd_invalid,
29382932
false, false, true),
29392933
VMW_CMD_DEF(SVGA_3D_CMD_READBACK_OTABLE, &vmw_cmd_invalid,

0 commit comments

Comments
 (0)