aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/include')
-rw-r--r--drivers/gpu/drm/amd/include/atombios.h79
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
554typedef 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
553typedef struct _DYNAMICE_MEMORY_SETTINGS_PARAMETER 560typedef 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
4999typedef 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
4991typedef struct _ATOM_POWER_SOURCE_OBJECT 5070typedef struct _ATOM_POWER_SOURCE_OBJECT
4992{ 5071{
4993 UCHAR ucPwrSrcId; // Power source 5072 UCHAR ucPwrSrcId; // Power source