Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu12/
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-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
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-6.12.1/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.c908 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()
Dsmu_cmn.h110 uint32_t *smu_version);
/linux-6.12.1/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.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()
Dsmu7_smumgr.c489 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()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/
Dsmu_v14_0.c229 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()
Dsmu_v14_0_2_ppt.c291 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/
Dsmu_v11_0.c197 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()
Dsienna_cichlid_ppt.c2474 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/
Dsmu_v13_0.c257 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()
Daldebaran_ppt.c1955 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()
Dsmu_v13_0_0_ppt.c2583 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/
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()
Dvega12_hwmgr.h390 uint32_t smu_version; member
Dvega20_hwmgr.h518 uint32_t smu_version; member
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()
Dvega10_hwmgr.c490 &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/
Damdgpu_dpm.c620 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/
Damdgpu_dpm.h448 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/
Dhwmgr.h747 uint32_t smu_version; member
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c2677 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()
Dgfx_v9_0.c1465 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()

12