Message ID | 20180629063319.31331-1-andrew.donnellan@au1.ibm.com |
---|---|
State | Accepted |
Headers | show |
Series | occ: Update Dynamic Data comment block with new GPU presence fields | expand |
Andrew Donnellan <andrew.donnellan@au1.ibm.com> writes: > 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> > --- > hw/occ.c | 5 +++++ > 1 file changed, 5 insertions(+) Cheers, merged to master as of 6889a6134960eabb3573cdcac89a091928b3fa03
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
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> --- hw/occ.c | 5 +++++ 1 file changed, 5 insertions(+)