Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/pm/swsmu/smu12/
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()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
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()
/drivers/gpu/drm/amd/pm/swsmu/
A Dsmu_cmn.c917 uint32_t *smu_version) in smu_cmn_get_smc_version() argument
921 if (!if_version && !smu_version) in smu_cmn_get_smc_version()
929 if (smu_version) in smu_cmn_get_smc_version()
930 *smu_version = smu->smc_fw_version; in smu_cmn_get_smc_version()
943 if (smu_version) { in smu_cmn_get_smc_version()
944 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetSmuVersion, smu_version); in smu_cmn_get_smc_version()
948 smu->smc_fw_version = *smu_version; in smu_cmn_get_smc_version()
A Dsmu_cmn.h135 uint32_t *smu_version);
/drivers/gpu/drm/amd/pm/powerplay/smumgr/
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()
A Dsmu10_smumgr.c228 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion, &hwmgr->smu_version); in smu10_start_smu()
229 adev->pm.fw_version = hwmgr->smu_version >> 8; in smu10_start_smu()
A Dsmu7_smumgr.c453 hwmgr->smu_version = info.version; in smu7_upload_smu_firmware_image()
A Diceland_smumgr.c205 hwmgr->smu_version = info.version; in iceland_smu_upload_firmware_image()
/drivers/gpu/drm/amd/pm/swsmu/smu14/
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()
A Dsmu_v14_0_2_ppt.c292 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()
/drivers/gpu/drm/amd/pm/swsmu/smu11/
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()
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()
/drivers/gpu/drm/amd/pm/swsmu/smu13/
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()
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()
A Dsmu_v13_0_0_ppt.c2695 u32 smu_version; in smu_v13_0_0_is_mode1_reset_supported() local
2703 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v13_0_0_is_mode1_reset_supported()
2707 if (smu_version < 0x004e2900) in smu_v13_0_0_is_mode1_reset_supported()
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dsmu10_hwmgr.c634 if (hwmgr->smu_version < 0x1E3700) { in smu10_dpm_force_dpm_level()
1307 (hwmgr->smu_version >= 0x41e3b)) in smu10_read_sensor()
1310 (hwmgr->smu_version >= 0x1e5500)) in smu10_read_sensor()
1488 (hwmgr->smu_version >= 0x41e2b)) in smu10_is_raven1_refresh()
A Dvega12_hwmgr.h390 uint32_t smu_version; member
A Dvega20_hwmgr.h518 uint32_t smu_version; member
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()
A Dvega10_hwmgr.c490 &hwmgr->smu_version); in vega10_init_dpm_defaults()
495 if ((hwmgr->smu_version & 0xff000000) == 0x5000000) in vega10_init_dpm_defaults()
/drivers/gpu/drm/amd/pm/
A Damdgpu_dpm.c687 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version) in amdgpu_pm_load_smu_firmware() argument
703 if (smu_version) in amdgpu_pm_load_smu_firmware()
704 *smu_version = adev->pm.fw_version; in amdgpu_pm_load_smu_firmware()
/drivers/gpu/drm/amd/pm/inc/
A Damdgpu_dpm.h458 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version);
/drivers/gpu/drm/amd/pm/powerplay/inc/
A Dhwmgr.h746 uint32_t smu_version; member
/drivers/gpu/drm/amd/amdgpu/
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()
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()

Completed in 123 milliseconds

12