Home
last modified time | relevance | path

Searched refs:smu_version (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/
H A Dsmu_v12_0.c76 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v12_0_check_fw_version() local
80 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v12_0_check_fw_version()
84 smu_program = (smu_version >> 24) & 0xff; in smu_v12_0_check_fw_version()
85 smu_major = (smu_version >> 16) & 0xff; in smu_v12_0_check_fw_version()
86 smu_minor = (smu_version >> 8) & 0xff; in smu_v12_0_check_fw_version()
87 smu_debug = (smu_version >> 0) & 0xff; in smu_v12_0_check_fw_version()
89 adev->pm.fw_version = smu_version; in smu_v12_0_check_fw_version()
103 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v12_0_check_fw_version()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
H A Ddcn301_smu.c135 int smu_version = dcn301_smu_send_msg_with_param(clk_mgr, in dcn301_smu_get_smu_version() local
139 DC_LOG_DEBUG("%s %x\n", __func__, smu_version); in dcn301_smu_get_smu_version()
141 return smu_version; in dcn301_smu_get_smu_version()
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dsmu8_smumgr.c746 hwmgr->smu_version = cgs_read_register(hwmgr->device, mmMP0PUB_IND_DATA); in smu8_start_smu()
748 ((hwmgr->smu_version >> 16) & 0xFF), in smu8_start_smu()
749 ((hwmgr->smu_version >> 8) & 0xFF), in smu8_start_smu()
750 (hwmgr->smu_version & 0xFF)); in smu8_start_smu()
751 adev->pm.fw_version = hwmgr->smu_version >> 8; in smu8_start_smu()
H A Dsmu7_smumgr.c453 hwmgr->smu_version = info.version; in smu7_upload_smu_firmware_image()
H A Diceland_smumgr.c205 hwmgr->smu_version = info.version; in iceland_smu_upload_firmware_image()
H A Dci_smumgr.c2324 hwmgr->smu_version = info.version; in ci_load_smc_ucode()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0.c235 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v14_0_check_fw_version() local
239 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v14_0_check_fw_version()
243 smu_program = (smu_version >> 24) & 0xff; in smu_v14_0_check_fw_version()
244 smu_major = (smu_version >> 16) & 0xff; in smu_v14_0_check_fw_version()
245 smu_minor = (smu_version >> 8) & 0xff; in smu_v14_0_check_fw_version()
246 smu_debug = (smu_version >> 0) & 0xff; in smu_v14_0_check_fw_version()
248 adev->pm.fw_version = smu_version; in smu_v14_0_check_fw_version()
272 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v14_0_check_fw_version()
286 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v14_0_check_fw_version()
H A Dsmu_v14_0_2_ppt.c272 /*u32 smu_version;*/ in smu_v14_0_2_get_allowed_feature_mask()
292 smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v14_0_2_get_allowed_feature_mask()
293 if ((smu_version < 0x004e3a00) || in smu_v14_0_2_get_allowed_feature_mask()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c198 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v11_0_check_fw_version() local
202 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v11_0_check_fw_version()
206 smu_program = (smu_version >> 24) & 0xff; in smu_v11_0_check_fw_version()
207 smu_major = (smu_version >> 16) & 0xff; in smu_v11_0_check_fw_version()
208 smu_minor = (smu_version >> 8) & 0xff; in smu_v11_0_check_fw_version()
209 smu_debug = (smu_version >> 0) & 0xff; in smu_v11_0_check_fw_version()
211 adev->pm.fw_version = smu_version; in smu_v11_0_check_fw_version()
264 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v11_0_check_fw_version()
H A Dsienna_cichlid_ppt.c2512 uint32_t smu_version; in sienna_cichlid_is_mode1_reset_supported() local
2519 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in sienna_cichlid_is_mode1_reset_supported()
2523 if (amdgpu_sriov_vf(adev) || (smu_version < 0x003a1a00)) in sienna_cichlid_is_mode1_reset_supported()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0.c264 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v13_0_check_fw_version() local
268 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v13_0_check_fw_version()
272 smu_program = (smu_version >> 24) & 0xff; in smu_v13_0_check_fw_version()
273 smu_major = (smu_version >> 16) & 0xff; in smu_v13_0_check_fw_version()
274 smu_minor = (smu_version >> 8) & 0xff; in smu_v13_0_check_fw_version()
275 smu_debug = (smu_version >> 0) & 0xff; in smu_v13_0_check_fw_version()
276 adev->pm.fw_version = smu_version; in smu_v13_0_check_fw_version()
281 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v13_0_check_fw_version()
295 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v13_0_check_fw_version()
H A Daldebaran_ppt.c2019 uint32_t smu_version; in aldebaran_is_mode1_reset_supported()
2025 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in aldebaran_is_mode1_reset_supported()
2029 if ((smu_version < 0x00440700)) in aldebaran_is_mode1_reset_supported()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega12_hwmgr.h390 uint32_t smu_version; member
H A Dvega20_hwmgr.h518 uint32_t smu_version; member
H A Dvega20_hwmgr.c99 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion, &hwmgr->smu_version); in vega20_set_default_registry_data()
100 if (hwmgr->smu_version < 0x282100) in vega20_set_default_registry_data()
2156 if (hwmgr->smu_version == 0x282e00) in vega20_get_gpu_power()
4283 if (hwmgr->smu_version < 0x283200) { in vega20_set_df_cstate()
/linux/drivers/gpu/drm/amd/pm/inc/
H A Damdgpu_dpm.h458 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version);
/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dhwmgr.h746 uint32_t smu_version; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v9_0.c1496 uint32_t smu_version; in gfx_v9_0_init_rlc_microcode() local
1512 else if (!strcmp(chip_name, "raven") && (amdgpu_pm_load_smu_firmware(adev, &smu_version) == 0) && in gfx_v9_0_init_rlc_microcode()
1513 (smu_version >= 0x41e2b)) in gfx_v9_0_init_rlc_microcode()
H A Damdgpu_device.c2929 uint32_t smu_version; in amdgpu_device_fw_loading() local
2968 r = amdgpu_pm_load_smu_firmware(adev, &smu_version); in amdgpu_device_fw_loading()