Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/pm/swsmu/smu12/
Dsmu_v12_0.c74 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v12_0_check_fw_version() local
79 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v12_0_check_fw_version()
83 smu_major = (smu_version >> 16) & 0xffff; in smu_v12_0_check_fw_version()
84 smu_minor = (smu_version >> 8) & 0xff; in smu_v12_0_check_fw_version()
85 smu_debug = (smu_version >> 0) & 0xff; in smu_v12_0_check_fw_version()
99 smu_version, smu_major, smu_minor, smu_debug); in smu_v12_0_check_fw_version()
/Linux-v5.10/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.c539 uint32_t *smu_version) in smu_cmn_get_smc_version() argument
543 if (!if_version && !smu_version) in smu_cmn_get_smc_version()
551 if (smu_version) in smu_cmn_get_smc_version()
552 *smu_version = smu->smc_fw_version; in smu_cmn_get_smc_version()
565 if (smu_version) { in smu_cmn_get_smc_version()
566 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetSmuVersion, smu_version); in smu_cmn_get_smc_version()
570 smu->smc_fw_version = *smu_version; in smu_cmn_get_smc_version()
Dsmu_cmn.h74 uint32_t *smu_version);
/Linux-v5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Darcturus_ppt.c891 uint32_t smu_version; in arcturus_force_clk_levels() local
894 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in arcturus_force_clk_levels()
900 if ((smu_version >= 0x361200) && in arcturus_force_clk_levels()
901 (smu_version <= 0x361a00)) { in arcturus_force_clk_levels()
1201 uint32_t smu_version; in arcturus_get_power_profile_mode() local
1206 result = smu_cmn_get_smc_version(smu, NULL, &smu_version); in arcturus_get_power_profile_mode()
1210 if (smu_version >= 0x360d00) in arcturus_get_power_profile_mode()
1229 if (smu_version >= 0x360d00) { in arcturus_get_power_profile_mode()
1244 if (smu_version >= 0x360d00) { in arcturus_get_power_profile_mode()
1286 uint32_t smu_version; in arcturus_set_power_profile_mode() local
[all …]
Dsmu_v11_0.c215 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v11_0_check_fw_version() local
220 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v11_0_check_fw_version()
224 smu_major = (smu_version >> 16) & 0xffff; in smu_v11_0_check_fw_version()
225 smu_minor = (smu_version >> 8) & 0xff; in smu_v11_0_check_fw_version()
226 smu_debug = (smu_version >> 0) & 0xff; in smu_v11_0_check_fw_version()
265 smu_version, smu_major, smu_minor, smu_debug); in smu_v11_0_check_fw_version()
Dsienna_cichlid_ppt.c1750 u32 smu_version; in sienna_cichlid_is_mode1_reset_supported() local
1756 smu_cmn_get_smc_version(smu, NULL, &smu_version); in sienna_cichlid_is_mode1_reset_supported()
1757 if (amdgpu_sriov_vf(adev) || (smu_version < 0x003a1a00)) in sienna_cichlid_is_mode1_reset_supported()
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
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()
Dsmu10_smumgr.c226 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion, &hwmgr->smu_version); in smu10_start_smu()
227 adev->pm.fw_version = hwmgr->smu_version >> 8; in smu10_start_smu()
Dsmu7_smumgr.c486 hwmgr->smu_version = info.version; in smu7_upload_smu_firmware_image()
Diceland_smumgr.c205 hwmgr->smu_version = info.version; in iceland_smu_upload_firmware_image()
Dci_smumgr.c2322 hwmgr->smu_version = info.version; in ci_load_smc_ucode()
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.h391 uint32_t smu_version; member
Dvega20_hwmgr.h520 uint32_t smu_version; member
Dsmu10_hwmgr.c600 if (hwmgr->smu_version < 0x1E3700) { in smu10_dpm_force_dpm_level()
1364 (hwmgr->smu_version >= 0x41e2b)) in smu10_is_raven1_refresh()
Dvega20_hwmgr.c100 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion, &hwmgr->smu_version); in vega20_set_default_registry_data()
101 if (hwmgr->smu_version < 0x282100) in vega20_set_default_registry_data()
2114 if (hwmgr->smu_version == 0x282e00) in vega20_get_gpu_power()
4236 if (hwmgr->smu_version < 0x283200) { in vega20_set_df_cstate()
Dvega10_hwmgr.c489 &hwmgr->smu_version); in vega10_init_dpm_defaults()
491 if ((hwmgr->smu_version & 0xff000000) == 0x5000000) in vega10_init_dpm_defaults()
/Linux-v5.10/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h567 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version);
Dhwmgr.h748 uint32_t smu_version; member
/Linux-v5.10/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c1674 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version) in amdgpu_pm_load_smu_firmware() argument
1684 *smu_version = adev->pm.fw_version; in amdgpu_pm_load_smu_firmware()
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c2110 uint32_t smu_version; in amdgpu_device_fw_loading() local
2143 r = amdgpu_pm_load_smu_firmware(adev, &smu_version); in amdgpu_device_fw_loading()
Dgfx_v9_0.c1401 uint32_t smu_version; in gfx_v9_0_init_rlc_microcode() local
1415 else if (!strcmp(chip_name, "raven") && (amdgpu_pm_load_smu_firmware(adev, &smu_version) == 0) && in gfx_v9_0_init_rlc_microcode()
1416 (smu_version >= 0x41e2b)) in gfx_v9_0_init_rlc_microcode()