diff options
author | Marek Olšák <[email protected]> | 2018-07-24 13:14:29 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-08-29 15:31:42 -0400 |
commit | c359880d8be41628128ea699676643f4dd426047 (patch) | |
tree | 07c40019f716f01166cca67bb63f4b3ef36b4065 /src/amd/common | |
parent | 0c5429cc73f6d1787914fcebb4cb95677c8ebb82 (diff) |
radeonsi: add SI_QUERY_TIME_ELAPSED_SDMA for measuring SDMA performance
Diffstat (limited to 'src/amd/common')
-rw-r--r-- | src/amd/common/sid.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/common/sid.h b/src/amd/common/sid.h index d9c4a1a7414..d696c01d4dd 100644 --- a/src/amd/common/sid.h +++ b/src/amd/common/sid.h @@ -9140,6 +9140,10 @@ #define CIK_SDMA_PACKET_TRAP 0x6 #define CIK_SDMA_PACKET_SEMAPHORE 0x7 #define CIK_SDMA_PACKET_CONSTANT_FILL 0xb +#define CIK_SDMA_OPCODE_TIMESTAMP 0xd +#define SDMA_TS_SUB_OPCODE_SET_LOCAL_TIMESTAMP 0x0 +#define SDMA_TS_SUB_OPCODE_GET_LOCAL_TIMESTAMP 0x1 +#define SDMA_TS_SUB_OPCODE_GET_GLOBAL_TIMESTAMP 0x2 #define CIK_SDMA_PACKET_SRBM_WRITE 0xe #define CIK_SDMA_COPY_MAX_SIZE 0x3fffe0 |