Searched refs:gmc_funcs (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gmc.h | 290 const struct amdgpu_gmc_funcs *gmc_funcs; member 338 #define amdgpu_gmc_flush_gpu_tlb(adev, vmid, vmhub, type) ((adev)->gmc.gmc_funcs->flush_gpu_tlb((ad… 340 ((adev)->gmc.gmc_funcs->flush_gpu_tlb_pasid \ 342 #define amdgpu_gmc_emit_flush_gpu_tlb(r, vmid, addr) (r)->adev->gmc.gmc_funcs->emit_flush_gpu_tlb((… 343 #define amdgpu_gmc_emit_pasid_mapping(r, vmid, pasid) (r)->adev->gmc.gmc_funcs->emit_pasid_mapping(… 344 #define amdgpu_gmc_map_mtype(adev, flags) (adev)->gmc.gmc_funcs->map_mtype((adev),(flags)) 345 #define amdgpu_gmc_get_vm_pde(adev, level, dst, flags) (adev)->gmc.gmc_funcs->get_vm_pde((adev), (l… 346 #define amdgpu_gmc_get_vm_pte(adev, mapping, flags) (adev)->gmc.gmc_funcs->get_vm_pte((adev), (mapp… 348 (adev)->gmc.gmc_funcs->override_vm_pte_flags \ 350 #define amdgpu_gmc_get_vbios_fb_size(adev) (adev)->gmc.gmc_funcs->get_vbios_fb_size((adev))
|
H A D | amdgpu_gmc.c | 909 mode = adev->gmc.gmc_funcs->query_mem_partition_mode(adev); in current_memory_partition_show() 934 if (!adev->gmc.gmc_funcs->query_mem_partition_mode) in amdgpu_gmc_sysfs_init()
|
H A D | amdgpu_vm.c | 633 pasid_mapping_needed &= adev->gmc.gmc_funcs->emit_pasid_mapping && in amdgpu_vm_flush() 1198 adev->gmc.gmc_funcs->set_prt(adev, enable); in amdgpu_vm_update_prt_state() 1209 if (!adev->gmc.gmc_funcs->set_prt) in amdgpu_vm_prt_get() 1252 if (!adev->gmc.gmc_funcs->set_prt) in amdgpu_vm_add_prt_cb() 2350 bool prt_fini_needed = !!adev->gmc.gmc_funcs->set_prt; in amdgpu_vm_fini()
|
H A D | gmc_v10_0.c | 677 if (adev->gmc.gmc_funcs == NULL) in gmc_v10_0_set_gmc_funcs() 678 adev->gmc.gmc_funcs = &gmc_v10_0_gmc_funcs; in gmc_v10_0_set_gmc_funcs()
|
H A D | amdgpu_vm_pt.c | 850 adev->gmc.gmc_funcs->override_vm_pte_flags && in amdgpu_vm_pte_update_flags()
|
H A D | gmc_v6_0.c | 1134 adev->gmc.gmc_funcs = &gmc_v6_0_gmc_funcs; in gmc_v6_0_set_gmc_funcs()
|
H A D | gmc_v11_0.c | 585 adev->gmc.gmc_funcs = &gmc_v11_0_gmc_funcs; in gmc_v11_0_set_gmc_funcs()
|
H A D | amdgpu_gem.c | 657 if (adev->gmc.gmc_funcs->map_mtype) in amdgpu_gem_va_map_flags()
|
H A D | gmc_v7_0.c | 1377 adev->gmc.gmc_funcs = &gmc_v7_0_gmc_funcs; in gmc_v7_0_set_gmc_funcs()
|
H A D | gmc_v8_0.c | 1735 adev->gmc.gmc_funcs = &gmc_v8_0_gmc_funcs; in gmc_v8_0_set_gmc_funcs()
|
H A D | gmc_v9_0.c | 1452 adev->gmc.gmc_funcs = &gmc_v9_0_gmc_funcs; in gmc_v9_0_set_gmc_funcs()
|
H A D | amdgpu_device.c | 3523 adev->gmc.gmc_funcs = NULL;
|