Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu12/
H 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()
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
H 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()
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/
H A Dsmu_cmn.c907 uint32_t *smu_version) in smu_cmn_get_smc_version() argument
911 if (!if_version && !smu_version) in smu_cmn_get_smc_version()
919 if (smu_version) in smu_cmn_get_smc_version()
920 *smu_version = smu->smc_fw_version; in smu_cmn_get_smc_version()
933 if (smu_version) { in smu_cmn_get_smc_version()
934 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetSmuVersion, smu_version); in smu_cmn_get_smc_version()
938 smu->smc_fw_version = *smu_version; in smu_cmn_get_smc_version()
H A Dsmu_cmn.h110 uint32_t *smu_version);
/linux-6.15/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H 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()
H 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()
H A Dsmu7_smumgr.c489 hwmgr->smu_version = info.version; in smu7_upload_smu_firmware_image()
H A Diceland_smumgr.c205 hwmgr->smu_version = info.version; in iceland_smu_upload_firmware_image()
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0.c230 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v14_0_check_fw_version() local
234 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v14_0_check_fw_version()
238 smu_program = (smu_version >> 24) & 0xff; in smu_v14_0_check_fw_version()
239 smu_major = (smu_version >> 16) & 0xff; in smu_v14_0_check_fw_version()
240 smu_minor = (smu_version >> 8) & 0xff; in smu_v14_0_check_fw_version()
241 smu_debug = (smu_version >> 0) & 0xff; in smu_v14_0_check_fw_version()
243 adev->pm.fw_version = smu_version; in smu_v14_0_check_fw_version()
267 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v14_0_check_fw_version()
281 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v14_0_check_fw_version()
H 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()
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu11/
H 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()
H A Dsienna_cichlid_ppt.c2508 uint32_t smu_version; in sienna_cichlid_is_mode1_reset_supported() local
2515 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in sienna_cichlid_is_mode1_reset_supported()
2519 if (amdgpu_sriov_vf(adev) || (smu_version < 0x003a1a00)) in sienna_cichlid_is_mode1_reset_supported()
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0.c258 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v13_0_check_fw_version() local
262 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v13_0_check_fw_version()
266 smu_program = (smu_version >> 24) & 0xff; in smu_v13_0_check_fw_version()
267 smu_major = (smu_version >> 16) & 0xff; in smu_v13_0_check_fw_version()
268 smu_minor = (smu_version >> 8) & 0xff; in smu_v13_0_check_fw_version()
269 smu_debug = (smu_version >> 0) & 0xff; in smu_v13_0_check_fw_version()
270 adev->pm.fw_version = smu_version; in smu_v13_0_check_fw_version()
275 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v13_0_check_fw_version()
289 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v13_0_check_fw_version()
H A 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()
H A Dsmu_v13_0_0_ppt.c2715 u32 smu_version; in smu_v13_0_0_is_mode1_reset_supported() local
2723 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v13_0_0_is_mode1_reset_supported()
2727 if (smu_version < 0x004e2900) in smu_v13_0_0_is_mode1_reset_supported()
/linux-6.15/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H 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()
H A Dvega12_hwmgr.h390 uint32_t smu_version; member
H A Dvega20_hwmgr.h518 uint32_t smu_version; member
H 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()
H A 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.15/drivers/gpu/drm/amd/pm/
H A Damdgpu_dpm.c658 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version) in amdgpu_pm_load_smu_firmware() argument
674 if (smu_version) in amdgpu_pm_load_smu_firmware()
675 *smu_version = adev->pm.fw_version; in amdgpu_pm_load_smu_firmware()
/linux-6.15/drivers/gpu/drm/amd/pm/inc/
H A Damdgpu_dpm.h456 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version);
/linux-6.15/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dhwmgr.h746 uint32_t smu_version; member
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v9_0.c1469 uint32_t smu_version; in gfx_v9_0_init_rlc_microcode() local
1485 else if (!strcmp(chip_name, "raven") && (amdgpu_pm_load_smu_firmware(adev, &smu_version) == 0) && in gfx_v9_0_init_rlc_microcode()
1486 (smu_version >= 0x41e2b)) in gfx_v9_0_init_rlc_microcode()
H A Damdgpu_device.c2847 uint32_t smu_version; in amdgpu_device_fw_loading() local
2883 r = amdgpu_pm_load_smu_firmware(adev, &smu_version); in amdgpu_device_fw_loading()

12