Searched refs:gpuidx (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_svm.c | 211 uint32_t gpuidx; in svm_range_dma_map() local 259 uint32_t gpuidx; in svm_range_dma_unmap() local 263 for (gpuidx = 0; gpuidx < MAX_GPU_INSTANCE; gpuidx++) { in svm_range_dma_unmap() 283 uint32_t gpuidx; in svm_range_free() local 299 for (gpuidx = 0; gpuidx < MAX_GPU_INSTANCE; gpuidx++) { in svm_range_free() 767 int gpuidx; in svm_range_apply_attrs() local 818 int gpuidx; in svm_range_is_same_attrs() local 1331 uint32_t gpuidx; in svm_range_unmap_from_gpus() local 1465 uint32_t gpuidx; in svm_range_map_to_gpus() local 1525 uint32_t gpuidx; in svm_range_reserve_bos() local [all …]
|
H A D | kfd_queue.c | 107 uint32_t gpuid, gpuidx; in kfd_queue_buffer_svm_get() local 117 r = kfd_process_gpuid_from_node(p, pdd->dev, &gpuid, &gpuidx); in kfd_queue_buffer_svm_get() 120 if (!test_bit(gpuidx, prange->bitmap_access) && in kfd_queue_buffer_svm_get() 121 !test_bit(gpuidx, prange->bitmap_aip)) in kfd_queue_buffer_svm_get()
|
H A D | kfd_priv.h | 1042 uint32_t *gpuid, uint32_t *gpuidx); 1044 uint32_t gpuidx, uint32_t *gpuid) { in kfd_process_gpuid_from_gpuidx() argument 1045 return gpuidx < p->n_pdds ? p->pdds[gpuidx]->dev->id : -EINVAL; in kfd_process_gpuid_from_gpuidx() 1048 struct kfd_process *p, uint32_t gpuidx) { in kfd_process_device_from_gpuidx() argument 1049 return gpuidx < p->n_pdds ? p->pdds[gpuidx] : NULL; in kfd_process_device_from_gpuidx()
|
H A D | kfd_process.c | 1948 uint32_t *gpuid, uint32_t *gpuidx) in kfd_process_gpuid_from_node() argument 1955 *gpuidx = i; in kfd_process_gpuid_from_node()
|