linux/drivers/gpu/drm/xe/instructions/xe_gfxpipe_commands.h

/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2023 Intel Corporation
 */

#ifndef _XE_GFXPIPE_COMMANDS_H_
#define _XE_GFXPIPE_COMMANDS_H_

#include "instructions/xe_instr_defs.h"

#define GFXPIPE_PIPELINE
#define PIPELINE_COMMON
#define PIPELINE_SINGLE_DW
#define PIPELINE_COMPUTE
#define PIPELINE_3D

#define GFXPIPE_OPCODE
#define GFXPIPE_SUBOPCODE

#define GFXPIPE_MATCH_MASK

#define GFXPIPE_COMMON_CMD(opcode, subopcode)

#define GFXPIPE_SINGLE_DW_CMD(opcode, subopcode)

#define GFXPIPE_3D_CMD(opcode, subopcode)

#define GFXPIPE_COMPUTE_CMD(opcode, subopcode)

#define STATE_BASE_ADDRESS
#define STATE_SIP
#define GPGPU_CSR_BASE_ADDRESS
#define STATE_COMPUTE_MODE
#define CMD_3DSTATE_BTD
#define STATE_SYSTEM_MEM_FENCE_ADDRESS
#define STATE_CONTEXT_DATA_BASE_ADDRESS

#define CMD_3DSTATE_VF_STATISTICS

#define PIPELINE_SELECT

#define CMD_3DSTATE_DRAWING_RECTANGLE_FAST
#define CMD_3DSTATE_CLEAR_PARAMS
#define CMD_3DSTATE_DEPTH_BUFFER
#define CMD_3DSTATE_STENCIL_BUFFER
#define CMD_3DSTATE_HIER_DEPTH_BUFFER
#define CMD_3DSTATE_VERTEX_BUFFERS
#define CMD_3DSTATE_VERTEX_ELEMENTS
#define CMD_3DSTATE_INDEX_BUFFER
#define CMD_3DSTATE_VF
#define CMD_3DSTATE_MULTISAMPLE
#define CMD_3DSTATE_CC_STATE_POINTERS
#define CMD_3DSTATE_SCISSOR_STATE_POINTERS
#define CMD_3DSTATE_VS
#define CMD_3DSTATE_GS
#define CMD_3DSTATE_CLIP
#define CMD_3DSTATE_SF
#define CMD_3DSTATE_WM
#define CMD_3DSTATE_CONSTANT_VS
#define CMD_3DSTATE_CONSTANT_GS
#define CMD_3DSTATE_CONSTANT_PS
#define CMD_3DSTATE_SAMPLE_MASK
#define CMD_3DSTATE_CONSTANT_HS
#define CMD_3DSTATE_CONSTANT_DS
#define CMD_3DSTATE_HS
#define CMD_3DSTATE_TE
#define CMD_3DSTATE_DS
#define CMD_3DSTATE_STREAMOUT
#define CMD_3DSTATE_SBE
#define CMD_3DSTATE_PS
#define CMD_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP
#define CMD_3DSTATE_CPS_POINTERS
#define CMD_3DSTATE_VIEWPORT_STATE_POINTERS_CC
#define CMD_3DSTATE_BLEND_STATE_POINTERS
#define CMD_3DSTATE_BINDING_TABLE_POINTERS_VS
#define CMD_3DSTATE_BINDING_TABLE_POINTERS_HS
#define CMD_3DSTATE_BINDING_TABLE_POINTERS_DS
#define CMD_3DSTATE_BINDING_TABLE_POINTERS_GS
#define CMD_3DSTATE_BINDING_TABLE_POINTERS_PS
#define CMD_3DSTATE_SAMPLER_STATE_POINTERS_VS
#define CMD_3DSTATE_SAMPLER_STATE_POINTERS_HS
#define CMD_3DSTATE_SAMPLER_STATE_POINTERS_DS
#define CMD_3DSTATE_SAMPLER_STATE_POINTERS_GS
#define CMD_3DSTATE_SAMPLER_STATE_POINTERS_PS
#define CMD_3DSTATE_VF_INSTANCING
#define CMD_3DSTATE_VF_SGVS
#define CMD_3DSTATE_VF_TOPOLOGY
#define CMD_3DSTATE_WM_CHROMAKEY
#define CMD_3DSTATE_PS_BLEND
#define CMD_3DSTATE_WM_DEPTH_STENCIL
#define CMD_3DSTATE_PS_EXTRA
#define CMD_3DSTATE_RASTER
#define CMD_3DSTATE_SBE_SWIZ
#define CMD_3DSTATE_WM_HZ_OP
#define CMD_3DSTATE_VF_COMPONENT_PACKING
#define CMD_3DSTATE_VF_SGVS_2
#define CMD_3DSTATE_VFG
#define CMD_3DSTATE_URB_ALLOC_VS
#define CMD_3DSTATE_URB_ALLOC_HS
#define CMD_3DSTATE_URB_ALLOC_DS
#define CMD_3DSTATE_URB_ALLOC_GS
#define CMD_3DSTATE_SO_BUFFER_INDEX_0
#define CMD_3DSTATE_SO_BUFFER_INDEX_1
#define CMD_3DSTATE_SO_BUFFER_INDEX_2
#define CMD_3DSTATE_SO_BUFFER_INDEX_3
#define CMD_3DSTATE_PRIMITIVE_REPLICATION
#define CMD_3DSTATE_TBIMR_TILE_PASS_INFO
#define CMD_3DSTATE_AMFS
#define CMD_3DSTATE_DEPTH_BOUNDS
#define CMD_3DSTATE_AMFS_TEXTURE_POINTERS
#define CMD_3DSTATE_CONSTANT_TS_POINTER
#define CMD_3DSTATE_MESH_CONTROL
#define CMD_3DSTATE_MESH_DISTRIB
#define CMD_3DSTATE_TASK_REDISTRIB
#define CMD_3DSTATE_MESH_SHADER
#define CMD_3DSTATE_MESH_SHADER_DATA
#define CMD_3DSTATE_TASK_CONTROL
#define CMD_3DSTATE_TASK_SHADER
#define CMD_3DSTATE_TASK_SHADER_DATA
#define CMD_3DSTATE_URB_ALLOC_MESH
#define CMD_3DSTATE_URB_ALLOC_TASK
#define CMD_3DSTATE_CLIP_MESH
#define CMD_3DSTATE_SBE_MESH
#define CMD_3DSTATE_CPSIZE_CONTROL_BUFFER

#define CMD_3DSTATE_DRAWING_RECTANGLE
#define CMD_3DSTATE_CHROMA_KEY
#define CMD_3DSTATE_POLY_STIPPLE_OFFSET
#define CMD_3DSTATE_POLY_STIPPLE_PATTERN
#define CMD_3DSTATE_LINE_STIPPLE
#define CMD_3DSTATE_AA_LINE_PARAMETERS
#define CMD_3DSTATE_MONOFILTER_SIZE
#define CMD_3DSTATE_PUSH_CONSTANT_ALLOC_VS
#define CMD_3DSTATE_PUSH_CONSTANT_ALLOC_HS
#define CMD_3DSTATE_PUSH_CONSTANT_ALLOC_DS
#define CMD_3DSTATE_PUSH_CONSTANT_ALLOC_GS
#define CMD_3DSTATE_PUSH_CONSTANT_ALLOC_PS
#define CMD_3DSTATE_SO_DECL_LIST
#define CMD_3DSTATE_SO_DECL_LIST_DW_LEN
#define CMD_3DSTATE_SO_BUFFER
#define CMD_3DSTATE_BINDING_TABLE_POOL_ALLOC
#define CMD_3DSTATE_SAMPLE_PATTERN
#define CMD_3DSTATE_3D_MODE
#define CMD_3DSTATE_SUBSLICE_HASH_TABLE
#define CMD_3DSTATE_SLICE_TABLE_STATE_POINTERS
#define CMD_3DSTATE_PTBR_TILE_PASS_INFO

#endif