Home
last modified time | relevance | path

Searched refs:smuio (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cper.c79 (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) ? in amdgpu_cper_entry_fill_hdr()
80 adev->smuio.funcs->get_socket_id(adev) : in amdgpu_cper_entry_fill_hdr()
131 (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) ? in amdgpu_cper_entry_fill_section_desc()
132 adev->smuio.funcs->get_socket_id(adev) : in amdgpu_cper_entry_fill_section_desc()
233 socket_id = (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) ? in amdgpu_cper_entry_fill_bad_page_threshold_section()
234 adev->smuio.funcs->get_socket_id(adev) : in amdgpu_cper_entry_fill_bad_page_threshold_section()
H A Damdgpu_discovery.c3270 adev->smuio.funcs = &smuio_v9_0_funcs; in amdgpu_discovery_set_ip_blocks()
3278 adev->smuio.funcs = &smuio_v11_0_funcs; in amdgpu_discovery_set_ip_blocks()
3288 adev->smuio.funcs = &smuio_v11_0_6_funcs; in amdgpu_discovery_set_ip_blocks()
3291 adev->smuio.funcs = &smuio_v13_0_funcs; in amdgpu_discovery_set_ip_blocks()
3295 adev->smuio.funcs = &smuio_v13_0_3_funcs; in amdgpu_discovery_set_ip_blocks()
3296 if (adev->smuio.funcs->get_pkg_type(adev) == AMDGPU_PKG_TYPE_APU) { in amdgpu_discovery_set_ip_blocks()
3304 adev->smuio.funcs = &smuio_v13_0_6_funcs; in amdgpu_discovery_set_ip_blocks()
3307 adev->smuio.funcs = &smuio_v14_0_2_funcs; in amdgpu_discovery_set_ip_blocks()
3310 adev->smuio.funcs = &smuio_v15_0_0_funcs; in amdgpu_discovery_set_ip_blocks()
3313 adev->smuio.funcs = &smuio_v15_0_8_funcs; in amdgpu_discovery_set_ip_blocks()
H A Dgmc_v9_0.c1382 if (1 & adev->smuio.funcs->get_die_id(adev)) in gmc_v9_0_set_umc_funcs()
1582 adev->smuio.funcs->is_host_gpu_xgmi_supported(adev); in gmc_v9_0_early_init()
1587 adev->smuio.funcs->get_pkg_type(adev); in gmc_v9_0_early_init()
H A Damdgpu.h981 struct amdgpu_smuio smuio; member
H A Dgfx_v12_1.c2875 if (adev->smuio.funcs && in gfx_v12_1_get_gpu_clock_counter()
2876 adev->smuio.funcs->get_gpu_clock_counter) in gfx_v12_1_get_gpu_clock_counter()
2877 clock = adev->smuio.funcs->get_gpu_clock_counter(adev); in gfx_v12_1_get_gpu_clock_counter()
H A Damdgpu_device.c342 if (adev->smuio.funcs && adev->smuio.funcs->get_pkg_type) in amdgpu_device_get_board_info()
343 pkg_type = adev->smuio.funcs->get_pkg_type(adev); in amdgpu_device_get_board_info()
H A Dgfx_v12_0.c3872 if (adev->smuio.funcs && in gfx_v12_0_get_gpu_clock_counter()
3873 adev->smuio.funcs->get_gpu_clock_counter) in gfx_v12_0_get_gpu_clock_counter()
3874 clock = adev->smuio.funcs->get_gpu_clock_counter(adev); in gfx_v12_0_get_gpu_clock_counter()
H A Dgfx_v9_0.c1148 adev->smuio.funcs->get_die_id(adev)); in gfx_v9_0_init_golden_registers()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Daldebaran_ppt.c278 if (adev->smuio.funcs->get_socket_id(adev) || in aldebaran_select_plpd_policy()
279 adev->smuio.funcs->get_die_id(adev)) in aldebaran_select_plpd_policy()
547 if (adev->smuio.funcs && adev->smuio.funcs->get_die_id) in aldebaran_is_primary()
548 return adev->smuio.funcs->get_die_id(adev) == 0; in aldebaran_is_primary()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c2133 kdev->adev->smuio.funcs->get_pkg_type(kdev->adev) == in kfd_fill_gpu_direct_io_link_to_cpu()