[Skiboot] [PATCH] occ: Update Dynamic Data comment block with new GPU presence fields
Andrew Donnellan
andrew.donnellan at au1.ibm.com
Fri Jun 29 16:33:19 AEST 2018
Document new GPU presence fields in the comment block next to struct
occ_dynamic_data.
Fixes: 9b394a32c8ea ("occ: Add support for GPU presence detection")
Suggested-by: Shilpasri G Bhat <shilpa.bhat at linux.vnet.ibm.com>
Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
---
hw/occ.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hw/occ.c b/hw/occ.c
index 10b2de07dd7a..95577af6d4b5 100644
--- a/hw/occ.c
+++ b/hw/occ.c
@@ -212,6 +212,11 @@ struct occ_response_buffer {
*
* struct occ_dynamic_data - Contains runtime attributes
* @occ_state: Current state of OCC
+ * @major_version: Major version number
+ * @minor_version: Minor version number (backwards compatible)
+ * Version 1 indicates GPU presence populated
+ * @gpus_present: Bitmask of GPUs present (on systems where GPU
+ * presence is detected through APSS)
* @cpu_throttle: Reason for limiting the max pstate
* @mem_throttle: Reason for throttling memory
* @quick_pwr_drop: Indicates if QPD is asserted
--
2.11.0
More information about the Skiboot
mailing list