diff options
author | mbroyles <mbroyles@us.ibm.com> | 2017-06-07 16:38:45 -0500 |
---|---|---|
committer | William A. Bryan <wilbryan@us.ibm.com> | 2017-06-12 13:17:45 -0400 |
commit | a635739ec0648a64e897b401915cedabf4123943 (patch) | |
tree | ef771a2c6a682d13e0edb3d3e93cf4d12d874276 /src/occ_405/amec/amec_pcap.c | |
parent | dadf2726aa024c7100fe295af78bdfc2e88fb7ef (diff) | |
download | talos-occ-a635739ec0648a64e897b401915cedabf4123943.tar.gz talos-occ-a635739ec0648a64e897b401915cedabf4123943.zip |
OCC support for no APSS and new GPU Config Data
Change-Id: Id58a06378f3c0a7fd9fb436b96823eca15028031
RTC: 160889
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41513
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_405/amec/amec_pcap.c')
-rwxr-xr-x | src/occ_405/amec/amec_pcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/occ_405/amec/amec_pcap.c b/src/occ_405/amec/amec_pcap.c index b5cad52..512a82c 100755 --- a/src/occ_405/amec/amec_pcap.c +++ b/src/occ_405/amec/amec_pcap.c @@ -50,7 +50,7 @@ //*************************************************************************/ // Globals //*************************************************************************/ -extern bool G_apss_present; +extern PWR_READING_TYPE G_pwr_reading_type; //Number of ticks to wait before dropping below nominal frequency #define PWR_SETTLED_TICKS 4 @@ -374,7 +374,7 @@ void amec_power_control(void) /* Code */ /*------------------------------------------------------------------------*/ - if(G_apss_present) + if(G_pwr_reading_type == PWR_READING_TYPE_APSS) { // Calculate the pcap for the proc, memory and the power capping limit // for nominal cores. |