Home
last modified time | relevance | path

Searched refs:MAX_GPU_INSTANCE (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c348 MAX_GPU_INSTANCE); in svm_range_new()
706 int gpuidx = MAX_GPU_INSTANCE; in svm_range_check_attr()
737 } else if (gpuidx < MAX_GPU_INSTANCE && in svm_range_check_attr()
910 for (i = 0; i < MAX_GPU_INSTANCE; i++) { in svm_range_copy_dma_addrs()
1350 MAX_GPU_INSTANCE); in svm_range_unmap_from_gpus()
1634 if (gpuidx < MAX_GPU_INSTANCE) { in svm_range_validate_and_map()
1689 MAX_GPU_INSTANCE)); in svm_range_validate_and_map()
2882 if (gpuidx == MAX_GPU_INSTANCE) { in svm_range_count_fault()
2924 int32_t gpuidx = MAX_GPU_INSTANCE; in svm_range_restore_pages()
3371 MAX_GPU_INSTANCE); in svm_range_best_prefetch_location()
[all …]
H A Dkfd_svm.h115 dma_addr_t *dma_addr[MAX_GPU_INSTANCE];
133 DECLARE_BITMAP(bitmap_access, MAX_GPU_INSTANCE);
134 DECLARE_BITMAP(bitmap_aip, MAX_GPU_INSTANCE);
H A Dkfd_priv.h854 DECLARE_BITMAP(bitmap_supported, MAX_GPU_INSTANCE);
896 struct kfd_process_device *pdds[MAX_GPU_INSTANCE];
1197 uint32_t mapped_gpuids[MAX_GPU_INSTANCE];
H A Dkfd_process.c1575 if (WARN_ON_ONCE(p->n_pdds >= MAX_GPU_INSTANCE)) in kfd_create_process_device_data()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu.h111 #define MAX_GPU_INSTANCE 64 macro
121 struct amdgpu_gpu_instance gpu_ins[MAX_GPU_INSTANCE];
H A Damdgpu_kms.c106 if (mgpu_info.num_gpu >= MAX_GPU_INSTANCE) { in amdgpu_register_gpu_instance()
H A Damdgpu_ras.c133 struct amdgpu_device *devs[MAX_GPU_INSTANCE];