aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2018-06-29 16:33:19 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-07-03 01:25:36 -0500
commit6889a6134960eabb3573cdcac89a091928b3fa03 (patch)
tree9f0983d7ae295cce4db3cb84c69750c083a381ba /hw
parenta36b40799055d0ff070f87376a486caed5c3a475 (diff)
downloadskiboot-6889a6134960eabb3573cdcac89a091928b3fa03.zip
skiboot-6889a6134960eabb3573cdcac89a091928b3fa03.tar.gz
skiboot-6889a6134960eabb3573cdcac89a091928b3fa03.tar.bz2
occ: Update Dynamic Data comment block with new GPU presence fields
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@linux.vnet.ibm.com> Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/occ.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/occ.c b/hw/occ.c
index 10b2de0..95577af 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