Lines Matching refs:gpu_id

294 	pr_debug("Looking for gpu id 0x%x\n", args->gpu_id);  in kfd_ioctl_create_queue()
295 dev = kfd_device_by_id(args->gpu_id); in kfd_ioctl_create_queue()
297 pr_debug("Could not find gpu id 0x%x\n", args->gpu_id); in kfd_ioctl_create_queue()
323 args->doorbell_offset |= KFD_MMAP_GPU_ID(args->gpu_id); in kfd_ioctl_create_queue()
507 dev = kfd_device_by_id(args->gpu_id); in kfd_ioctl_set_memory_policy()
548 dev = kfd_device_by_id(args->gpu_id); in kfd_ioctl_set_trap_handler()
578 dev = kfd_device_by_id(args->gpu_id); in kfd_ioctl_dbg_register()
629 dev = kfd_device_by_id(args->gpu_id); in kfd_ioctl_dbg_unregister()
674 dev = kfd_device_by_id(args->gpu_id); in kfd_ioctl_dbg_address_watch()
782 dev = kfd_device_by_id(args->gpu_id); in kfd_ioctl_dbg_wave_control()
850 dev = kfd_device_by_id(args->gpu_id); in kfd_ioctl_get_clock_counters()
887 pAperture->gpu_id = pdd->dev->id; in kfd_ioctl_get_process_apertures()
960 pa[i].gpu_id = pdd->dev->id; in kfd_ioctl_get_process_apertures_new()
1114 dev = kfd_device_by_id(args->gpu_id); in kfd_ioctl_set_scratch_backing_va()
1150 dev = kfd_device_by_id(args->gpu_id); in kfd_ioctl_get_tile_config()
1193 dev = kfd_device_by_id(args->gpu_id); in kfd_ioctl_acquire_vm()
1262 dev = kfd_device_by_id(args->gpu_id); in kfd_ioctl_alloc_memory_of_gpu()
1319 args->handle = MAKE_HANDLE(args->gpu_id, idr_handle); in kfd_ioctl_alloc_memory_of_gpu()
1327 | KFD_MMAP_GPU_ID(args->gpu_id); in kfd_ioctl_alloc_memory_of_gpu()
1683 args->gpu_id = dev->id; in kfd_ioctl_get_dmabuf_info()
1712 dev = kfd_device_by_id(args->gpu_id); in kfd_ioctl_import_dmabuf()
1744 args->handle = MAKE_HANDLE(args->gpu_id, idr_handle); in kfd_ioctl_import_dmabuf()
2065 unsigned int gpu_id; in kfd_mmap() local
2072 gpu_id = KFD_MMAP_GET_GPU_ID(mmap_offset); in kfd_mmap()
2073 if (gpu_id) in kfd_mmap()
2074 dev = kfd_device_by_id(gpu_id); in kfd_mmap()