summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/gpe_err.h3
-rw-r--r--src/common/gpu_structs.h11
2 files changed, 7 insertions, 7 deletions
diff --git a/src/common/gpe_err.h b/src/common/gpe_err.h
index 23d55d2..9dfe1ca 100644
--- a/src/common/gpe_err.h
+++ b/src/common/gpe_err.h
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER OnChipController Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2017 */
+/* Contributors Listed Below - COPYRIGHT 2011,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -56,5 +56,6 @@
#define GPE_RC_GPU_CMD_NOT_SUPPORTED 0x82 // GPU rejected command with no support
#define GPE_RC_GPU_CMD_FAILED 0x83 // An error occurred in the last GPU operation
#define GPE_RC_GPU_INIT_FAILED 0x84 // Failed to init GPU
+#define GPE_RC_GPU_BUSY 0x85
#endif //_GPE_ERR_H
diff --git a/src/common/gpu_structs.h b/src/common/gpu_structs.h
index 33c79ce..e0fffee 100644
--- a/src/common/gpu_structs.h
+++ b/src/common/gpu_structs.h
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER OnChipController Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2016,2017 */
+/* Contributors Listed Below - COPYRIGHT 2016,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -83,12 +83,12 @@ typedef enum
// Set GPU power cap
GPU_REQ_SET_PWR_LIMIT_1_START = 0x20,
- GPU_REQ_SET_PWR_LIMIT_1_1 = 0x21,
- GPU_REQ_SET_PWR_LIMIT_1_2 = 0x22,
+ GPU_REQ_SET_PWR_LIMIT_1_2 = 0x21,
+ GPU_REQ_SET_PWR_LIMIT_1_3 = 0x22,
GPU_REQ_SET_PWR_LIMIT_1_FINISH = 0x23,
GPU_REQ_SET_PWR_LIMIT_2_START = 0x24,
- GPU_REQ_SET_PWR_LIMIT_2_1 = 0x25,
- GPU_REQ_SET_PWR_LIMIT_2_2 = 0x26,
+ GPU_REQ_SET_PWR_LIMIT_2_2 = 0x25,
+ GPU_REQ_SET_PWR_LIMIT_2_3 = 0x26,
GPU_REQ_SET_PWR_LIMIT_2_FINISH = 0x27,
GPU_REQ_SET_PWR_LIMIT_3_START = 0x28,
GPU_REQ_SET_PWR_LIMIT_3_2 = 0x29,
@@ -98,7 +98,6 @@ typedef enum
GPU_REQ_SET_PWR_LIMIT_4_2 = 0x2D,
GPU_REQ_SET_PWR_LIMIT_4_FINISH = 0x2E,
-
// Start check driver loaded
GPU_REQ_CHECK_DRIVER_START = 0x31,
GPU_REQ_CHECK_DRIVER_2 = 0x32,
OpenPOWER on IntegriCloud