/Linux-v5.10/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
D | smu_v12_0.c | 74 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/ |
D | smu_cmn.c | 539 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()
|
D | smu_cmn.h | 74 uint32_t *smu_version);
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | arcturus_ppt.c | 891 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 …]
|
D | smu_v11_0.c | 215 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()
|
D | sienna_cichlid_ppt.c | 1750 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/ |
D | smu8_smumgr.c | 746 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()
|
D | smu10_smumgr.c | 226 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()
|
D | smu7_smumgr.c | 486 hwmgr->smu_version = info.version; in smu7_upload_smu_firmware_image()
|
D | iceland_smumgr.c | 205 hwmgr->smu_version = info.version; in iceland_smu_upload_firmware_image()
|
D | ci_smumgr.c | 2322 hwmgr->smu_version = info.version; in ci_load_smc_ucode()
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega12_hwmgr.h | 391 uint32_t smu_version; member
|
D | vega20_hwmgr.h | 520 uint32_t smu_version; member
|
D | smu10_hwmgr.c | 600 if (hwmgr->smu_version < 0x1E3700) { in smu10_dpm_force_dpm_level() 1364 (hwmgr->smu_version >= 0x41e2b)) in smu10_is_raven1_refresh()
|
D | vega20_hwmgr.c | 100 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()
|
D | vega10_hwmgr.c | 489 &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/ |
D | amdgpu_dpm.h | 567 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version);
|
D | hwmgr.h | 748 uint32_t smu_version; member
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 1674 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/ |
D | amdgpu_device.c | 2110 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()
|
D | gfx_v9_0.c | 1401 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()
|