/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
D | smu_v12_0.c | 76 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-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/ |
D | dcn301_smu.c | 135 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-6.12.1/drivers/gpu/drm/amd/pm/swsmu/ |
D | smu_cmn.c | 908 uint32_t *smu_version) in smu_cmn_get_smc_version() argument 912 if (!if_version && !smu_version) in smu_cmn_get_smc_version() 920 if (smu_version) in smu_cmn_get_smc_version() 921 *smu_version = smu->smc_fw_version; in smu_cmn_get_smc_version() 934 if (smu_version) { in smu_cmn_get_smc_version() 935 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetSmuVersion, smu_version); in smu_cmn_get_smc_version() 939 smu->smc_fw_version = *smu_version; in smu_cmn_get_smc_version()
|
D | smu_cmn.h | 110 uint32_t *smu_version);
|
/linux-6.12.1/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 | 228 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()
|
D | smu7_smumgr.c | 489 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()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/ |
D | smu_v14_0.c | 229 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v14_0_check_fw_version() local 233 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v14_0_check_fw_version() 237 smu_program = (smu_version >> 24) & 0xff; in smu_v14_0_check_fw_version() 238 smu_major = (smu_version >> 16) & 0xff; in smu_v14_0_check_fw_version() 239 smu_minor = (smu_version >> 8) & 0xff; in smu_v14_0_check_fw_version() 240 smu_debug = (smu_version >> 0) & 0xff; in smu_v14_0_check_fw_version() 242 adev->pm.fw_version = smu_version; in smu_v14_0_check_fw_version() 265 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v14_0_check_fw_version() 279 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v14_0_check_fw_version()
|
D | smu_v14_0_2_ppt.c | 291 smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v14_0_2_get_allowed_feature_mask() 292 if ((smu_version < 0x004e3a00) || in smu_v14_0_2_get_allowed_feature_mask()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | smu_v11_0.c | 197 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v11_0_check_fw_version() local 201 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v11_0_check_fw_version() 205 smu_program = (smu_version >> 24) & 0xff; in smu_v11_0_check_fw_version() 206 smu_major = (smu_version >> 16) & 0xff; in smu_v11_0_check_fw_version() 207 smu_minor = (smu_version >> 8) & 0xff; in smu_v11_0_check_fw_version() 208 smu_debug = (smu_version >> 0) & 0xff; in smu_v11_0_check_fw_version() 210 adev->pm.fw_version = smu_version; in smu_v11_0_check_fw_version() 262 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v11_0_check_fw_version()
|
D | sienna_cichlid_ppt.c | 2474 uint32_t smu_version; in sienna_cichlid_is_mode1_reset_supported() local 2481 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in sienna_cichlid_is_mode1_reset_supported() 2485 if (amdgpu_sriov_vf(adev) || (smu_version < 0x003a1a00)) in sienna_cichlid_is_mode1_reset_supported()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | smu_v13_0.c | 257 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v13_0_check_fw_version() local 261 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v13_0_check_fw_version() 265 smu_program = (smu_version >> 24) & 0xff; in smu_v13_0_check_fw_version() 266 smu_major = (smu_version >> 16) & 0xff; in smu_v13_0_check_fw_version() 267 smu_minor = (smu_version >> 8) & 0xff; in smu_v13_0_check_fw_version() 268 smu_debug = (smu_version >> 0) & 0xff; in smu_v13_0_check_fw_version() 272 adev->pm.fw_version = smu_version; in smu_v13_0_check_fw_version() 277 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v13_0_check_fw_version() 291 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v13_0_check_fw_version()
|
D | aldebaran_ppt.c | 1955 uint32_t smu_version; in aldebaran_is_mode1_reset_supported() 1961 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in aldebaran_is_mode1_reset_supported() 1965 if ((smu_version < 0x00440700)) in aldebaran_is_mode1_reset_supported()
|
D | smu_v13_0_0_ppt.c | 2583 u32 smu_version; in smu_v13_0_0_is_mode1_reset_supported() local 2591 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v13_0_0_is_mode1_reset_supported() 2595 if (smu_version < 0x004e2900) in smu_v13_0_0_is_mode1_reset_supported()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu10_hwmgr.c | 634 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()
|
D | vega12_hwmgr.h | 390 uint32_t smu_version; member
|
D | vega20_hwmgr.h | 518 uint32_t smu_version; member
|
D | vega20_hwmgr.c | 99 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()
|
D | vega10_hwmgr.c | 490 &hwmgr->smu_version); in vega10_init_dpm_defaults() 495 if ((hwmgr->smu_version & 0xff000000) == 0x5000000) in vega10_init_dpm_defaults()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 620 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version) in amdgpu_pm_load_smu_firmware() argument 636 if (smu_version) in amdgpu_pm_load_smu_firmware() 637 *smu_version = adev->pm.fw_version; in amdgpu_pm_load_smu_firmware()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/inc/ |
D | amdgpu_dpm.h | 448 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version);
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | hwmgr.h | 747 uint32_t smu_version; member
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_device.c | 2677 uint32_t smu_version; in amdgpu_device_fw_loading() local 2713 r = amdgpu_pm_load_smu_firmware(adev, &smu_version); in amdgpu_device_fw_loading()
|
D | gfx_v9_0.c | 1465 uint32_t smu_version; in gfx_v9_0_init_rlc_microcode() local 1480 else if (!strcmp(chip_name, "raven") && (amdgpu_pm_load_smu_firmware(adev, &smu_version) == 0) && in gfx_v9_0_init_rlc_microcode() 1481 (smu_version >= 0x41e2b)) in gfx_v9_0_init_rlc_microcode()
|