aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJammy Zhou <Jammy.Zhou@amd.com>2015-07-21 09:17:16 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-08-17 16:50:21 -0400
commitfa9f1d4e86f67a4df03e153d9b9cd1bd1838767c (patch)
tree3ab67298c73297e8920b9403e850cbe091737163
parent0b2daf09cf3c9893872d68f0ce9a3f4b7e3ff06c (diff)
drm/amdgpu: add some pptable definitions
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/include/pptable.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/include/pptable.h b/drivers/gpu/drm/amd/include/pptable.h
index 0030f726e68c..ee6978b30b77 100644
--- a/drivers/gpu/drm/amd/include/pptable.h
+++ b/drivers/gpu/drm/amd/include/pptable.h
@@ -146,6 +146,9 @@ typedef struct _ATOM_PPLIB_EXTENDEDHEADER
146#define ATOM_PP_PLATFORM_CAP_VRHOT_GPIO_CONFIGURABLE 0x00200000 // Does the driver supports VR HOT GPIO Configurable. 146#define ATOM_PP_PLATFORM_CAP_VRHOT_GPIO_CONFIGURABLE 0x00200000 // Does the driver supports VR HOT GPIO Configurable.
147#define ATOM_PP_PLATFORM_CAP_TEMP_INVERSION 0x00400000 // Does the driver supports Temp Inversion feature. 147#define ATOM_PP_PLATFORM_CAP_TEMP_INVERSION 0x00400000 // Does the driver supports Temp Inversion feature.
148#define ATOM_PP_PLATFORM_CAP_EVV 0x00800000 148#define ATOM_PP_PLATFORM_CAP_EVV 0x00800000
149#define ATOM_PP_PLATFORM_COMBINE_PCC_WITH_THERMAL_SIGNAL 0x01000000
150#define ATOM_PP_PLATFORM_LOAD_POST_PRODUCTION_FIRMWARE 0x02000000
151#define ATOM_PP_PLATFORM_CAP_DISABLE_USING_ACTUAL_TEMPERATURE_FOR_POWER_CALC 0x04000000
149 152
150typedef struct _ATOM_PPLIB_POWERPLAYTABLE 153typedef struct _ATOM_PPLIB_POWERPLAYTABLE
151{ 154{
@@ -673,7 +676,8 @@ typedef struct _ATOM_PPLIB_POWERTUNE_Table_V1
673 UCHAR revid; 676 UCHAR revid;
674 ATOM_PowerTune_Table power_tune_table; 677 ATOM_PowerTune_Table power_tune_table;
675 USHORT usMaximumPowerDeliveryLimit; 678 USHORT usMaximumPowerDeliveryLimit;
676 USHORT usReserve[7]; 679 USHORT usTjMax;
680 USHORT usReserve[6];
677} ATOM_PPLIB_POWERTUNE_Table_V1; 681} ATOM_PPLIB_POWERTUNE_Table_V1;
678 682
679#define ATOM_PPM_A_A 1 683#define ATOM_PPM_A_A 1