drm/vmwgfx: Enable SVGA_3D_CMD_DX_SET_PREDICATION
authorCharmaine Lee <charmainel@vmware.com>
Tue, 12 Apr 2016 15:14:23 +0000 (08:14 -0700)
committerSinclair Yeh <syeh@vmware.com>
Thu, 28 Apr 2016 18:07:15 +0000 (11:07 -0700)
Fixes piglit tests nv_conditional_render-* crashes.

Signed-off-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c

index 723ba16c60844348f8627231912027fa3b85be9d..541b34077de27dbc6fe3d60b3f7b5cae790d26e3 100644 (file)
@@ -3305,7 +3305,7 @@ static const struct vmw_cmd_entry vmw_cmd_entries[SVGA_3D_CMD_MAX] = {
                    true, false, true),
        VMW_CMD_DEF(SVGA_3D_CMD_DX_READBACK_QUERY, &vmw_cmd_invalid,
                    true, false, true),
-       VMW_CMD_DEF(SVGA_3D_CMD_DX_SET_PREDICATION, &vmw_cmd_invalid,
+       VMW_CMD_DEF(SVGA_3D_CMD_DX_SET_PREDICATION, &vmw_cmd_dx_cid_check,
                    true, false, true),
        VMW_CMD_DEF(SVGA_3D_CMD_DX_SET_VIEWPORTS, &vmw_cmd_dx_cid_check,
                    true, false, true),