Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_bios.c547 if (!adev->smuio.funcs || in amdgpu_soc15_read_bios_from_rom()
548 !adev->smuio.funcs->get_rom_index_offset || in amdgpu_soc15_read_bios_from_rom()
549 !adev->smuio.funcs->get_rom_data_offset) in amdgpu_soc15_read_bios_from_rom()
556 adev->smuio.funcs->get_rom_index_offset(adev); in amdgpu_soc15_read_bios_from_rom()
558 adev->smuio.funcs->get_rom_data_offset(adev); in amdgpu_soc15_read_bios_from_rom()
H A Damdgpu_cper.c77 (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) ? in amdgpu_cper_entry_fill_hdr()
78 adev->smuio.funcs->get_socket_id(adev) : in amdgpu_cper_entry_fill_hdr()
129 (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) ? in amdgpu_cper_entry_fill_section_desc()
130 adev->smuio.funcs->get_socket_id(adev) : in amdgpu_cper_entry_fill_section_desc()
H A Dumc_v12_0.c147 .socket_id = adev->smuio.funcs->get_socket_id(adev), in umc_v12_0_query_error_count()
307 adev->smuio.funcs && in umc_v12_0_query_error_address()
308 adev->smuio.funcs->get_socket_id) in umc_v12_0_query_error_address()
309 addr_in.ma.socket_id = adev->smuio.funcs->get_socket_id(adev); in umc_v12_0_query_error_address()
H A Damdgpu_ras.c1154 adev->smuio.funcs && in amdgpu_ras_error_generate_report()
1155 adev->smuio.funcs->get_socket_id && in amdgpu_ras_error_generate_report()
1156 adev->smuio.funcs->get_die_id) { in amdgpu_ras_error_generate_report()
1177 adev->smuio.funcs && in amdgpu_ras_error_generate_report()
1179 adev->smuio.funcs->get_die_id) { in amdgpu_ras_error_generate_report()
1200 adev->smuio.funcs && in amdgpu_ras_error_generate_report()
1202 adev->smuio.funcs->get_die_id) { in amdgpu_ras_error_generate_report()
2744 if (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) in amdgpu_ras_mca2pa_by_idx()
2772 if (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) in amdgpu_ras_mca2pa()
4006 if (adev->smuio.funcs && in amdgpu_ras_init()
[all …]
H A Dsoc15.c1433 adev->smuio.funcs->update_rom_clock_gating(adev, in soc15_common_set_clockgating_state()
1493 if (adev->smuio.funcs && adev->smuio.funcs->get_clock_gating_state) in soc15_common_get_clockgating_state()
1494 adev->smuio.funcs->get_clock_gating_state(adev, flags); in soc15_common_get_clockgating_state()
H A Damdgpu_discovery.c2977 adev->smuio.funcs = &smuio_v9_0_funcs; in amdgpu_discovery_set_ip_blocks()
2985 adev->smuio.funcs = &smuio_v11_0_funcs; in amdgpu_discovery_set_ip_blocks()
2995 adev->smuio.funcs = &smuio_v11_0_6_funcs; in amdgpu_discovery_set_ip_blocks()
2998 adev->smuio.funcs = &smuio_v13_0_funcs; in amdgpu_discovery_set_ip_blocks()
3002 adev->smuio.funcs = &smuio_v13_0_3_funcs; in amdgpu_discovery_set_ip_blocks()
3003 if (adev->smuio.funcs->get_pkg_type(adev) == AMDGPU_PKG_TYPE_APU) { in amdgpu_discovery_set_ip_blocks()
3011 adev->smuio.funcs = &smuio_v13_0_6_funcs; in amdgpu_discovery_set_ip_blocks()
3014 adev->smuio.funcs = &smuio_v14_0_2_funcs; in amdgpu_discovery_set_ip_blocks()
H A Dnv.c1065 adev->smuio.funcs->update_rom_clock_gating(adev, in nv_common_set_clockgating_state()
1092 adev->smuio.funcs->get_clock_gating_state(adev, flags); in nv_common_get_clockgating_state()
H A Dgmc_v9_0.c1495 if (1 & adev->smuio.funcs->get_die_id(adev)) in gmc_v9_0_set_umc_funcs()
1648 adev->smuio.funcs->is_host_gpu_xgmi_supported(adev); in gmc_v9_0_early_init()
1653 adev->smuio.funcs->get_pkg_type(adev); in gmc_v9_0_early_init()
H A Dmmhub_v1_8.c661 .socket_id = adev->smuio.funcs->get_socket_id(adev), in mmhub_v1_8_inst_query_ras_error_count()
H A Damdgpu_xgmi.c1516 .socket_id = adev->smuio.funcs->get_socket_id(adev), in xgmi_v6_4_0_query_error_count()
H A Damdgpu.h1016 struct amdgpu_smuio smuio; member
H A Damdgpu_device.c368 if (adev->smuio.funcs && adev->smuio.funcs->get_pkg_type) in amdgpu_device_get_board_info()
369 pkg_type = adev->smuio.funcs->get_pkg_type(adev); in amdgpu_device_get_board_info()
H A Dgfx_v12_0.c3688 if (adev->smuio.funcs && in gfx_v12_0_get_gpu_clock_counter()
3689 adev->smuio.funcs->get_gpu_clock_counter) in gfx_v12_0_get_gpu_clock_counter()
3690 clock = adev->smuio.funcs->get_gpu_clock_counter(adev); in gfx_v12_0_get_gpu_clock_counter()
H A Dsdma_v4_4_2.c2468 .socket_id = adev->smuio.funcs->get_socket_id(adev), in sdma_v4_4_2_inst_query_ras_error_count()
H A Dgfx_v9_4_3.c4334 .socket_id = adev->smuio.funcs->get_socket_id(adev), in gfx_v9_4_3_inst_query_ras_err_count()
H A Dgfx_v9_0.c1121 adev->smuio.funcs->get_die_id(adev)); in gfx_v9_0_init_golden_registers()
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Daldebaran_ppt.c276 if (adev->smuio.funcs->get_socket_id(adev) || in aldebaran_select_plpd_policy()
277 adev->smuio.funcs->get_die_id(adev)) in aldebaran_select_plpd_policy()
501 if (adev->smuio.funcs && adev->smuio.funcs->get_die_id) in aldebaran_is_primary()
502 return adev->smuio.funcs->get_die_id(adev) == 0; in aldebaran_is_primary()
/linux-6.15/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c2131 kdev->adev->smuio.funcs->get_pkg_type(kdev->adev) == in kfd_fill_gpu_direct_io_link_to_cpu()