summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2015-05-02 12:10:04 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2015-06-12 23:25:11 +0300
commitbbdfa9eeb6dd015f22479368d2440d62785a4bb8 (patch)
tree33931920ba340f551e0d6deb1c2bffdc46a11fd4
parentcf13b0b3df3946ce01acd0e9341a5fcd42adf0bf (diff)
Add missing DoorbellType field to HSA_CAPABILITY
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
-rw-r--r--include/hsakmttypes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/hsakmttypes.h b/include/hsakmttypes.h
index ec10255..a7e0a81 100644
--- a/include/hsakmttypes.h
+++ b/include/hsakmttypes.h
@@ -168,7 +168,10 @@ typedef union
unsigned int WatchPointsSupported: 1; // Indicates if Watchpoints are available on the node.
unsigned int WatchPointsTotalBits: 4; // ld(Watchpoints) available. To determine the number use 2^value
- unsigned int Reserved : 20;
+ unsigned int DoorbellType : 2; // 0: This node has pre-1.0 doorbell characteristic
+ // 1: This node has 1.0 doorbell characteristic
+ // 2,3: reserved for future use
+ unsigned int Reserved : 18;
} ui32;
} HSA_CAPABILITY;