Home
last modified time | relevance | path

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

12

/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu12/
H A 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()
/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu13/
H A Daldebaran_ppt.c473 u32 smu_version; in aldebaran_run_board_btc() local
484 if (smu_version <= 0x00441d00) in aldebaran_run_board_btc()
1813 uint32_t if_version = 0xff, smu_version = 0xff; in aldebaran_check_ecc_table_support() local
1893 u32 smu_version, fatal_err, param; in aldebaran_mode1_reset() local
1905 if (smu_version < 0x00440700) { in aldebaran_mode1_reset()
1910 if ((smu_version >= 0x00442c00) && ras && in aldebaran_mode1_reset()
1927 u32 smu_version; in aldebaran_mode2_reset() local
1939 if (smu_version >= 0x00441400) { in aldebaran_mode2_reset()
1966 smu_version); in aldebaran_mode2_reset()
1989 u32 smu_version; in aldebaran_is_mode1_reset_supported()
[all …]
H A Dsmu_v13_0_6_ppt.c681 uint32_t smu_version; in smu_v13_0_6_get_smu_metrics_data() local
693 smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v13_0_6_get_smu_metrics_data()
694 if (smu_version >= 0x552F00) { in smu_v13_0_6_get_smu_metrics_data()
1383 uint32_t smu_version; in smu_v13_0_6_notify_unload() local
1385 smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v13_0_6_notify_unload()
1386 if (smu_version <= 0x553500) in smu_v13_0_6_notify_unload()
1647 uint32_t smu_version; in smu_v13_0_6_get_enabled_mask() local
1650 smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v13_0_6_get_enabled_mask()
1653 if (ret == -EIO && smu_version < 0x552F00) { in smu_v13_0_6_get_enabled_mask()
2124 uint32_t smu_version; in smu_v13_0_6_get_thermal_temperature_range() local
[all …]
H A Dsmu_v13_0_0_ppt.c292 u32 smu_version; in smu_v13_0_0_get_allowed_feature_mask() local
312 smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v13_0_0_get_allowed_feature_mask()
313 if ((smu_version < 0x004e3a00) || in smu_v13_0_0_get_allowed_feature_mask()
2211 u32 smu_version; in smu_v13_0_0_is_mode1_reset_supported() local
2218 smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v13_0_0_is_mode1_reset_supported()
2219 if (smu_version < 0x004e2900) in smu_v13_0_0_is_mode1_reset_supported()
2411 uint32_t smu_version; in smu_v13_0_0_set_mode1_reset_param() local
2415 smu_cmn_get_smc_version(smu, NULL, &smu_version); in smu_v13_0_0_set_mode1_reset_param()
2417 if ((smu_version >= supported_version) && in smu_v13_0_0_set_mode1_reset_param()
2533 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v13_0_0_check_ecc_table_support() local
[all …]
H A Dsmu_v13_0.c259 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v13_0_check_fw_version() local
263 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v13_0_check_fw_version()
267 smu_program = (smu_version >> 24) & 0xff; in smu_v13_0_check_fw_version()
268 smu_major = (smu_version >> 16) & 0xff; in smu_v13_0_check_fw_version()
269 smu_minor = (smu_version >> 8) & 0xff; in smu_v13_0_check_fw_version()
270 smu_debug = (smu_version >> 0) & 0xff; in smu_v13_0_check_fw_version()
273 adev->pm.fw_version = smu_version; in smu_v13_0_check_fw_version()
278 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v13_0_check_fw_version()
292 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v13_0_check_fw_version()
/openbsd/sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn301/
H A 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()
/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu11/
H A Darcturus_ppt.c1008 uint32_t smu_version; in arcturus_force_clk_levels() local
1389 uint32_t smu_version; in arcturus_get_power_profile_mode() local
1398 if (smu_version >= 0x360d00) in arcturus_get_power_profile_mode()
1417 if (smu_version >= 0x360d00) { in arcturus_get_power_profile_mode()
1432 if (smu_version >= 0x360d00) { in arcturus_get_power_profile_mode()
1474 uint32_t smu_version; in arcturus_set_power_profile_mode() local
1562 uint32_t smu_version; in arcturus_set_performance_level() local
2228 if (smu_version < 0x361700) { in arcturus_get_unique_id()
2249 uint32_t smu_version; in arcturus_set_df_cstate() local
2266 if (smu_version < 0x360F00) { in arcturus_set_df_cstate()
[all …]
H A Dsienna_cichlid_ppt.c1278 uint32_t smu_version; in sienna_cichlid_print_clk_levels() local
1389 (smu_version < 0x003a2900)) in sienna_cichlid_print_clk_levels()
2150 uint32_t smu_version; in sienna_cichlid_dump_od_table() local
2237 uint32_t smu_version; in sienna_cichlid_od_edit_dpm_table() local
2462 u32 smu_version; in sienna_cichlid_is_mode1_reset_supported() local
4133 uint32_t smu_version; in sienna_cichlid_gpo_control() local
4143 if (smu_version < 0x003a2500) { in sienna_cichlid_gpo_control()
4155 if (smu_version < 0x003a2500) { in sienna_cichlid_gpo_control()
4174 uint32_t smu_version; in sienna_cichlid_notify_2nd_usb20_port() local
4185 if (smu_version < 0x003A2D00) in sienna_cichlid_notify_2nd_usb20_port()
[all …]
H A Dsmu_v11_0.c201 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v11_0_check_fw_version() local
205 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v11_0_check_fw_version()
209 smu_program = (smu_version >> 24) & 0xff; in smu_v11_0_check_fw_version()
210 smu_major = (smu_version >> 16) & 0xff; in smu_v11_0_check_fw_version()
211 smu_minor = (smu_version >> 8) & 0xff; in smu_v11_0_check_fw_version()
212 smu_debug = (smu_version >> 0) & 0xff; in smu_v11_0_check_fw_version()
214 adev->pm.fw_version = smu_version; in smu_v11_0_check_fw_version()
266 smu_program, smu_version, smu_major, smu_minor, smu_debug); in smu_v11_0_check_fw_version()
H A Dvangogh_ppt.c229 uint32_t smu_version; in vangogh_tables_init() local
232 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in vangogh_tables_init()
2034 uint32_t smu_version; in vangogh_common_get_gpu_metrics() local
2039 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in vangogh_common_get_gpu_metrics()
2043 smu_program = (smu_version >> 24) & 0xff; in vangogh_common_get_gpu_metrics()
2044 fw_version = smu_version & 0xffffff; in vangogh_common_get_gpu_metrics()
2052 if (smu_version >= 0x043F3E00) { in vangogh_common_get_gpu_metrics()
H A Dnavi10_ppt.c910 uint32_t smu_version; in navi1x_get_smu_metrics_data() local
913 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in navi1x_get_smu_metrics_data()
921 if (smu_version > 0x00341C00) in navi1x_get_smu_metrics_data()
929 if (((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 5)) && smu_version > 0x00351F00) || in navi1x_get_smu_metrics_data()
930 ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 0)) && smu_version > 0x002A3B00)) in navi1x_get_smu_metrics_data()
3367 uint32_t smu_version; in navi1x_get_gpu_metrics() local
3370 ret = smu_cmn_get_smc_version(smu, NULL, &smu_version); in navi1x_get_gpu_metrics()
3378 if (smu_version > 0x00341C00) in navi1x_get_gpu_metrics()
3386 if (((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 5)) && smu_version > 0x00351F00) || in navi1x_get_gpu_metrics()
3387 ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 0)) && smu_version > 0x002A3B00)) in navi1x_get_gpu_metrics()
/openbsd/sys/dev/pci/drm/amd/pm/swsmu/
H A Dsmu_cmn.c822 uint32_t *smu_version) in smu_cmn_get_smc_version() argument
826 if (!if_version && !smu_version) in smu_cmn_get_smc_version()
834 if (smu_version) in smu_cmn_get_smc_version()
835 *smu_version = smu->smc_fw_version; in smu_cmn_get_smc_version()
848 if (smu_version) { in smu_cmn_get_smc_version()
849 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetSmuVersion, smu_version); in smu_cmn_get_smc_version()
853 smu->smc_fw_version = *smu_version; in smu_cmn_get_smc_version()
H A Dsmu_cmn.h100 uint32_t *smu_version);
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/smumgr/
H A 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()
H A 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()
H A Dsmu7_smumgr.c489 hwmgr->smu_version = info.version; in smu7_upload_smu_firmware_image()
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dsmu10_hwmgr.c634 if (hwmgr->smu_version < 0x1E3700) { in smu10_dpm_force_dpm_level()
1307 (hwmgr->smu_version >= 0x41e3b)) in smu10_read_sensor()
1310 (hwmgr->smu_version >= 0x1e5500)) in smu10_read_sensor()
1484 (hwmgr->smu_version >= 0x41e2b)) in smu10_is_raven1_refresh()
H A Dvega12_hwmgr.h390 uint32_t smu_version; member
H A Dvega20_hwmgr.h518 uint32_t smu_version; member
H A Dvega20_hwmgr.c99 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetSmuVersion, &hwmgr->smu_version); in vega20_set_default_registry_data()
100 if (hwmgr->smu_version < 0x282100) in vega20_set_default_registry_data()
2156 if (hwmgr->smu_version == 0x282e00) in vega20_get_gpu_power()
4283 if (hwmgr->smu_version < 0x283200) { in vega20_set_df_cstate()
/openbsd/sys/dev/pci/drm/amd/pm/
H A Damdgpu_dpm.c573 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version) in amdgpu_pm_load_smu_firmware() argument
588 if (smu_version) in amdgpu_pm_load_smu_firmware()
589 *smu_version = adev->pm.fw_version; in amdgpu_pm_load_smu_firmware()
/openbsd/sys/dev/pci/drm/amd/pm/inc/
H A Damdgpu_dpm.h429 int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version);
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/inc/
H A Dhwmgr.h747 uint32_t smu_version; member
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Dgfx_v9_0.c1294 uint32_t smu_version; in gfx_v9_0_init_rlc_microcode() local
1308 else if (!strcmp(chip_name, "raven") && (amdgpu_pm_load_smu_firmware(adev, &smu_version) == 0) && in gfx_v9_0_init_rlc_microcode()
1309 (smu_version >= 0x41e2b)) in gfx_v9_0_init_rlc_microcode()
H A Damdgpu_device.c2239 uint32_t smu_version; in amdgpu_device_fw_loading() local
2275 r = amdgpu_pm_load_smu_firmware(adev, &smu_version); in amdgpu_device_fw_loading()

12