diff options
author | Greg Still <stillgs@us.ibm.com> | 2017-06-04 00:53:16 -0500 |
---|---|---|
committer | Dean Sanner <dsanner@us.ibm.com> | 2017-07-13 09:21:16 -0400 |
commit | ca09235b153200ba9eae13c3ad9e637c8033d84f (patch) | |
tree | e2429260bfca2d3d177683242bcc6ca4385e669f /src/import/chips/p9/procedures/hwp/lib/p9_pstates_cmeqm.h | |
parent | ea4060fe250eb3db2d9c171ec87fc4b1806b05fd (diff) | |
download | talos-hostboot-ca09235b153200ba9eae13c3ad9e637c8033d84f.tar.gz talos-hostboot-ca09235b153200ba9eae13c3ad9e637c8033d84f.zip |
p9_pstate_parameter_block: Move to concise slope calculations
- Use loops over the set point vs explicit implementation to reduce
critical code implementations
- Move slopes to float based calculation and then translate to I.F form
- Update dump output a bit; still need to add VDM thresholds to this
- Fix VDM related slope calculations
- rebased
- Data type change from float to double in threshold slope calculation
- rebased
Change-Id: I3ca4dc4889c55afff31fcd814fa193cb66ca1ab4
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41405
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com>
Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com>
Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41406
Reviewed-by: Dean Sanner <dsanner@us.ibm.com>
Tested-by: Dean Sanner <dsanner@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/lib/p9_pstates_cmeqm.h')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/lib/p9_pstates_cmeqm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_pstates_cmeqm.h b/src/import/chips/p9/procedures/hwp/lib/p9_pstates_cmeqm.h index 274ad92de..7a645b8dc 100644 --- a/src/import/chips/p9/procedures/hwp/lib/p9_pstates_cmeqm.h +++ b/src/import/chips/p9/procedures/hwp/lib/p9_pstates_cmeqm.h @@ -309,13 +309,13 @@ typedef struct CompareVIDPoints vid_point_set[NUM_OP_POINTS]; // Biased Threshold operation points - int8_t threshold_set[NUM_OP_POINTS][NUM_THRESHOLD_POINTS]; + uint8_t threshold_set[NUM_OP_POINTS][NUM_THRESHOLD_POINTS]; //pstate-volt compare slopes - uint16_t PsVIDCompSlopes[VPD_NUM_SLOPES_REGION]; + int16_t PsVIDCompSlopes[VPD_NUM_SLOPES_REGION]; //pstate-volt threshold slopes - uint16_t PsVDMThreshSlopes[VPD_NUM_SLOPES_REGION][NUM_THRESHOLD_POINTS]; + int16_t PsVDMThreshSlopes[VPD_NUM_SLOPES_REGION][NUM_THRESHOLD_POINTS]; } LocalPstateParmBlock; |