Home
last modified time | relevance | path

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

/netbsd/sys/external/bsd/drm2/dist/drm/amd/powerplay/
H A Damdgpu_smu_v12_0.c133 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v12_0_check_fw_version() local
138 ret = smu_get_smc_version(smu, &if_version, &smu_version); in smu_v12_0_check_fw_version()
142 smu_major = (smu_version >> 16) & 0xffff; in smu_v12_0_check_fw_version()
143 smu_minor = (smu_version >> 8) & 0xff; in smu_v12_0_check_fw_version()
144 smu_debug = (smu_version >> 0) & 0xff; in smu_v12_0_check_fw_version()
158 smu_version, smu_major, smu_minor, smu_debug); in smu_v12_0_check_fw_version()
H A Damdgpu_arcturus_ppt.c1360 uint32_t smu_version; in arcturus_get_power_profile_mode()
1365 result = smu_get_smc_version(smu, NULL, &smu_version); in arcturus_get_power_profile_mode()
1369 if (smu_version >= 0x360d00 && !amdgpu_sriov_vf(adev)) in arcturus_get_power_profile_mode()
1386 if (smu_version >= 0x360d00 && !amdgpu_sriov_vf(adev)) { in arcturus_get_power_profile_mode()
1401 if (smu_version >= 0x360d00 && !amdgpu_sriov_vf(adev)) { in arcturus_get_power_profile_mode()
1444 uint32_t smu_version; in arcturus_set_power_profile_mode() local
1451 ret = smu_get_smc_version(smu, NULL, &smu_version); in arcturus_set_power_profile_mode()
1456 (smu_version >=0x360d00)) { in arcturus_set_power_profile_mode()
H A Damdgpu_smu_v11_0.c249 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v11_0_check_fw_version() local
254 ret = smu_get_smc_version(smu, &if_version, &smu_version); in smu_v11_0_check_fw_version()
258 smu_major = (smu_version >> 16) & 0xffff; in smu_v11_0_check_fw_version()
259 smu_minor = (smu_version >> 8) & 0xff; in smu_v11_0_check_fw_version()
260 smu_debug = (smu_version >> 0) & 0xff; in smu_v11_0_check_fw_version()
293 smu_version, smu_major, smu_minor, smu_debug); in smu_v11_0_check_fw_version()
H A Damdgpu_smu.c197 int smu_get_smc_version(struct smu_context *smu, uint32_t *if_version, uint32_t *smu_version) in smu_get_smc_version() argument
201 if (!if_version && !smu_version) in smu_get_smc_version()
214 if (smu_version) { in smu_get_smc_version()
219 ret = smu_read_smc_arg(smu, smu_version); in smu_get_smc_version()
H A Damdgpu_vega20_ppt.c2905 uint32_t smu_version; in vega20_get_gpu_power() local
2916 ret = smu_get_smc_version(smu, NULL, &smu_version); in vega20_get_gpu_power()
2921 if (smu_version == 0x282e00) in vega20_get_gpu_power()
3132 uint32_t smu_version; in vega20_set_df_cstate() local
3135 ret = smu_get_smc_version(smu, NULL, &smu_version); in vega20_set_df_cstate()
3142 if (smu_version < 0x283200) { in vega20_set_df_cstate()
H A Damdgpu_navi10_ppt.c2243 uint32_t smu_version; in navi10_disable_umc_cdr_12gbps_workaround() local
2246 ret = smu_get_smc_version(smu, NULL, &smu_version); in navi10_disable_umc_cdr_12gbps_workaround()
2251 if (smu_version < 0x2A3200) in navi10_disable_umc_cdr_12gbps_workaround()
/netbsd/sys/external/bsd/drm2/dist/drm/amd/powerplay/smumgr/
H A Damdgpu_smu8_smumgr.c742 hwmgr->smu_version = cgs_read_register(hwmgr->device, mmMP0PUB_IND_DATA); in smu8_start_smu()
744 ((hwmgr->smu_version >> 16) & 0xFF), in smu8_start_smu()
745 ((hwmgr->smu_version >> 8) & 0xFF), in smu8_start_smu()
746 (hwmgr->smu_version & 0xFF)); in smu8_start_smu()
747 adev->pm.fw_version = hwmgr->smu_version >> 8; in smu8_start_smu()
H A Damdgpu_smu10_smumgr.c226 hwmgr->smu_version = smu10_read_arg_from_smc(hwmgr); in smu10_start_smu()
227 adev->pm.fw_version = hwmgr->smu_version >> 8; in smu10_start_smu()
H A Damdgpu_smu7_smumgr.c501 hwmgr->smu_version = info.version; in smu7_upload_smu_firmware_image()
H A Damdgpu_iceland_smumgr.c210 hwmgr->smu_version = info.version; in iceland_smu_upload_firmware_image()
H A Damdgpu_ci_smumgr.c2326 hwmgr->smu_version = info.version; in ci_load_smc_ucode()
/netbsd/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_pm.h44 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version);
H A Damdgpu_device.c1936 uint32_t smu_version; in amdgpu_device_fw_loading() local
1969 r = amdgpu_pm_load_smu_firmware(adev, &smu_version); in amdgpu_device_fw_loading()
H A Damdgpu_pm.c3231 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version) in amdgpu_pm_load_smu_firmware() argument
3241 *smu_version = adev->pm.fw_version; in amdgpu_pm_load_smu_firmware()
H A Damdgpu_gfx_v9_0.c1337 uint32_t smu_version; in gfx_v9_0_init_rlc_microcode() local
1351 else if (!strcmp(chip_name, "raven") && (amdgpu_pm_load_smu_firmware(adev, &smu_version) == 0) && in gfx_v9_0_init_rlc_microcode()
1352 (smu_version >= 0x41e2b)) in gfx_v9_0_init_rlc_microcode()
/netbsd/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/
H A Dvega12_hwmgr.h393 uint32_t smu_version; member
H A Dvega20_hwmgr.h522 uint32_t smu_version; member
H A Damdgpu_smu10_hwmgr.c581 if (hwmgr->smu_version < 0x1E3700) { in smu10_dpm_force_dpm_level()
1286 (hwmgr->smu_version >= 0x41e2b)) in smu10_is_raven1_refresh()
H A Damdgpu_vega20_hwmgr.c103 hwmgr->smu_version = smum_get_argument(hwmgr); in vega20_set_default_registry_data()
104 if (hwmgr->smu_version < 0x282100) in vega20_set_default_registry_data()
2115 if (hwmgr->smu_version == 0x282e00) in vega20_get_gpu_power()
4174 if (hwmgr->smu_version < 0x283200) { in vega20_set_df_cstate()
H A Damdgpu_vega10_hwmgr.c495 hwmgr->smu_version = smum_get_argument(hwmgr); in vega10_init_dpm_defaults()
497 if ((hwmgr->smu_version & 0xff000000) == 0x5000000) in vega10_init_dpm_defaults()
/netbsd/sys/external/bsd/drm2/dist/drm/amd/powerplay/inc/
H A Damdgpu_smu.h704 int smu_get_smc_version(struct smu_context *smu, uint32_t *if_version, uint32_t *smu_version);
H A Dhwmgr.h743 uint32_t smu_version; member