diff options
| author | Eric Huang <JinHuiEric.Huang@amd.com> | 2015-11-09 17:34:31 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2015-12-21 16:42:15 -0500 |
| commit | 770911a3cfbb43b67b5ea3189b624e4fe2cb27c1 (patch) | |
| tree | 75d635c6bd8e3f265b963411533c39f147158bef /drivers/gpu/drm/amd/include | |
| parent | c82baa28184356a75c0157129f88af42b2e7b695 (diff) | |
drm/amd/powerplay: add/update headers for Fiji SMU and DPM
New headers for Fiji.
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include')
| -rw-r--r-- | drivers/gpu/drm/amd/include/atombios.h | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/atombios.h b/drivers/gpu/drm/amd/include/atombios.h index 552622675ace..eaf451e26643 100644 --- a/drivers/gpu/drm/amd/include/atombios.h +++ b/drivers/gpu/drm/amd/include/atombios.h | |||
| @@ -550,6 +550,13 @@ typedef struct _COMPUTE_MEMORY_CLOCK_PARAM_PARAMETERS_V2_1 | |||
| 550 | //MPLL_CNTL_FLAG_BYPASS_AD_PLL has a wrong name, should be BYPASS_DQ_PLL | 550 | //MPLL_CNTL_FLAG_BYPASS_AD_PLL has a wrong name, should be BYPASS_DQ_PLL |
| 551 | #define MPLL_CNTL_FLAG_BYPASS_AD_PLL 0x04 | 551 | #define MPLL_CNTL_FLAG_BYPASS_AD_PLL 0x04 |
| 552 | 552 | ||
| 553 | // use for ComputeMemoryClockParamTable | ||
| 554 | typedef struct _COMPUTE_MEMORY_CLOCK_PARAM_PARAMETERS_V2_2 | ||
| 555 | { | ||
| 556 | COMPUTE_MEMORY_ENGINE_PLL_PARAMETERS_V4 ulClock; | ||
| 557 | ULONG ulReserved; | ||
| 558 | }COMPUTE_MEMORY_CLOCK_PARAM_PARAMETERS_V2_2; | ||
| 559 | |||
| 553 | typedef struct _DYNAMICE_MEMORY_SETTINGS_PARAMETER | 560 | typedef struct _DYNAMICE_MEMORY_SETTINGS_PARAMETER |
| 554 | { | 561 | { |
| 555 | ATOM_COMPUTE_CLOCK_FREQ ulClock; | 562 | ATOM_COMPUTE_CLOCK_FREQ ulClock; |
| @@ -4988,6 +4995,78 @@ typedef struct _ATOM_ASIC_PROFILING_INFO_V3_3 | |||
| 4988 | ULONG ulSDCMargine; | 4995 | ULONG ulSDCMargine; |
| 4989 | }ATOM_ASIC_PROFILING_INFO_V3_3; | 4996 | }ATOM_ASIC_PROFILING_INFO_V3_3; |
| 4990 | 4997 | ||
| 4998 | // for Fiji speed EVV algorithm | ||
| 4999 | typedef struct _ATOM_ASIC_PROFILING_INFO_V3_4 | ||
| 5000 | { | ||
| 5001 | ATOM_COMMON_TABLE_HEADER asHeader; | ||
| 5002 | ULONG ulEvvLkgFactor; | ||
| 5003 | ULONG ulBoardCoreTemp; | ||
| 5004 | ULONG ulMaxVddc; | ||
| 5005 | ULONG ulMinVddc; | ||
| 5006 | ULONG ulLoadLineSlop; | ||
| 5007 | ULONG ulLeakageTemp; | ||
| 5008 | ULONG ulLeakageVoltage; | ||
| 5009 | EFUSE_LINEAR_FUNC_PARAM sCACm; | ||
| 5010 | EFUSE_LINEAR_FUNC_PARAM sCACb; | ||
| 5011 | EFUSE_LOGISTIC_FUNC_PARAM sKt_b; | ||
| 5012 | EFUSE_LOGISTIC_FUNC_PARAM sKv_m; | ||
| 5013 | EFUSE_LOGISTIC_FUNC_PARAM sKv_b; | ||
| 5014 | USHORT usLkgEuseIndex; | ||
| 5015 | UCHAR ucLkgEfuseBitLSB; | ||
| 5016 | UCHAR ucLkgEfuseLength; | ||
| 5017 | ULONG ulLkgEncodeLn_MaxDivMin; | ||
| 5018 | ULONG ulLkgEncodeMax; | ||
| 5019 | ULONG ulLkgEncodeMin; | ||
| 5020 | ULONG ulEfuseLogisticAlpha; | ||
| 5021 | USHORT usPowerDpm0; | ||
| 5022 | USHORT usPowerDpm1; | ||
| 5023 | USHORT usPowerDpm2; | ||
| 5024 | USHORT usPowerDpm3; | ||
| 5025 | USHORT usPowerDpm4; | ||
| 5026 | USHORT usPowerDpm5; | ||
| 5027 | USHORT usPowerDpm6; | ||
| 5028 | USHORT usPowerDpm7; | ||
| 5029 | ULONG ulTdpDerateDPM0; | ||
| 5030 | ULONG ulTdpDerateDPM1; | ||
| 5031 | ULONG ulTdpDerateDPM2; | ||
| 5032 | ULONG ulTdpDerateDPM3; | ||
| 5033 | ULONG ulTdpDerateDPM4; | ||
| 5034 | ULONG ulTdpDerateDPM5; | ||
| 5035 | ULONG ulTdpDerateDPM6; | ||
| 5036 | ULONG ulTdpDerateDPM7; | ||
| 5037 | EFUSE_LINEAR_FUNC_PARAM sRoFuse; | ||
| 5038 | ULONG ulEvvDefaultVddc; | ||
| 5039 | ULONG ulEvvNoCalcVddc; | ||
| 5040 | USHORT usParamNegFlag; | ||
| 5041 | USHORT usSpeed_Model; | ||
| 5042 | ULONG ulSM_A0; | ||
| 5043 | ULONG ulSM_A1; | ||
| 5044 | ULONG ulSM_A2; | ||
| 5045 | ULONG ulSM_A3; | ||
| 5046 | ULONG ulSM_A4; | ||
| 5047 | ULONG ulSM_A5; | ||
| 5048 | ULONG ulSM_A6; | ||
| 5049 | ULONG ulSM_A7; | ||
| 5050 | UCHAR ucSM_A0_sign; | ||
| 5051 | UCHAR ucSM_A1_sign; | ||
| 5052 | UCHAR ucSM_A2_sign; | ||
| 5053 | UCHAR ucSM_A3_sign; | ||
| 5054 | UCHAR ucSM_A4_sign; | ||
| 5055 | UCHAR ucSM_A5_sign; | ||
| 5056 | UCHAR ucSM_A6_sign; | ||
| 5057 | UCHAR ucSM_A7_sign; | ||
| 5058 | ULONG ulMargin_RO_a; | ||
| 5059 | ULONG ulMargin_RO_b; | ||
| 5060 | ULONG ulMargin_RO_c; | ||
| 5061 | ULONG ulMargin_fixed; | ||
| 5062 | ULONG ulMargin_Fmax_mean; | ||
| 5063 | ULONG ulMargin_plat_mean; | ||
| 5064 | ULONG ulMargin_Fmax_sigma; | ||
| 5065 | ULONG ulMargin_plat_sigma; | ||
| 5066 | ULONG ulMargin_DC_sigma; | ||
| 5067 | ULONG ulReserved[8]; // Reserved for future ASIC | ||
| 5068 | }ATOM_ASIC_PROFILING_INFO_V3_4; | ||
| 5069 | |||
| 4991 | typedef struct _ATOM_POWER_SOURCE_OBJECT | 5070 | typedef struct _ATOM_POWER_SOURCE_OBJECT |
| 4992 | { | 5071 | { |
| 4993 | UCHAR ucPwrSrcId; // Power source | 5072 | UCHAR ucPwrSrcId; // Power source |
