/netbsd/sys/external/bsd/drm2/dist/drm/amd/powerplay/ |
H A D | amdgpu_smu_v12_0.c | 133 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 D | amdgpu_arcturus_ppt.c | 1360 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 D | amdgpu_smu_v11_0.c | 249 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 D | amdgpu_smu.c | 197 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 D | amdgpu_vega20_ppt.c | 2905 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 D | amdgpu_navi10_ppt.c | 2243 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 D | amdgpu_smu8_smumgr.c | 742 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 D | amdgpu_smu10_smumgr.c | 226 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 D | amdgpu_smu7_smumgr.c | 501 hwmgr->smu_version = info.version; in smu7_upload_smu_firmware_image()
|
H A D | amdgpu_iceland_smumgr.c | 210 hwmgr->smu_version = info.version; in iceland_smu_upload_firmware_image()
|
H A D | amdgpu_ci_smumgr.c | 2326 hwmgr->smu_version = info.version; in ci_load_smc_ucode()
|
/netbsd/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_pm.h | 44 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version);
|
H A D | amdgpu_device.c | 1936 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 D | amdgpu_pm.c | 3231 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 D | amdgpu_gfx_v9_0.c | 1337 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 D | vega12_hwmgr.h | 393 uint32_t smu_version; member
|
H A D | vega20_hwmgr.h | 522 uint32_t smu_version; member
|
H A D | amdgpu_smu10_hwmgr.c | 581 if (hwmgr->smu_version < 0x1E3700) { in smu10_dpm_force_dpm_level() 1286 (hwmgr->smu_version >= 0x41e2b)) in smu10_is_raven1_refresh()
|
H A D | amdgpu_vega20_hwmgr.c | 103 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 D | amdgpu_vega10_hwmgr.c | 495 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 D | amdgpu_smu.h | 704 int smu_get_smc_version(struct smu_context *smu, uint32_t *if_version, uint32_t *smu_version);
|
H A D | hwmgr.h | 743 uint32_t smu_version; member
|