diff options
author | mbroyles <mbroyles@us.ibm.com> | 2017-08-23 16:53:05 -0500 |
---|---|---|
committer | Christopher J. Cain <cjcain@us.ibm.com> | 2017-08-29 15:43:35 -0400 |
commit | e1a597e9f5bc8e7b193058ca32a8c8ba46ebf519 (patch) | |
tree | bcc3ccd11631980666d8085397818abeef2f8d4a /src/occ_405/amec/amec_sys.h | |
parent | c34f286542bb7fa5eccc9bfcc2a9473637d4a0e5 (diff) | |
download | talos-occ-e1a597e9f5bc8e7b193058ca32a8c8ba46ebf519.tar.gz talos-occ-e1a597e9f5bc8e7b193058ca32a8c8ba46ebf519.zip |
Calculate GPU Power Cap
Define GPU ID callout type
Change-Id: I99e691abe64fc0d706571fc7a128d565159e0461
RTC: 133823
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45077
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Diffstat (limited to 'src/occ_405/amec/amec_sys.h')
-rwxr-xr-x | src/occ_405/amec/amec_sys.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/occ_405/amec/amec_sys.h b/src/occ_405/amec/amec_sys.h index a45fb42..c084a0c 100755 --- a/src/occ_405/amec/amec_sys.h +++ b/src/occ_405/amec/amec_sys.h @@ -449,6 +449,7 @@ typedef struct { typedef struct { bool check_pwr_limit; // Indicates if need to read power limits from GPU bool pwr_limits_read; // Indicates if power limits were read i.e. have min/max + bool gpu_min_cap_required; // Indicates if power limits were read i.e. have min/max uint32_t gpu_min_pcap_mw; // Min GPU power limit in mW read from the GPU uint32_t gpu_max_pcap_mw; // Max GPU power limit in mW read from the GPU uint32_t gpu_desired_pcap_mw; // AMEC determined pcap in mW to set |