Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18aafc59 authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher
Browse files

drm/amd/powerplay: implement fw related smu interface for iceland.

parent 9c6d4956
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -49,20 +49,6 @@ struct iceland_pt_config_reg {
	enum iceland_pt_config_reg_type       type;
};

struct iceland_pt_defaults
{
	uint8_t   svi_load_line_en;
	uint8_t   svi_load_line_vddc;
	uint8_t   tdc_vddc_throttle_release_limit_perc;
	uint8_t   tdc_mawt;
	uint8_t   tdc_waterfall_ctl;
	uint8_t   dte_ambient_temp_base;
	uint32_t  display_cac;
	uint32_t  bamp_temp_gradient;
	uint16_t  bapmti_r[SMU71_DTE_ITERATIONS * SMU71_DTE_SOURCES * SMU71_DTE_SINKS];
	uint16_t  bapmti_rc[SMU71_DTE_ITERATIONS * SMU71_DTE_SOURCES * SMU71_DTE_SINKS];
};

void iceland_initialize_power_tune_defaults(struct pp_hwmgr *hwmgr);
int iceland_populate_bapm_parameters_in_dpm_table(struct pp_hwmgr *hwmgr);
int iceland_populate_pm_fuses(struct pp_hwmgr *hwmgr);
+3 −2
Original line number Diff line number Diff line
@@ -3,7 +3,8 @@
# It provides the smu management services for the driver.

SMU_MGR = smumgr.o cz_smumgr.o tonga_smumgr.o fiji_smumgr.o fiji_smc.o \
	  polaris10_smumgr.o iceland_smumgr.o polaris10_smc.o tonga_smc.o smu7_smumgr.o
	  polaris10_smumgr.o iceland_smumgr.o polaris10_smc.o tonga_smc.o \
	  smu7_smumgr.o iceland_smc.o

AMD_PP_SMUMGR = $(addprefix $(AMD_PP_PATH)/smumgr/,$(SMU_MGR))

Loading