From aad11979eb5565c2df4fe08a3eb81e529b80b68e Mon Sep 17 00:00:00 2001 From: Chris Freehill Date: Wed, 28 Aug 2019 08:35:52 -0500 Subject: [PATCH] Make gfx10 use OSS defined packet fields Change-Id: Icf622c22a17005aaeafb24f80a414319bebb891f [ROCm/ROCR-Runtime commit: 0ec781478d6f67036c8f22e553081a98a20fa6c9] --- .../runtime/hsa-runtime/core/inc/sdma_registers.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/inc/sdma_registers.h b/projects/rocr-runtime/runtime/hsa-runtime/core/inc/sdma_registers.h index 6e1a7fbf5b..cf91cf0022 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/inc/sdma_registers.h +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/inc/sdma_registers.h @@ -295,7 +295,14 @@ typedef struct SDMA_PKT_FENCE_TAG { struct { unsigned int op : 8; unsigned int sub_op : 8; - unsigned int reserved_0 : 16; + unsigned int mtype : 3; + unsigned int gcc : 1; + unsigned int sys : 1; + unsigned int pad1 : 1; + unsigned int snp : 1; + unsigned int gpa : 1; + unsigned int l2_policy : 2; + unsigned int reserved_0 : 6; }; unsigned int DW_0_DATA; } HEADER_UNION;