polaris10_smumgr.c 15.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/*
 * Copyright 2015 Advanced Micro Devices, Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 */

24
#include "pp_debug.h"
25 26 27
#include "smumgr.h"
#include "smu74.h"
#include "smu_ucode_xfer_vi.h"
28
#include "polaris10_smumgr.h"
29 30 31 32 33 34 35 36 37
#include "smu74_discrete.h"
#include "smu/smu_7_1_3_d.h"
#include "smu/smu_7_1_3_sh_mask.h"
#include "gmc/gmc_8_1_d.h"
#include "gmc/gmc_8_1_sh_mask.h"
#include "oss/oss_3_0_d.h"
#include "gca/gfx_8_0_d.h"
#include "bif/bif_5_0_d.h"
#include "bif/bif_5_0_sh_mask.h"
38
#include "polaris10_pwrvirus.h"
39 40
#include "ppatomctrl.h"
#include "cgs_common.h"
41 42
#include "polaris10_smc.h"
#include "smu7_ppsmc.h"
43
#include "smu7_smumgr.h"
44

45
#define PPPOLARIS10_TARGETACTIVITY_DFLT                     50
46

47
static const SMU74_Discrete_GraphicsLevel avfs_graphics_level_polaris10[8] = {
48 49
	/*  Min      pcie   DeepSleep Activity  CgSpll      CgSpll    CcPwr  CcPwr  Sclk         Enabled      Enabled                       Voltage    Power */
	/* Voltage, DpmLevel, DivId,  Level,  FuncCntl3,  FuncCntl4,  DynRm, DynRm1 Did, Padding,ForActivity, ForThrottle, UpHyst, DownHyst, DownHyst, Throttle */
50 51 52 53 54 55 56 57
	{ 0x100ea446, 0x00, 0x03, 0x3200, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x0a, 0x00, 0x00, 0x00, { 0x30750000, 0x3000, 0, 0x2600, 0, 0, 0x0004, 0x8f02, 0xffff, 0x2f00, 0x300e, 0x2700 } },
	{ 0x400ea446, 0x01, 0x04, 0x3200, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x0a, 0x00, 0x00, 0x00, { 0x409c0000, 0x2000, 0, 0x1e00, 1, 1, 0x0004, 0x8300, 0xffff, 0x1f00, 0xcb5e, 0x1a00 } },
	{ 0x740ea446, 0x01, 0x00, 0x3200, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x0a, 0x00, 0x00, 0x00, { 0x50c30000, 0x2800, 0, 0x2000, 1, 1, 0x0004, 0x0c02, 0xffff, 0x2700, 0x6433, 0x2100 } },
	{ 0xa40ea446, 0x01, 0x00, 0x3200, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x0a, 0x00, 0x00, 0x00, { 0x60ea0000, 0x3000, 0, 0x2600, 1, 1, 0x0004, 0x8f02, 0xffff, 0x2f00, 0x300e, 0x2700 } },
	{ 0xd80ea446, 0x01, 0x00, 0x3200, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x0a, 0x00, 0x00, 0x00, { 0x70110100, 0x3800, 0, 0x2c00, 1, 1, 0x0004, 0x1203, 0xffff, 0x3600, 0xc9e2, 0x2e00 } },
	{ 0x3c0fa446, 0x01, 0x00, 0x3200, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x0a, 0x00, 0x00, 0x00, { 0x80380100, 0x2000, 0, 0x1e00, 2, 1, 0x0004, 0x8300, 0xffff, 0x1f00, 0xcb5e, 0x1a00 } },
	{ 0x6c0fa446, 0x01, 0x00, 0x3200, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x0a, 0x00, 0x00, 0x00, { 0x905f0100, 0x2400, 0, 0x1e00, 2, 1, 0x0004, 0x8901, 0xffff, 0x2300, 0x314c, 0x1d00 } },
	{ 0xa00fa446, 0x01, 0x00, 0x3200, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x0a, 0x00, 0x00, 0x00, { 0xa0860100, 0x2800, 0, 0x2000, 2, 1, 0x0004, 0x0c02, 0xffff, 0x2700, 0x6433, 0x2100 } }
58 59
};

60 61
static const SMU74_Discrete_MemoryLevel avfs_memory_level_polaris10 = {
	0x100ea446, 0, 0x30750000, 0x01, 0x01, 0x01, 0x00, 0x00, 0x64, 0x00, 0x00, 0x1f00, 0x00, 0x00};
62

63
static void execute_pwr_table(struct pp_hwmgr *hwmgr, const PWR_Command_Table *pvirus, int size)
64 65 66 67
{
	int i;
	uint32_t reg, data;

68
	for (i = 0; i < size; i++) {
69 70
		reg  = pvirus->reg;
		data = pvirus->data;
71
		if (reg != 0xffffffff)
72
			cgs_write_register(hwmgr->device, reg, data);
73
		else
74 75 76
			break;
		pvirus++;
	}
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
}

static void execute_pwr_dfy_table(struct pp_hwmgr *hwmgr, const PWR_DFY_Section *section)
{
	int i;
	cgs_write_register(hwmgr->device, mmCP_DFY_CNTL, section->dfy_cntl);
	cgs_write_register(hwmgr->device, mmCP_DFY_ADDR_HI, section->dfy_addr_hi);
	cgs_write_register(hwmgr->device, mmCP_DFY_ADDR_LO, section->dfy_addr_lo);
	for (i = 0; i < section->dfy_size; i++)
		cgs_write_register(hwmgr->device, mmCP_DFY_DATA_0, section->dfy_data[i]);
}

static int polaris10_setup_pwr_virus(struct pp_hwmgr *hwmgr)
{
	execute_pwr_table(hwmgr, pwr_virus_table_pre, ARRAY_SIZE(pwr_virus_table_pre));
	execute_pwr_dfy_table(hwmgr, &pwr_virus_section1);
	execute_pwr_dfy_table(hwmgr, &pwr_virus_section2);
	execute_pwr_dfy_table(hwmgr, &pwr_virus_section3);
	execute_pwr_dfy_table(hwmgr, &pwr_virus_section4);
	execute_pwr_dfy_table(hwmgr, &pwr_virus_section5);
	execute_pwr_dfy_table(hwmgr, &pwr_virus_section6);
	execute_pwr_table(hwmgr, pwr_virus_table_post, ARRAY_SIZE(pwr_virus_table_post));
99

100
	return 0;
101 102
}

103
static int polaris10_perform_btc(struct pp_hwmgr *hwmgr)
104 105
{
	int result = 0;
106
	struct smu7_smumgr *smu_data = (struct smu7_smumgr *)(hwmgr->smu_backend);
107 108

	if (0 != smu_data->avfs.avfs_btc_param) {
109
		if (0 != smu7_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_PerformBtc, smu_data->avfs.avfs_btc_param)) {
110
			pr_info("[AVFS][SmuPolaris10_PerformBtc] PerformBTC SMU msg failed");
111 112 113 114 115 116
			result = -1;
		}
	}
	if (smu_data->avfs.avfs_btc_param > 1) {
		/* Soft-Reset to reset the engine before loading uCode */
		/* halt */
117
		cgs_write_register(hwmgr->device, mmCP_MEC_CNTL, 0x50000000);
118
		/* reset everything */
119 120
		cgs_write_register(hwmgr->device, mmGRBM_SOFT_RESET, 0xffffffff);
		cgs_write_register(hwmgr->device, mmGRBM_SOFT_RESET, 0);
121 122 123 124 125
	}
	return result;
}


126
static int polaris10_setup_graphics_level_structure(struct pp_hwmgr *hwmgr)
127 128 129 130 131 132 133
{
	uint32_t vr_config;
	uint32_t dpm_table_start;

	uint16_t u16_boot_mvdd;
	uint32_t graphics_level_address, vr_config_address, graphics_level_size;

134
	graphics_level_size = sizeof(avfs_graphics_level_polaris10);
135 136
	u16_boot_mvdd = PP_HOST_TO_SMC_US(1300 * VOLTAGE_SCALE);

137
	PP_ASSERT_WITH_CODE(0 == smu7_read_smc_sram_dword(hwmgr,
138 139
				SMU7_FIRMWARE_HEADER_LOCATION + offsetof(SMU74_Firmware_Header, DpmTable),
				&dpm_table_start, 0x40000),
140
			"[AVFS][Polaris10_SetupGfxLvlStruct] SMU could not communicate starting address of DPM table",
141 142 143 144 145 146 147
			return -1);

	/*  Default value for VRConfig = VR_MERGED_WITH_VDDC + VR_STATIC_VOLTAGE(VDDCI) */
	vr_config = 0x01000500; /* Real value:0x50001 */

	vr_config_address = dpm_table_start + offsetof(SMU74_Discrete_DpmTable, VRConfig);

148
	PP_ASSERT_WITH_CODE(0 == smu7_copy_bytes_to_smc(hwmgr, vr_config_address,
149
				(uint8_t *)&vr_config, sizeof(uint32_t), 0x40000),
150
			"[AVFS][Polaris10_SetupGfxLvlStruct] Problems copying VRConfig value over to SMC",
151 152 153 154
			return -1);

	graphics_level_address = dpm_table_start + offsetof(SMU74_Discrete_DpmTable, GraphicsLevel);

155
	PP_ASSERT_WITH_CODE(0 == smu7_copy_bytes_to_smc(hwmgr, graphics_level_address,
156
				(uint8_t *)(&avfs_graphics_level_polaris10),
157
				graphics_level_size, 0x40000),
158
			"[AVFS][Polaris10_SetupGfxLvlStruct] Copying of SCLK DPM table failed!",
159 160 161 162
			return -1);

	graphics_level_address = dpm_table_start + offsetof(SMU74_Discrete_DpmTable, MemoryLevel);

163
	PP_ASSERT_WITH_CODE(0 == smu7_copy_bytes_to_smc(hwmgr, graphics_level_address,
164 165
				(uint8_t *)(&avfs_memory_level_polaris10), sizeof(avfs_memory_level_polaris10), 0x40000),
				"[AVFS][Polaris10_SetupGfxLvlStruct] Copying of MCLK DPM table failed!",
166 167 168 169 170 171
			return -1);

	/* MVDD Boot value - neccessary for getting rid of the hang that occurs during Mclk DPM enablement */

	graphics_level_address = dpm_table_start + offsetof(SMU74_Discrete_DpmTable, BootMVdd);

172
	PP_ASSERT_WITH_CODE(0 == smu7_copy_bytes_to_smc(hwmgr, graphics_level_address,
173
			(uint8_t *)(&u16_boot_mvdd), sizeof(u16_boot_mvdd), 0x40000),
174
			"[AVFS][Polaris10_SetupGfxLvlStruct] Copying of DPM table failed!",
175 176 177 178 179
			return -1);

	return 0;
}

180

181
static int
182
polaris10_avfs_event_mgr(struct pp_hwmgr *hwmgr, bool SMU_VFT_INTACT)
183
{
184
	struct smu7_smumgr *smu_data = (struct smu7_smumgr *)(hwmgr->smu_backend);
185 186 187 188 189 190 191 192

	switch (smu_data->avfs.avfs_btc_status) {
	case AVFS_BTC_COMPLETED_PREVIOUSLY:
		break;

	case AVFS_BTC_BOOT: /* Cold Boot State - Post SMU Start */

		smu_data->avfs.avfs_btc_status = AVFS_BTC_DPMTABLESETUP_FAILED;
193
		PP_ASSERT_WITH_CODE(0 == polaris10_setup_graphics_level_structure(hwmgr),
194 195
			"[AVFS][Polaris10_AVFSEventMgr] Could not Copy Graphics Level table over to SMU",
			return -EINVAL);
196 197

		if (smu_data->avfs.avfs_btc_param > 1) {
198
			pr_info("[AVFS][Polaris10_AVFSEventMgr] AC BTC has not been successfully verified on Fiji. There may be in this setting.");
199
			smu_data->avfs.avfs_btc_status = AVFS_BTC_VIRUS_FAIL;
200
			PP_ASSERT_WITH_CODE(0 == polaris10_setup_pwr_virus(hwmgr),
201
			"[AVFS][Polaris10_AVFSEventMgr] Could not setup Pwr Virus for AVFS ",
202
			return -EINVAL);
203 204 205
		}

		smu_data->avfs.avfs_btc_status = AVFS_BTC_FAILED;
206
		PP_ASSERT_WITH_CODE(0 == polaris10_perform_btc(hwmgr),
207
					"[AVFS][Polaris10_AVFSEventMgr] Failure at SmuPolaris10_PerformBTC. AVFS Disabled",
208
				 return -EINVAL);
209
		smu_data->avfs.avfs_btc_status = AVFS_BTC_ENABLEAVFS;
210 211 212
		break;

	case AVFS_BTC_DISABLED:
213
	case AVFS_BTC_ENABLEAVFS:
214 215 216 217
	case AVFS_BTC_NOTSUPPORTED:
		break;

	default:
218
		pr_err("AVFS failed status is %x!\n", smu_data->avfs.avfs_btc_status);
219 220 221 222 223 224
		break;
	}

	return 0;
}

225
static int polaris10_start_smu_in_protection_mode(struct pp_hwmgr *hwmgr)
226 227 228 229
{
	int result = 0;

	/* Wait for smc boot up */
230
	/* PHM_WAIT_VFPF_INDIRECT_FIELD_UNEQUAL(smumgr, SMC_IND, RCU_UC_EVENTS, boot_seq_done, 0) */
231 232

	/* Assert reset */
233
	PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC,
234 235
					SMC_SYSCON_RESET_CNTL, rst_reg, 1);

236
	result = smu7_upload_smu_firmware_image(hwmgr);
237 238 239 240
	if (result != 0)
		return result;

	/* Clear status */
241
	cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixSMU_STATUS, 0);
242

243
	PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC,
244 245 246
					SMC_SYSCON_CLOCK_CNTL_0, ck_disable, 0);

	/* De-assert reset */
247
	PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC,
248 249 250
					SMC_SYSCON_RESET_CNTL, rst_reg, 0);


251
	PHM_WAIT_VFPF_INDIRECT_FIELD(hwmgr, SMC_IND, RCU_UC_EVENTS, INTERRUPTS_ENABLED, 1);
252 253 254


	/* Call Test SMU message with 0x20000 offset to trigger SMU start */
255
	smu7_send_msg_to_smc_offset(hwmgr);
256 257 258 259

	/* Wait done bit to be set */
	/* Check pass/failed indicator */

260
	PHM_WAIT_VFPF_INDIRECT_FIELD_UNEQUAL(hwmgr, SMC_IND, SMU_STATUS, SMU_DONE, 0);
261

262
	if (1 != PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC,
263 264 265
						SMU_STATUS, SMU_PASS))
		PP_ASSERT_WITH_CODE(false, "SMU Firmware start failed!", return -1);

266
	cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixFIRMWARE_FLAGS, 0);
267

268
	PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC,
269 270
					SMC_SYSCON_RESET_CNTL, rst_reg, 1);

271
	PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC,
272 273 274
					SMC_SYSCON_RESET_CNTL, rst_reg, 0);

	/* Wait for firmware to initialize */
275
	PHM_WAIT_VFPF_INDIRECT_FIELD(hwmgr, SMC_IND, FIRMWARE_FLAGS, INTERRUPTS_ENABLED, 1);
276 277 278 279

	return result;
}

280
static int polaris10_start_smu_in_non_protection_mode(struct pp_hwmgr *hwmgr)
281 282 283 284
{
	int result = 0;

	/* wait for smc boot up */
285
	PHM_WAIT_VFPF_INDIRECT_FIELD_UNEQUAL(hwmgr, SMC_IND, RCU_UC_EVENTS, boot_seq_done, 0);
286 287

	/* Clear firmware interrupt enable flag */
288
	/* PHM_WRITE_VFPF_INDIRECT_FIELD(pSmuMgr, SMC_IND, SMC_SYSCON_MISC_CNTL, pre_fetcher_en, 1); */
289
	cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC,
290 291
				ixFIRMWARE_FLAGS, 0);

292
	PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC,
293 294 295
					SMC_SYSCON_RESET_CNTL,
					rst_reg, 1);

296
	result = smu7_upload_smu_firmware_image(hwmgr);
297 298 299 300
	if (result != 0)
		return result;

	/* Set smc instruct start point at 0x0 */
301
	smu7_program_jump_on_start(hwmgr);
302

303
	PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC,
304 305
					SMC_SYSCON_CLOCK_CNTL_0, ck_disable, 0);

306
	PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC,
307 308 309 310
					SMC_SYSCON_RESET_CNTL, rst_reg, 0);

	/* Wait for firmware to initialize */

311
	PHM_WAIT_VFPF_INDIRECT_FIELD(hwmgr, SMC_IND,
312 313 314 315 316
					FIRMWARE_FLAGS, INTERRUPTS_ENABLED, 1);

	return result;
}

317
static int polaris10_start_smu(struct pp_hwmgr *hwmgr)
318 319
{
	int result = 0;
320
	struct polaris10_smumgr *smu_data = (struct polaris10_smumgr *)(hwmgr->smu_backend);
321 322 323
	bool SMU_VFT_INTACT;

	/* Only start SMC if SMC RAM is not running */
324
	if (!smu7_is_smc_ram_running(hwmgr)) {
325
		SMU_VFT_INTACT = false;
326 327
		smu_data->protected_mode = (uint8_t) (PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, SMU_FIRMWARE, SMU_MODE));
		smu_data->smu7_data.security_hard_key = (uint8_t) (PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, SMU_FIRMWARE, SMU_SEL));
328

329
		/* Check if SMU is running in protected mode */
330
		if (smu_data->protected_mode == 0) {
331
			result = polaris10_start_smu_in_non_protection_mode(hwmgr);
332
		} else {
333
			result = polaris10_start_smu_in_protection_mode(hwmgr);
334

335 336
			/* If failed, try with different security Key. */
			if (result != 0) {
337
				smu_data->smu7_data.security_hard_key ^= 1;
338 339
				cgs_rel_firmware(hwmgr->device, CGS_UCODE_ID_SMU);
				result = polaris10_start_smu_in_protection_mode(hwmgr);
340 341 342
			}
		}

343 344 345
		if (result != 0)
			PP_ASSERT_WITH_CODE(0, "Failed to load SMU ucode.", return result);

346
		polaris10_avfs_event_mgr(hwmgr, true);
347 348 349
	} else
		SMU_VFT_INTACT = true; /*Driver went offline but SMU was still alive and contains the VFT table */

350
	polaris10_avfs_event_mgr(hwmgr, SMU_VFT_INTACT);
351
	/* Setup SoftRegsStart here for register lookup in case DummyBackEnd is used and ProcessFirmwareHeader is not executed */
352
	smu7_read_smc_sram_dword(hwmgr, SMU7_FIRMWARE_HEADER_LOCATION + offsetof(SMU74_Firmware_Header, SoftRegisters),
353
					&(smu_data->smu7_data.soft_regs_start), 0x40000);
354

355
	result = smu7_request_smu_load_fw(hwmgr);
356 357 358 359

	return result;
}

360
static bool polaris10_is_hw_avfs_present(struct pp_hwmgr *hwmgr)
361 362 363
{
	uint32_t efuse;

364
	efuse = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixSMU_EFUSE_0 + (49*4));
365 366 367 368 369 370 371
	efuse &= 0x00000001;
	if (efuse)
		return true;

	return false;
}

372
static int polaris10_smu_init(struct pp_hwmgr *hwmgr)
373
{
R
Rex Zhu 已提交
374
	struct polaris10_smumgr *smu_data;
375 376
	int i;

R
Rex Zhu 已提交
377 378 379 380
	smu_data = kzalloc(sizeof(struct polaris10_smumgr), GFP_KERNEL);
	if (smu_data == NULL)
		return -ENOMEM;

381
	hwmgr->smu_backend = smu_data;
R
Rex Zhu 已提交
382

383
	if (smu7_init(hwmgr))
384
		return -EINVAL;
385

386 387 388
	for (i = 0; i < SMU74_MAX_LEVELS_GRAPHICS; i++)
		smu_data->activity_target[i] = PPPOLARIS10_TARGETACTIVITY_DFLT;

389 390 391
	return 0;
}

R
Rex Zhu 已提交
392
const struct pp_smumgr_func polaris10_smu_funcs = {
393
	.smu_init = polaris10_smu_init,
394
	.smu_fini = smu7_smu_fini,
395
	.start_smu = polaris10_start_smu,
396 397
	.check_fw_load_finish = smu7_check_fw_load_finish,
	.request_smu_load_fw = smu7_reload_firmware,
398
	.request_smu_load_specific_fw = NULL,
399 400
	.send_msg_to_smc = smu7_send_msg_to_smc,
	.send_msg_to_smc_with_parameter = smu7_send_msg_to_smc_with_parameter,
401 402
	.download_pptable_settings = NULL,
	.upload_pptable_settings = NULL,
403 404 405 406 407 408 409 410 411 412 413
	.update_smc_table = polaris10_update_smc_table,
	.get_offsetof = polaris10_get_offsetof,
	.process_firmware_header = polaris10_process_firmware_header,
	.init_smc_table = polaris10_init_smc_table,
	.update_sclk_threshold = polaris10_update_sclk_threshold,
	.thermal_avfs_enable = polaris10_thermal_avfs_enable,
	.thermal_setup_fan_table = polaris10_thermal_setup_fan_table,
	.populate_all_graphic_levels = polaris10_populate_all_graphic_levels,
	.populate_all_memory_levels = polaris10_populate_all_memory_levels,
	.get_mac_definition = polaris10_get_mac_definition,
	.is_dpm_running = polaris10_is_dpm_running,
414
	.populate_requested_graphic_levels = polaris10_populate_requested_graphic_levels,
415
	.is_hw_avfs_present = polaris10_is_hw_avfs_present,
416
};