/Linux-v6.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-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | aldebaran_ppt.c | 471 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 …]
|
D | smu_v13_0.c | 272 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()
|
D | smu_v13_0_0_ppt.c | 244 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/ |
D | dcn301_smu.c | 131 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/ |
D | smu_cmn.c | 796 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()
|
D | smu_cmn.h | 86 uint32_t *smu_version);
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | arcturus_ppt.c | 1008 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 …]
|
D | sienna_cichlid_ppt.c | 1268 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 …]
|
D | smu_v11_0.c | 227 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()
|
D | navi10_ppt.c | 903 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()
|
D | vangogh_ppt.c | 227 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/ |
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 | 225 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()
|
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-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu10_hwmgr.c | 624 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()
|
D | vega12_hwmgr.h | 391 uint32_t smu_version; member
|
D | vega20_hwmgr.h | 520 uint32_t smu_version; member
|
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() 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/ |
D | amdgpu_dpm.c | 525 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/ |
D | amdgpu_dpm.h | 423 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version);
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | hwmgr.h | 749 uint32_t smu_version; member
|
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | gfx_v9_0.c | 1306 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()
|
D | amdgpu_device.c | 2254 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()
|