diff options
author | Chris Cain <cjcain@us.ibm.com> | 2017-09-19 13:22:09 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-10-04 16:03:01 -0400 |
commit | 5f95eb2b47d57619c66fa68b639cb9f3ece7cfb1 (patch) | |
tree | 9b86f8a519a8678c108ba3680399466c0feaffca /src/usr/htmgt/htmgt_cfgdata.H | |
parent | eebc5b92e1b275c0e2ae89d64a40d179751fe60a (diff) | |
download | talos-hostboot-5f95eb2b47d57619c66fa68b639cb9f3ece7cfb1.tar.gz talos-hostboot-5f95eb2b47d57619c66fa68b639cb9f3ece7cfb1.zip |
HTMGT: Update GPU config to send calculated power values
Change-Id: I36badb11c9350a176265f11b3046cf88a30292c0
RTC: 179616
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46439
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/htmgt/htmgt_cfgdata.H')
-rw-r--r-- | src/usr/htmgt/htmgt_cfgdata.H | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/usr/htmgt/htmgt_cfgdata.H b/src/usr/htmgt/htmgt_cfgdata.H index 82eb05a35..24a311796 100644 --- a/src/usr/htmgt/htmgt_cfgdata.H +++ b/src/usr/htmgt/htmgt_cfgdata.H @@ -127,6 +127,7 @@ namespace HTMGT { OCC_CFGDATA_MEM_THROTTLE, TARGET_ALL, TO_20SEC, CFGSTATE_ALL }, { OCC_CFGDATA_TCT_CONFIG, TARGET_ALL, TO_20SEC, CFGSTATE_ALL }, { OCC_CFGDATA_AVSBUS_CONFIG, TARGET_ALL, TO_20SEC, CFGSTATE_ALL }, + // GPU config packet MUST be sent after APSS config { OCC_CFGDATA_GPU_CONFIG, TARGET_ALL, TO_20SEC, CFGSTATE_ALL }, }; const size_t OCC_CONFIG_TABLE_SIZE = sizeof(occCfgDataTable) / @@ -256,13 +257,10 @@ namespace HTMGT * * @param[out] o_data - preallocated buffer to fill in * @param[out] o_size - set to the message size - * @param[in] i_wofResetCount - Number of times OCC requested a reset - * due to WOF * @pre o_data is large enough. */ void getFrequencyPointMessageData(uint8_t* o_data, - uint64_t & o_size, - uint8_t i_wofResetCount ); + uint64_t & o_size); /** * Generate the APSS configuration message @@ -273,5 +271,11 @@ namespace HTMGT void getApssMessageData(uint8_t* o_data, uint64_t & o_size); + /** + * Determine if WOF is supported and if so return frequencies + * @param[out] turbo Turbo frequency in MHz (0 = no support) + * @param[out] ultra Ultra Turbo frequency in MHz (0 = no support) + */ + bool check_wof_support(uint16_t & turbo, uint16_t & ultra); }; #endif |