linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/regs.h

/* SPDX-License-Identifier: MIT */
#ifndef __NVKM_GR_REGS_H__
#define __NVKM_GR_REGS_H__

#define NV04_PGRAPH_DEBUG_0
#define NV04_PGRAPH_DEBUG_1
#define NV04_PGRAPH_DEBUG_2
#define NV04_PGRAPH_DEBUG_3
#define NV10_PGRAPH_DEBUG_4
#define NV03_PGRAPH_INTR
#define NV03_PGRAPH_NSTATUS
#define NV04_PGRAPH_NSTATUS_STATE_IN_USE
#define NV04_PGRAPH_NSTATUS_INVALID_STATE
#define NV04_PGRAPH_NSTATUS_BAD_ARGUMENT
#define NV04_PGRAPH_NSTATUS_PROTECTION_FAULT
#define NV10_PGRAPH_NSTATUS_STATE_IN_USE
#define NV10_PGRAPH_NSTATUS_INVALID_STATE
#define NV10_PGRAPH_NSTATUS_BAD_ARGUMENT
#define NV10_PGRAPH_NSTATUS_PROTECTION_FAULT
#define NV03_PGRAPH_NSOURCE
#define NV03_PGRAPH_NSOURCE_NOTIFICATION
#define NV03_PGRAPH_NSOURCE_DATA_ERROR
#define NV03_PGRAPH_NSOURCE_PROTECTION_ERROR
#define NV03_PGRAPH_NSOURCE_RANGE_EXCEPTION
#define NV03_PGRAPH_NSOURCE_LIMIT_COLOR
#define NV03_PGRAPH_NSOURCE_LIMIT_ZETA
#define NV03_PGRAPH_NSOURCE_ILLEGAL_MTHD
#define NV03_PGRAPH_NSOURCE_DMA_R_PROTECTION
#define NV03_PGRAPH_NSOURCE_DMA_W_PROTECTION
#define NV03_PGRAPH_NSOURCE_FORMAT_EXCEPTION
#define NV03_PGRAPH_NSOURCE_PATCH_EXCEPTION
#define NV03_PGRAPH_NSOURCE_STATE_INVALID
#define NV03_PGRAPH_NSOURCE_DOUBLE_NOTIFY
#define NV03_PGRAPH_NSOURCE_NOTIFY_IN_USE
#define NV03_PGRAPH_NSOURCE_METHOD_CNT
#define NV03_PGRAPH_NSOURCE_BFR_NOTIFICATION
#define NV03_PGRAPH_NSOURCE_DMA_VTX_PROTECTION
#define NV03_PGRAPH_NSOURCE_DMA_WIDTH_A
#define NV03_PGRAPH_NSOURCE_DMA_WIDTH_B
#define NV03_PGRAPH_INTR_EN
#define NV40_PGRAPH_INTR_EN
#define NV_PGRAPH_INTR_NOTIFY
#define NV_PGRAPH_INTR_MISSING_HW
#define NV_PGRAPH_INTR_CONTEXT_SWITCH
#define NV_PGRAPH_INTR_BUFFER_NOTIFY
#define NV_PGRAPH_INTR_ERROR
#define NV10_PGRAPH_CTX_CONTROL
#define NV10_PGRAPH_CTX_USER
#define NV10_PGRAPH_CTX_SWITCH(i)
#define NV04_PGRAPH_CTX_SWITCH1
#define NV10_PGRAPH_CTX_CACHE(i, j)
#define NV04_PGRAPH_CTX_SWITCH2
#define NV04_PGRAPH_CTX_SWITCH3
#define NV04_PGRAPH_CTX_SWITCH4
#define NV04_PGRAPH_CTX_CONTROL
#define NV04_PGRAPH_CTX_USER
#define NV04_PGRAPH_CTX_CACHE1
#define NV03_PGRAPH_CTX_CONTROL
#define NV03_PGRAPH_CTX_USER
#define NV04_PGRAPH_CTX_CACHE2
#define NV04_PGRAPH_CTX_CACHE3
#define NV04_PGRAPH_CTX_CACHE4
#define NV40_PGRAPH_CTXCTL_0304
#define NV40_PGRAPH_CTXCTL_0304_XFER_CTX
#define NV40_PGRAPH_CTXCTL_UCODE_STAT
#define NV40_PGRAPH_CTXCTL_UCODE_STAT_IP_MASK
#define NV40_PGRAPH_CTXCTL_UCODE_STAT_IP_SHIFT
#define NV40_PGRAPH_CTXCTL_UCODE_STAT_OP_MASK
#define NV40_PGRAPH_CTXCTL_0310
#define NV40_PGRAPH_CTXCTL_0310_XFER_SAVE
#define NV40_PGRAPH_CTXCTL_0310_XFER_LOAD
#define NV40_PGRAPH_CTXCTL_030C
#define NV40_PGRAPH_CTXCTL_UCODE_INDEX
#define NV40_PGRAPH_CTXCTL_UCODE_DATA
#define NV40_PGRAPH_CTXCTL_CUR
#define NV40_PGRAPH_CTXCTL_CUR_LOADED
#define NV40_PGRAPH_CTXCTL_CUR_INSTANCE
#define NV40_PGRAPH_CTXCTL_NEXT
#define NV40_PGRAPH_CTXCTL_NEXT_INSTANCE
#define NV50_PGRAPH_CTXCTL_CUR
#define NV50_PGRAPH_CTXCTL_CUR_LOADED
#define NV50_PGRAPH_CTXCTL_CUR_INSTANCE
#define NV50_PGRAPH_CTXCTL_NEXT
#define NV50_PGRAPH_CTXCTL_NEXT_INSTANCE
#define NV03_PGRAPH_ABS_X_RAM
#define NV03_PGRAPH_ABS_Y_RAM
#define NV03_PGRAPH_X_MISC
#define NV03_PGRAPH_Y_MISC
#define NV04_PGRAPH_VALID1
#define NV04_PGRAPH_SOURCE_COLOR
#define NV04_PGRAPH_MISC24_0
#define NV03_PGRAPH_XY_LOGIC_MISC0
#define NV03_PGRAPH_XY_LOGIC_MISC1
#define NV03_PGRAPH_XY_LOGIC_MISC2
#define NV03_PGRAPH_XY_LOGIC_MISC3
#define NV03_PGRAPH_CLIPX_0
#define NV03_PGRAPH_CLIPX_1
#define NV03_PGRAPH_CLIPY_0
#define NV03_PGRAPH_CLIPY_1
#define NV03_PGRAPH_ABS_ICLIP_XMAX
#define NV03_PGRAPH_ABS_ICLIP_YMAX
#define NV03_PGRAPH_ABS_UCLIP_XMIN
#define NV03_PGRAPH_ABS_UCLIP_YMIN
#define NV03_PGRAPH_ABS_UCLIP_XMAX
#define NV03_PGRAPH_ABS_UCLIP_YMAX
#define NV03_PGRAPH_ABS_UCLIPA_XMIN
#define NV03_PGRAPH_ABS_UCLIPA_YMIN
#define NV03_PGRAPH_ABS_UCLIPA_XMAX
#define NV03_PGRAPH_ABS_UCLIPA_YMAX
#define NV04_PGRAPH_MISC24_1
#define NV04_PGRAPH_MISC24_2
#define NV04_PGRAPH_VALID2
#define NV04_PGRAPH_PASSTHRU_0
#define NV04_PGRAPH_PASSTHRU_1
#define NV04_PGRAPH_PASSTHRU_2
#define NV10_PGRAPH_DIMX_TEXTURE
#define NV10_PGRAPH_WDIMX_TEXTURE
#define NV04_PGRAPH_COMBINE_0_ALPHA
#define NV04_PGRAPH_COMBINE_0_COLOR
#define NV04_PGRAPH_COMBINE_1_ALPHA
#define NV04_PGRAPH_COMBINE_1_COLOR
#define NV04_PGRAPH_FORMAT_0
#define NV04_PGRAPH_FORMAT_1
#define NV04_PGRAPH_FILTER_0
#define NV04_PGRAPH_FILTER_1
#define NV03_PGRAPH_MONO_COLOR0
#define NV04_PGRAPH_ROP3
#define NV04_PGRAPH_BETA_AND
#define NV04_PGRAPH_BETA_PREMULT
#define NV04_PGRAPH_LIMIT_VIOL_PIX
#define NV04_PGRAPH_FORMATS
#define NV10_PGRAPH_DEBUG_2
#define NV04_PGRAPH_BOFFSET0
#define NV04_PGRAPH_BOFFSET1
#define NV04_PGRAPH_BOFFSET2
#define NV04_PGRAPH_BOFFSET3
#define NV04_PGRAPH_BOFFSET4
#define NV04_PGRAPH_BOFFSET5
#define NV04_PGRAPH_BBASE0
#define NV04_PGRAPH_BBASE1
#define NV04_PGRAPH_BBASE2
#define NV04_PGRAPH_BBASE3
#define NV04_PGRAPH_BBASE4
#define NV04_PGRAPH_BBASE5
#define NV04_PGRAPH_BPITCH0
#define NV04_PGRAPH_BPITCH1
#define NV04_PGRAPH_BPITCH2
#define NV04_PGRAPH_BPITCH3
#define NV04_PGRAPH_BPITCH4
#define NV04_PGRAPH_BLIMIT0
#define NV04_PGRAPH_BLIMIT1
#define NV04_PGRAPH_BLIMIT2
#define NV04_PGRAPH_BLIMIT3
#define NV04_PGRAPH_BLIMIT4
#define NV04_PGRAPH_BLIMIT5
#define NV04_PGRAPH_BSWIZZLE2
#define NV04_PGRAPH_BSWIZZLE5
#define NV03_PGRAPH_STATUS
#define NV04_PGRAPH_STATUS
#define NV40_PGRAPH_STATUS_SYNC_STALL
#define NV04_PGRAPH_TRAPPED_ADDR
#define NV04_PGRAPH_TRAPPED_DATA
#define NV04_PGRAPH_SURFACE
#define NV10_PGRAPH_TRAPPED_DATA_HIGH
#define NV04_PGRAPH_STATE
#define NV10_PGRAPH_SURFACE
#define NV04_PGRAPH_NOTIFY
#define NV10_PGRAPH_STATE
#define NV10_PGRAPH_NOTIFY

#define NV04_PGRAPH_FIFO

#define NV04_PGRAPH_BPIXEL
#define NV10_PGRAPH_RDI_INDEX
#define NV04_PGRAPH_FFINTFC_ST2
#define NV10_PGRAPH_RDI_DATA
#define NV04_PGRAPH_DMA_PITCH
#define NV10_PGRAPH_FFINTFC_FIFO_PTR
#define NV04_PGRAPH_DVD_COLORFMT
#define NV10_PGRAPH_FFINTFC_ST2
#define NV04_PGRAPH_SCALED_FORMAT
#define NV10_PGRAPH_FFINTFC_ST2_DL
#define NV10_PGRAPH_FFINTFC_ST2_DH
#define NV10_PGRAPH_DMA_PITCH
#define NV10_PGRAPH_DVD_COLORFMT
#define NV10_PGRAPH_SCALED_FORMAT
#define NV20_PGRAPH_CHANNEL_CTX_TABLE
#define NV20_PGRAPH_CHANNEL_CTX_POINTER
#define NV20_PGRAPH_CHANNEL_CTX_XFER
#define NV20_PGRAPH_CHANNEL_CTX_XFER_LOAD
#define NV20_PGRAPH_CHANNEL_CTX_XFER_SAVE
#define NV04_PGRAPH_PATT_COLOR0
#define NV04_PGRAPH_PATT_COLOR1
#define NV04_PGRAPH_PATTERN
#define NV04_PGRAPH_PATTERN_SHAPE
#define NV04_PGRAPH_CHROMA
#define NV04_PGRAPH_CONTROL0
#define NV04_PGRAPH_CONTROL1
#define NV04_PGRAPH_CONTROL2
#define NV04_PGRAPH_BLEND
#define NV04_PGRAPH_STORED_FMT
#define NV04_PGRAPH_PATT_COLORRAM
#define NV20_PGRAPH_TILE(i)
#define NV20_PGRAPH_TLIMIT(i)
#define NV20_PGRAPH_TSIZE(i)
#define NV20_PGRAPH_TSTATUS(i)
#define NV20_PGRAPH_ZCOMP(i)
#define NV41_PGRAPH_ZCOMP0(i)
#define NV10_PGRAPH_TILE(i)
#define NV10_PGRAPH_TLIMIT(i)
#define NV10_PGRAPH_TSIZE(i)
#define NV10_PGRAPH_TSTATUS(i)
#define NV04_PGRAPH_U_RAM
#define NV47_PGRAPH_TILE(i)
#define NV47_PGRAPH_TLIMIT(i)
#define NV47_PGRAPH_TSIZE(i)
#define NV47_PGRAPH_TSTATUS(i)
#define NV04_PGRAPH_V_RAM
#define NV04_PGRAPH_W_RAM
#define NV47_PGRAPH_ZCOMP0(i)
#define NV10_PGRAPH_COMBINER0_IN_ALPHA
#define NV10_PGRAPH_COMBINER1_IN_ALPHA
#define NV10_PGRAPH_COMBINER0_IN_RGB
#define NV10_PGRAPH_COMBINER1_IN_RGB
#define NV10_PGRAPH_COMBINER_COLOR0
#define NV10_PGRAPH_COMBINER_COLOR1
#define NV10_PGRAPH_COMBINER0_OUT_ALPHA
#define NV10_PGRAPH_COMBINER1_OUT_ALPHA
#define NV10_PGRAPH_COMBINER0_OUT_RGB
#define NV10_PGRAPH_COMBINER1_OUT_RGB
#define NV10_PGRAPH_COMBINER_FINAL0
#define NV10_PGRAPH_COMBINER_FINAL1
#define NV10_PGRAPH_WINDOWCLIP_HORIZONTAL
#define NV10_PGRAPH_WINDOWCLIP_VERTICAL
#define NV10_PGRAPH_XFMODE0
#define NV10_PGRAPH_XFMODE1
#define NV10_PGRAPH_GLOBALSTATE0
#define NV10_PGRAPH_GLOBALSTATE1
#define NV10_PGRAPH_PIPE_ADDRESS
#define NV10_PGRAPH_PIPE_DATA
#define NV04_PGRAPH_DMA_START_0
#define NV04_PGRAPH_DMA_START_1
#define NV04_PGRAPH_DMA_LENGTH
#define NV04_PGRAPH_DMA_MISC
#define NV04_PGRAPH_DMA_DATA_0
#define NV04_PGRAPH_DMA_DATA_1
#define NV04_PGRAPH_DMA_RM
#define NV04_PGRAPH_DMA_A_XLATE_INST
#define NV04_PGRAPH_DMA_A_CONTROL
#define NV04_PGRAPH_DMA_A_LIMIT
#define NV04_PGRAPH_DMA_A_TLB_PTE
#define NV04_PGRAPH_DMA_A_TLB_TAG
#define NV04_PGRAPH_DMA_A_ADJ_OFFSET
#define NV04_PGRAPH_DMA_A_OFFSET
#define NV04_PGRAPH_DMA_A_SIZE
#define NV04_PGRAPH_DMA_A_Y_SIZE
#define NV04_PGRAPH_DMA_B_XLATE_INST
#define NV04_PGRAPH_DMA_B_CONTROL
#define NV04_PGRAPH_DMA_B_LIMIT
#define NV04_PGRAPH_DMA_B_TLB_PTE
#define NV04_PGRAPH_DMA_B_TLB_TAG
#define NV04_PGRAPH_DMA_B_ADJ_OFFSET
#define NV04_PGRAPH_DMA_B_OFFSET
#define NV04_PGRAPH_DMA_B_SIZE
#define NV04_PGRAPH_DMA_B_Y_SIZE
#define NV47_PGRAPH_ZCOMP1(i)
#define NV40_PGRAPH_TILE1(i)
#define NV40_PGRAPH_TLIMIT1(i)
#define NV40_PGRAPH_TSIZE1(i)
#define NV40_PGRAPH_TSTATUS1(i)
#define NV40_PGRAPH_ZCOMP1(i)
#define NV41_PGRAPH_ZCOMP1(i)

#endif