/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 81 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v12_0_check_fw_version() 85 smu_major = (smu_version >> 16) & 0xffff; 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_version, smu_major, smu_minor, smu_debug); in smu_v12_0_check_fw_version()
|
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/ |
D | dcn301_smu.c | 116 int smu_version = dcn301_smu_send_msg_with_param(clk_mgr, in dcn301_smu_get_smu_version() local 120 DC_LOG_DEBUG("%s %x\n", __func__, smu_version); in dcn301_smu_get_smu_version() 122 return smu_version; in dcn301_smu_get_smu_version()
|
/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | arcturus_ppt.c | 1011 uint32_t smu_version; in arcturus_force_clk_levels() local 1014 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in arcturus_force_clk_levels() 1020 if ((smu_version >= 0x361200) && in arcturus_force_clk_levels() 1021 (smu_version <= 0x361a00)) { in arcturus_force_clk_levels() 1401 uint32_t smu_version; in arcturus_get_power_profile_mode() local 1406 result = smu_cmn_get_smc_version(smu, NULL, &smu_version); in arcturus_get_power_profile_mode() 1410 if (smu_version >= 0x360d00) in arcturus_get_power_profile_mode() 1429 if (smu_version >= 0x360d00) { in arcturus_get_power_profile_mode() 1444 if (smu_version >= 0x360d00) { in arcturus_get_power_profile_mode() 1486 uint32_t smu_version; in arcturus_set_power_profile_mode() local [all …]
|
D | sienna_cichlid_ppt.c | 1106 uint32_t smu_version; in sienna_cichlid_print_clk_levels() local 1219 smu_cmn_get_smc_version(smu, NULL, &smu_version); in sienna_cichlid_print_clk_levels() 1221 (smu_version < 0x003a2900)) in sienna_cichlid_print_clk_levels() 2051 uint32_t smu_version; in sienna_cichlid_dump_od_table() local 2058 smu_cmn_get_smc_version(smu, NULL, &smu_version); in sienna_cichlid_dump_od_table() 2060 (smu_version < 0x003a2900))) in sienna_cichlid_dump_od_table() 2138 uint32_t smu_version; in sienna_cichlid_od_edit_dpm_table() local 2291 smu_cmn_get_smc_version(smu, NULL, &smu_version); in sienna_cichlid_od_edit_dpm_table() 2293 (smu_version < 0x003a2900)) { in sienna_cichlid_od_edit_dpm_table() 2357 u32 smu_version; in sienna_cichlid_is_mode1_reset_supported() local [all …]
|
D | smu_v11_0.c | 226 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_major = (smu_version >> 16) & 0xffff; in smu_v11_0_check_fw_version() 236 smu_minor = (smu_version >> 8) & 0xff; in smu_v11_0_check_fw_version() 237 smu_debug = (smu_version >> 0) & 0xff; in smu_v11_0_check_fw_version() 239 adev->pm.fw_version = smu_version; in smu_v11_0_check_fw_version() 290 smu_version, smu_major, smu_minor, smu_debug); in smu_v11_0_check_fw_version()
|
D | navi10_ppt.c | 919 uint32_t smu_version; in navi1x_get_smu_metrics_data() local 922 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in navi1x_get_smu_metrics_data() 930 if (smu_version > 0x00341C00) in navi1x_get_smu_metrics_data() 938 if (((adev->asic_type == CHIP_NAVI14) && smu_version > 0x00351F00) || in navi1x_get_smu_metrics_data() 939 ((adev->asic_type == CHIP_NAVI10) && smu_version > 0x002A3B00)) in navi1x_get_smu_metrics_data() 3148 uint32_t smu_version; in navi1x_get_gpu_metrics() local 3151 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in navi1x_get_gpu_metrics() 3159 if (smu_version > 0x00341C00) in navi1x_get_gpu_metrics() 3167 if (((adev->asic_type == CHIP_NAVI14) && smu_version > 0x00351F00) || in navi1x_get_gpu_metrics() 3168 ((adev->asic_type == CHIP_NAVI10) && smu_version > 0x002A3B00)) in navi1x_get_gpu_metrics()
|
/drivers/gpu/drm/amd/pm/swsmu/ |
D | smu_cmn.c | 835 uint32_t *smu_version) in smu_cmn_get_smc_version() argument 839 if (!if_version && !smu_version) in smu_cmn_get_smc_version() 847 if (smu_version) in smu_cmn_get_smc_version() 848 *smu_version = smu->smc_fw_version; in smu_cmn_get_smc_version() 861 if (smu_version) { in smu_cmn_get_smc_version() 862 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetSmuVersion, smu_version); in smu_cmn_get_smc_version() 866 smu->smc_fw_version = *smu_version; in smu_cmn_get_smc_version()
|
D | smu_cmn.h | 88 uint32_t *smu_version);
|
/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | smu_v13_0.c | 201 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v13_0_check_fw_version() local 206 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v13_0_check_fw_version() 210 smu_major = (smu_version >> 16) & 0xffff; in smu_v13_0_check_fw_version() 211 smu_minor = (smu_version >> 8) & 0xff; in smu_v13_0_check_fw_version() 212 smu_debug = (smu_version >> 0) & 0xff; in smu_v13_0_check_fw_version() 214 adev->pm.fw_version = smu_version; in smu_v13_0_check_fw_version() 230 smu_version, smu_major, smu_minor, smu_debug); in smu_v13_0_check_fw_version() 244 smu_version, smu_major, smu_minor, smu_debug); in smu_v13_0_check_fw_version() 1423 u32 smu_version; in smu_v13_0_mode1_reset() local 1428 smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v13_0_mode1_reset() [all …]
|
D | aldebaran_ppt.c | 455 u32 smu_version; in aldebaran_run_board_btc() local 461 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in aldebaran_run_board_btc() 466 if (smu_version <= 0x00441d00) in aldebaran_run_board_btc() 1769 u32 smu_version; in aldebaran_mode2_reset() local 1774 smu_cmn_get_smc_version(smu, NULL, &smu_version); in aldebaran_mode2_reset() 1780 if (smu_version >= 0x00441400) { in aldebaran_mode2_reset() 1807 smu_version); in aldebaran_mode2_reset() 1822 u32 smu_version; in aldebaran_is_mode1_reset_supported() 1827 smu_cmn_get_smc_version(smu, NULL, &smu_version); in aldebaran_is_mode1_reset_supported() 1828 if ((smu_version < 0x00440700)) in aldebaran_is_mode1_reset_supported()
|
/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 | 486 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()
|
D | ci_smumgr.c | 2322 hwmgr->smu_version = info.version; in ci_load_smc_ucode()
|
/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() 1477 (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() 4271 if (hwmgr->smu_version < 0x283200) { in vega20_set_df_cstate()
|
D | vega10_hwmgr.c | 491 &hwmgr->smu_version); in vega10_init_dpm_defaults() 493 if ((hwmgr->smu_version & 0xff000000) == 0x5000000) in vega10_init_dpm_defaults()
|
/drivers/gpu/drm/amd/pm/inc/ |
D | amdgpu_dpm.h | 576 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version);
|
D | hwmgr.h | 750 uint32_t smu_version; member
|
/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 1611 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version) in amdgpu_pm_load_smu_firmware() argument 1622 if (smu_version) in amdgpu_pm_load_smu_firmware() 1623 *smu_version = adev->pm.fw_version; in amdgpu_pm_load_smu_firmware()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_device.c | 2361 uint32_t smu_version; in amdgpu_device_fw_loading() local 2397 r = amdgpu_pm_load_smu_firmware(adev, &smu_version); in amdgpu_device_fw_loading()
|
D | gfx_v9_0.c | 1442 uint32_t smu_version; in gfx_v9_0_init_rlc_microcode() local 1456 else if (!strcmp(chip_name, "raven") && (amdgpu_pm_load_smu_firmware(adev, &smu_version) == 0) && in gfx_v9_0_init_rlc_microcode() 1457 (smu_version >= 0x41e2b)) in gfx_v9_0_init_rlc_microcode()
|