summaryrefslogtreecommitdiffstats
path: root/src/common/gpu_structs.h
diff options
context:
space:
mode:
authorWilliam Bryan <wilbryan@us.ibm.com>2017-08-22 11:50:01 -0500
committerWilliam A. Bryan <wilbryan@us.ibm.com>2017-08-25 12:02:53 -0400
commit3f57751abd8ca0308e3938dc86d5a313b7599ebc (patch)
treeeb5b20878c292a0e1773a049247e25fc3ac77f09 /src/common/gpu_structs.h
parent8e2f38a98ba958b3fe520836cb1f509fa0432030 (diff)
downloadtalos-occ-3f57751abd8ca0308e3938dc86d5a313b7599ebc.tar.gz
talos-occ-3f57751abd8ca0308e3938dc86d5a313b7599ebc.zip
405 Side GPU Core Temp Collection
Change-Id: Ia1b10f5208c49ba168dcf338f0cbeb2c4ab46971 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44982 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/common/gpu_structs.h')
-rw-r--r--src/common/gpu_structs.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/common/gpu_structs.h b/src/common/gpu_structs.h
index 03c8e06..7933adb 100644
--- a/src/common/gpu_structs.h
+++ b/src/common/gpu_structs.h
@@ -57,18 +57,19 @@ typedef enum
typedef enum
{
GPU_REQ_INIT = 0x01, // Init interrupt registers
- GPU_REQ_READ_CAPS_START = 0x02, // Start reading capabilities
- GPU_REQ_READ_CAPS_STOP = 0x03,
- GPU_REQ_READ_CAPS = 0x04,
- GPU_REQ_READ_TEMP_SIMPLE_START = 0x05, // Start reading GPU information
- GPU_REQ_READ_TEMP_SIMPLE_STOP = 0x06, // Read GPU temp register
- GPU_REQ_READ_TEMP_SIMPLE = 0x07, // Start reading GPU temperature
- GPU_REQ_READ_TEMP_START = 0x08, // Start reading GPU information
- GPU_REQ_READ_TEMP_STOP = 0x09, // Read GPU temp register
- GPU_REQ_READ_TEMP = 0x0A, // Start reading GPU temperature
- GPU_REQ_READ_PWR_LIMIT_START = 0x0B, // Start reading GPU information
- GPU_REQ_READ_PWR_LIMIT_STOP = 0x0C, // Read GPU temp register
- GPU_REQ_READ_PWR_LIMIT = 0x0D, // Start reading pwr limit
+ GPU_REQ_READ_TEMP_START = 0x02, // Start reading GPU information
+ GPU_REQ_READ_TEMP_FINISH = 0x03, // Read GPU temp register
+ GPU_REQ_READ_MEM_TEMP_START = 0x04, // Initiate memory temp reading
+ GPU_REQ_READ_MEM_TEMP_2 = 0x05, // mem temp step 2
+ GPU_REQ_READ_MEM_TEMP_3 = 0x06, // mem temp step 3
+ GPU_REQ_READ_MEM_TEMP_FINISH = 0x07, // Get memory temp reading
+ GPU_REQ_READ_CAPS_START = 0x08, // Start reading capabilities
+ GPU_REQ_READ_CAPS_2 = 0x09, // Start reading capabilities
+ GPU_REQ_READ_CAPS_3 = 0x0A, // Start reading capabilities
+ GPU_REQ_READ_CAPS_FINISH = 0x0B,
+ GPU_REQ_READ_PWR_LIMIT_START = 0x0C, // Start reading GPU information
+ GPU_REQ_READ_PWR_LIMIT_STOP = 0x0D, // Read GPU temp register
+ GPU_REQ_READ_PWR_LIMIT = 0x0E, // Start reading pwr limit
GPU_REQ_RESET = 0x60, // Reset
} gpu_op_req_e;
@@ -78,7 +79,7 @@ typedef struct
GpeErrorStruct error;
uint8_t gpu_id;
uint8_t operation;
- uint32_t data[MAX_GPUS];
+ uint64_t data;
} gpu_sm_args_t;
OpenPOWER on IntegriCloud