Home
last modified time | relevance | path

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

12

/Linux-v6.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-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Daldebaran_ppt.c471 u32 smu_version; in aldebaran_run_board_btc() local
477 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in aldebaran_run_board_btc()
482 if (smu_version <= 0x00441d00) in aldebaran_run_board_btc()
1815 uint32_t if_version = 0xff, smu_version = 0xff; in aldebaran_check_ecc_table_support() local
1818 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in aldebaran_check_ecc_table_support()
1824 if (smu_version < SUPPORT_ECCTABLE_SMU_VERSION) in aldebaran_check_ecc_table_support()
1826 else if (smu_version >= SUPPORT_ECCTABLE_SMU_VERSION && in aldebaran_check_ecc_table_support()
1827 smu_version < SUPPORT_ECCTABLE_V2_SMU_VERSION) in aldebaran_check_ecc_table_support()
1895 u32 smu_version, fatal_err, param; in aldebaran_mode1_reset() local
1906 smu_cmn_get_smc_version(smu, NULL, &smu_version); in aldebaran_mode1_reset()
[all …]
Dsmu_v13_0.c272 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v13_0_check_fw_version() local
276 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v13_0_check_fw_version()
280 smu_program = (smu_version >> 24) & 0xff; in smu_v13_0_check_fw_version()
281 smu_major = (smu_version >> 16) & 0xff; in smu_v13_0_check_fw_version()
282 smu_minor = (smu_version >> 8) & 0xff; in smu_v13_0_check_fw_version()
283 smu_debug = (smu_version >> 0) & 0xff; in smu_v13_0_check_fw_version()
285 adev->pm.fw_version = smu_version; in smu_v13_0_check_fw_version()
319 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v13_0_check_fw_version()
333 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v13_0_check_fw_version()
Dsmu_v13_0_0_ppt.c244 u32 smu_version; in smu_v13_0_0_get_allowed_feature_mask() local
264 smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v13_0_0_get_allowed_feature_mask()
265 if ((smu_version < 0x004e3a00) || in smu_v13_0_0_get_allowed_feature_mask()
1598 u32 smu_version; in smu_v13_0_0_is_mode1_reset_supported() local
1605 smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v13_0_0_is_mode1_reset_supported()
1606 if (smu_version < 0x004e2900) in smu_v13_0_0_is_mode1_reset_supported()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
Ddcn301_smu.c131 int smu_version = dcn301_smu_send_msg_with_param(clk_mgr, in dcn301_smu_get_smu_version() local
135 DC_LOG_DEBUG("%s %x\n", __func__, smu_version); in dcn301_smu_get_smu_version()
137 return smu_version; in dcn301_smu_get_smu_version()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.c796 uint32_t *smu_version) in smu_cmn_get_smc_version() argument
800 if (!if_version && !smu_version) in smu_cmn_get_smc_version()
808 if (smu_version) in smu_cmn_get_smc_version()
809 *smu_version = smu->smc_fw_version; in smu_cmn_get_smc_version()
822 if (smu_version) { in smu_cmn_get_smc_version()
823 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetSmuVersion, smu_version); in smu_cmn_get_smc_version()
827 smu->smc_fw_version = *smu_version; in smu_cmn_get_smc_version()
Dsmu_cmn.h86 uint32_t *smu_version);
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Darcturus_ppt.c1008 uint32_t smu_version; in arcturus_force_clk_levels() local
1011 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in arcturus_force_clk_levels()
1017 if ((smu_version >= 0x361200) && in arcturus_force_clk_levels()
1018 (smu_version <= 0x361a00)) { in arcturus_force_clk_levels()
1388 uint32_t smu_version; in arcturus_get_power_profile_mode() local
1393 result = smu_cmn_get_smc_version(smu, NULL, &smu_version); in arcturus_get_power_profile_mode()
1397 if (smu_version >= 0x360d00) in arcturus_get_power_profile_mode()
1416 if (smu_version >= 0x360d00) { in arcturus_get_power_profile_mode()
1431 if (smu_version >= 0x360d00) { in arcturus_get_power_profile_mode()
1473 uint32_t smu_version; in arcturus_set_power_profile_mode() local
[all …]
Dsienna_cichlid_ppt.c1268 uint32_t smu_version; in sienna_cichlid_print_clk_levels() local
1377 smu_cmn_get_smc_version(smu, NULL, &smu_version); in sienna_cichlid_print_clk_levels()
1379 (smu_version < 0x003a2900)) in sienna_cichlid_print_clk_levels()
2125 uint32_t smu_version; in sienna_cichlid_dump_od_table() local
2132 smu_cmn_get_smc_version(smu, NULL, &smu_version); in sienna_cichlid_dump_od_table()
2134 (smu_version < 0x003a2900))) in sienna_cichlid_dump_od_table()
2203 uint32_t smu_version; in sienna_cichlid_od_edit_dpm_table() local
2356 smu_cmn_get_smc_version(smu, NULL, &smu_version); in sienna_cichlid_od_edit_dpm_table()
2358 (smu_version < 0x003a2900)) { in sienna_cichlid_od_edit_dpm_table()
2414 u32 smu_version; in sienna_cichlid_is_mode1_reset_supported() local
[all …]
Dsmu_v11_0.c227 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v11_0_check_fw_version() local
231 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v11_0_check_fw_version()
235 smu_program = (smu_version >> 24) & 0xff; in smu_v11_0_check_fw_version()
236 smu_major = (smu_version >> 16) & 0xff; in smu_v11_0_check_fw_version()
237 smu_minor = (smu_version >> 8) & 0xff; in smu_v11_0_check_fw_version()
238 smu_debug = (smu_version >> 0) & 0xff; in smu_v11_0_check_fw_version()
240 adev->pm.fw_version = smu_version; in smu_v11_0_check_fw_version()
292 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v11_0_check_fw_version()
Dnavi10_ppt.c903 uint32_t smu_version; in navi1x_get_smu_metrics_data() local
906 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in navi1x_get_smu_metrics_data()
914 if (smu_version > 0x00341C00) in navi1x_get_smu_metrics_data()
922 if (((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 5)) && smu_version > 0x00351F00) || in navi1x_get_smu_metrics_data()
923 ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 0)) && smu_version > 0x002A3B00)) in navi1x_get_smu_metrics_data()
3341 uint32_t smu_version; in navi1x_get_gpu_metrics() local
3344 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in navi1x_get_gpu_metrics()
3352 if (smu_version > 0x00341C00) in navi1x_get_gpu_metrics()
3360 if (((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 5)) && smu_version > 0x00351F00) || in navi1x_get_gpu_metrics()
3361 ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 0)) && smu_version > 0x002A3B00)) in navi1x_get_gpu_metrics()
Dvangogh_ppt.c227 uint32_t smu_version; in vangogh_tables_init() local
230 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in vangogh_tables_init()
257 if (smu_version >= 0x043F3E00) in vangogh_tables_init()
1906 uint32_t smu_version; in vangogh_common_get_gpu_metrics() local
1909 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in vangogh_common_get_gpu_metrics()
1914 if (smu_version >= 0x043F3E00) { in vangogh_common_get_gpu_metrics()
/Linux-v6.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.c225 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion, &hwmgr->smu_version); in smu10_start_smu()
226 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-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu10_hwmgr.c624 if (hwmgr->smu_version < 0x1E3700) { in smu10_dpm_force_dpm_level()
1293 (hwmgr->smu_version >= 0x41e3b)) in smu10_read_sensor()
1296 (hwmgr->smu_version >= 0x1e5500)) in smu10_read_sensor()
1470 (hwmgr->smu_version >= 0x41e2b)) in smu10_is_raven1_refresh()
Dvega12_hwmgr.h391 uint32_t smu_version; member
Dvega20_hwmgr.h520 uint32_t smu_version; member
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()
2150 if (hwmgr->smu_version == 0x282e00) in vega20_get_gpu_power()
4262 if (hwmgr->smu_version < 0x283200) { in vega20_set_df_cstate()
/Linux-v6.1/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c525 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version) in amdgpu_pm_load_smu_firmware() argument
540 if (smu_version) in amdgpu_pm_load_smu_firmware()
541 *smu_version = adev->pm.fw_version; in amdgpu_pm_load_smu_firmware()
/Linux-v6.1/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h423 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version);
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/inc/
Dhwmgr.h749 uint32_t smu_version; member
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Dgfx_v9_0.c1306 uint32_t smu_version; in gfx_v9_0_init_rlc_microcode() local
1320 else if (!strcmp(chip_name, "raven") && (amdgpu_pm_load_smu_firmware(adev, &smu_version) == 0) && in gfx_v9_0_init_rlc_microcode()
1321 (smu_version >= 0x41e2b)) in gfx_v9_0_init_rlc_microcode()
Damdgpu_device.c2254 uint32_t smu_version; in amdgpu_device_fw_loading() local
2290 r = amdgpu_pm_load_smu_firmware(adev, &smu_version); in amdgpu_device_fw_loading()

12