Commit 02bae045 authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher
Browse files

drm/amd/powerplay: add some definition for FFC feature on polaris.

parent 270d0136
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -392,6 +392,8 @@ typedef uint16_t PPSMC_Result;
#define PPSMC_MSG_SetGpuPllDfsForSclk         ((uint16_t) 0x300)
#define PPSMC_MSG_SetGpuPllDfsForSclk         ((uint16_t) 0x300)
#define PPSMC_MSG_Didt_Block_Function		  ((uint16_t) 0x301)
#define PPSMC_MSG_Didt_Block_Function		  ((uint16_t) 0x301)


#define PPSMC_MSG_SetVBITimeout               ((uint16_t) 0x306)

#define PPSMC_MSG_SecureSRBMWrite             ((uint16_t) 0x600)
#define PPSMC_MSG_SecureSRBMWrite             ((uint16_t) 0x600)
#define PPSMC_MSG_SecureSRBMRead              ((uint16_t) 0x601)
#define PPSMC_MSG_SecureSRBMRead              ((uint16_t) 0x601)
#define PPSMC_MSG_SetAddress                  ((uint16_t) 0x800)
#define PPSMC_MSG_SetAddress                  ((uint16_t) 0x800)
+2 −1
Original line number Original line Diff line number Diff line
@@ -270,7 +270,8 @@ struct SMU74_Discrete_DpmTable {
	uint8_t                             BootPhases;
	uint8_t                             BootPhases;


	uint8_t                             VRHotLevel;
	uint8_t                             VRHotLevel;
	uint8_t                             Reserved1[3];
	uint8_t                             LdoRefSel;
	uint8_t                             Reserved1[2];
	uint16_t                            FanStartTemperature;
	uint16_t                            FanStartTemperature;
	uint16_t                            FanStopTemperature;
	uint16_t                            FanStopTemperature;
	uint16_t                            MaxVoltage;
	uint16_t                            MaxVoltage;