gem5 v24.0.0.0
Loading...
Searching...
No Matches
sdma_commands.hh File Reference

Go to the source code of this file.

Macros

#define SDMA_OP_NOP   0
 Commands for the SDMA engine.
 
#define SDMA_OP_COPY   1
 
#define SDMA_OP_WRITE   2
 
#define SDMA_OP_INDIRECT   4
 
#define SDMA_OP_FENCE   5
 
#define SDMA_OP_TRAP   6
 
#define SDMA_OP_SEM   7
 
#define SDMA_OP_POLL_REGMEM   8
 
#define SDMA_OP_COND_EXE   9
 
#define SDMA_OP_ATOMIC   10
 
#define SDMA_OP_CONST_FILL   11
 
#define SDMA_OP_PTEPDE   12
 
#define SDMA_OP_TIMESTAMP   13
 
#define SDMA_OP_SRBM_WRITE   14
 
#define SDMA_OP_PRE_EXE   15
 
#define SDMA_OP_DUMMY_TRAP   16
 
#define SDMA_SUBOP_TIMESTAMP_SET   0
 
#define SDMA_SUBOP_TIMESTAMP_GET   1
 
#define SDMA_SUBOP_TIMESTAMP_GET_GLOBAL   2
 
#define SDMA_SUBOP_COPY_LINEAR   0
 
#define SDMA_SUBOP_COPY_LINEAR_SUB_WIND   4
 
#define SDMA_SUBOP_COPY_TILED   1
 
#define SDMA_SUBOP_COPY_TILED_SUB_WIND   5
 
#define SDMA_SUBOP_COPY_T2T_SUB_WIND   6
 
#define SDMA_SUBOP_COPY_SOA   3
 
#define SDMA_SUBOP_COPY_DIRTY_PAGE   7
 
#define SDMA_SUBOP_COPY_LINEAR_PHY   8
 
#define SDMA_SUBOP_WRITE_LINEAR   0
 
#define SDMA_SUBOP_WRITE_TILED   1
 
#define SDMA_SUBOP_PTEPDE_GEN   0
 
#define SDMA_SUBOP_PTEPDE_COPY   1
 
#define SDMA_SUBOP_PTEPDE_RMW   2
 
#define SDMA_SUBOP_PTEPDE_COPY_BACKWARDS   3
 
#define SDMA_SUBOP_DATA_FILL_MULTI   1
 
#define SDMA_SUBOP_POLL_REG_WRITE_MEM   1
 
#define SDMA_SUBOP_POLL_DBIT_WRITE_MEM   2
 
#define SDMA_SUBOP_POLL_MEM_VERIFY   3
 
#define HEADER_AGENT_DISPATCH   4
 
#define HEADER_BARRIER   5
 
#define SDMA_OP_AQL_COPY   0
 
#define SDMA_OP_AQL_BARRIER_OR   0
 

Macro Definition Documentation

◆ HEADER_AGENT_DISPATCH

#define HEADER_AGENT_DISPATCH   4

Definition at line 78 of file sdma_commands.hh.

◆ HEADER_BARRIER

#define HEADER_BARRIER   5

Definition at line 79 of file sdma_commands.hh.

◆ SDMA_OP_AQL_BARRIER_OR

#define SDMA_OP_AQL_BARRIER_OR   0

Definition at line 81 of file sdma_commands.hh.

◆ SDMA_OP_AQL_COPY

#define SDMA_OP_AQL_COPY   0

Definition at line 80 of file sdma_commands.hh.

◆ SDMA_OP_ATOMIC

#define SDMA_OP_ATOMIC   10

Definition at line 50 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_COND_EXE

#define SDMA_OP_COND_EXE   9

Definition at line 49 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_CONST_FILL

#define SDMA_OP_CONST_FILL   11

Definition at line 51 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_COPY

#define SDMA_OP_COPY   1

Definition at line 42 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_DUMMY_TRAP

#define SDMA_OP_DUMMY_TRAP   16

Definition at line 56 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_FENCE

#define SDMA_OP_FENCE   5

Definition at line 45 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_INDIRECT

#define SDMA_OP_INDIRECT   4

Definition at line 44 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_NOP

#define SDMA_OP_NOP   0

Commands for the SDMA engine.

The header files can be found here:

https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/blob/roc-4.3.x/ drivers/gpu/drm/amd/amdgpu/vega10_sdma_pkt_open.h

Definition at line 41 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_POLL_REGMEM

#define SDMA_OP_POLL_REGMEM   8

Definition at line 48 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_PRE_EXE

#define SDMA_OP_PRE_EXE   15

Definition at line 55 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_PTEPDE

#define SDMA_OP_PTEPDE   12

Definition at line 52 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_SEM

#define SDMA_OP_SEM   7

Definition at line 47 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_SRBM_WRITE

#define SDMA_OP_SRBM_WRITE   14

Definition at line 54 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_TIMESTAMP

#define SDMA_OP_TIMESTAMP   13

Definition at line 53 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_TRAP

#define SDMA_OP_TRAP   6

Definition at line 46 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_OP_WRITE

#define SDMA_OP_WRITE   2

Definition at line 43 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_COPY_DIRTY_PAGE

#define SDMA_SUBOP_COPY_DIRTY_PAGE   7

Definition at line 66 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_COPY_LINEAR

#define SDMA_SUBOP_COPY_LINEAR   0

Definition at line 60 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_COPY_LINEAR_PHY

#define SDMA_SUBOP_COPY_LINEAR_PHY   8

Definition at line 67 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_COPY_LINEAR_SUB_WIND

#define SDMA_SUBOP_COPY_LINEAR_SUB_WIND   4

Definition at line 61 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_COPY_SOA

#define SDMA_SUBOP_COPY_SOA   3

Definition at line 65 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_COPY_T2T_SUB_WIND

#define SDMA_SUBOP_COPY_T2T_SUB_WIND   6

Definition at line 64 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_COPY_TILED

#define SDMA_SUBOP_COPY_TILED   1

Definition at line 62 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_COPY_TILED_SUB_WIND

#define SDMA_SUBOP_COPY_TILED_SUB_WIND   5

Definition at line 63 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_DATA_FILL_MULTI

#define SDMA_SUBOP_DATA_FILL_MULTI   1

Definition at line 74 of file sdma_commands.hh.

◆ SDMA_SUBOP_POLL_DBIT_WRITE_MEM

#define SDMA_SUBOP_POLL_DBIT_WRITE_MEM   2

Definition at line 76 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_POLL_MEM_VERIFY

#define SDMA_SUBOP_POLL_MEM_VERIFY   3

Definition at line 77 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_POLL_REG_WRITE_MEM

#define SDMA_SUBOP_POLL_REG_WRITE_MEM   1

Definition at line 75 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_PTEPDE_COPY

#define SDMA_SUBOP_PTEPDE_COPY   1

Definition at line 71 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_PTEPDE_COPY_BACKWARDS

#define SDMA_SUBOP_PTEPDE_COPY_BACKWARDS   3

Definition at line 73 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_PTEPDE_GEN

#define SDMA_SUBOP_PTEPDE_GEN   0

Definition at line 70 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_PTEPDE_RMW

#define SDMA_SUBOP_PTEPDE_RMW   2

Definition at line 72 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_TIMESTAMP_GET

#define SDMA_SUBOP_TIMESTAMP_GET   1

Definition at line 58 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_TIMESTAMP_GET_GLOBAL

#define SDMA_SUBOP_TIMESTAMP_GET_GLOBAL   2

Definition at line 59 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_TIMESTAMP_SET

#define SDMA_SUBOP_TIMESTAMP_SET   0

Definition at line 57 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_WRITE_LINEAR

#define SDMA_SUBOP_WRITE_LINEAR   0

Definition at line 68 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().

◆ SDMA_SUBOP_WRITE_TILED

#define SDMA_SUBOP_WRITE_TILED   1

Definition at line 69 of file sdma_commands.hh.

Referenced by gem5::SDMAEngine::decodeHeader().


Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0