/linux-6.3-rc2/include/uapi/linux/ |
A D | kfd_ioctl.h | 65 __u32 gpu_id; /* to KFD */ member 108 __u32 gpu_id; /* to KFD */ member 139 __u32 gpu_id; /* to KFD */ member 187 __u32 gpu_id; /* to KFD */ member 192 __u32 gpu_id; /* to KFD */ member 198 __u32 gpu_id; /* to KFD */ member 204 __u32 gpu_id; /* to KFD */ member 278 __u32 gpu_id; member 292 __u32 gpu_id; member 318 __u32 gpu_id; /* to KFD */ member [all …]
|
/linux-6.3-rc2/include/trace/events/ |
A D | gpu_mem.h | 32 TP_PROTO(uint32_t gpu_id, uint32_t pid, uint64_t size), 34 TP_ARGS(gpu_id, pid, size), 37 __field(uint32_t, gpu_id) 43 __entry->gpu_id = gpu_id; 49 __entry->gpu_id,
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_debugfs.c | 48 uint32_t gpu_id; in kfd_debugfs_hang_hws_write() local 60 if (kstrtoint(tmp, 10, &gpu_id)) { in kfd_debugfs_hang_hws_write() 64 dev = kfd_device_by_id(gpu_id); in kfd_debugfs_hang_hws_write() 69 pr_err("Cannot find device %d.\n", gpu_id); in kfd_debugfs_hang_hws_write()
|
A D | kfd_chardev.c | 73 pdd = kfd_process_device_data_by_id(p, gpu_id); in kfd_lock_pdd_by_id() 712 pAperture->gpu_id = pdd->dev->id; in kfd_ioctl_get_process_apertures() 785 pa[i].gpu_id = pdd->dev->id; in kfd_ioctl_get_process_apertures_new() 1162 | KFD_MMAP_GPU_ID(args->gpu_id); in kfd_ioctl_alloc_memory_of_gpu() 1515 args->gpu_id = dev->id; in kfd_ioctl_get_dmabuf_info() 1848 bo_bucket->gpu_id = pdd->user_gpu_id; in criu_checkpoint_bos() 1894 bo_bucket->gpu_id, in criu_checkpoint_bos() 2927 unsigned int gpu_id; in kfd_mmap() local 2934 gpu_id = KFD_MMAP_GET_GPU_ID(mmap_offset); in kfd_mmap() 2935 if (gpu_id) in kfd_mmap() [all …]
|
A D | kfd_topology.c | 89 if (top_dev->gpu_id == gpu_id) { in kfd_topology_device_by_id() 1822 gpu_id); in kfd_topology_add_device_locked() 1834 gpu_id); in kfd_topology_add_device_locked() 1861 gpu_id, res); in kfd_topology_add_device_locked() 1870 uint32_t gpu_id; in kfd_topology_add_device() local 1877 gpu_id = kfd_generate_gpu_id(gpu); in kfd_topology_add_device() 1894 dev->gpu_id = gpu_id; in kfd_topology_add_device() 1895 gpu->id = gpu_id; in kfd_topology_add_device() 2015 kfd_notify_gpu_change(gpu_id, 1); in kfd_topology_add_device() 2085 uint32_t gpu_id; in kfd_topology_remove_device() local [all …]
|
A D | kfd_priv.h | 77 #define KFD_MMAP_GPU_ID(gpu_id) ((((uint64_t)gpu_id) << KFD_MMAP_GPU_ID_SHIFT)\ argument 676 #define MAKE_HANDLE(gpu_id, idr_handle) \ argument 677 (((uint64_t)(gpu_id) << 32) + idr_handle) 936 int kfd_process_gpuidx_from_gpuid(struct kfd_process *p, uint32_t gpu_id); 956 uint32_t gpu_id); 1035 struct kfd_topology_device *kfd_topology_device_by_id(uint32_t gpu_id); 1036 struct kfd_dev *kfd_device_by_id(uint32_t gpu_id); 1115 uint32_t gpu_id; member
|
A D | kfd_events.c | 1166 memory_exception_data.gpu_id = user_gpu_id; in kfd_signal_iommu_event() 1243 memory_exception_data.gpu_id = user_gpu_id; in kfd_signal_vm_fault_event() 1309 ev->hw_exception_data.gpu_id = user_gpu_id; in kfd_signal_reset_event() 1317 ev->memory_exception_data.gpu_id = user_gpu_id; in kfd_signal_reset_event() 1347 hw_exception_data.gpu_id = user_gpu_id; in kfd_signal_poison_consumed_event() 1353 memory_exception_data.gpu_id = user_gpu_id; in kfd_signal_poison_consumed_event()
|
A D | kfd_topology.h | 130 uint32_t gpu_id; member
|
A D | kfd_process_queue_manager.c | 657 q_data->gpu_id = pdd->user_gpu_id; in criu_checkpoint_queue() 690 pr_debug("Dumping Queue: gpu_id:%x queue_id:%u\n", q_data->gpu_id, q_data->q_id); in criu_checkpoint_queue() 854 pdd = kfd_process_device_data_by_id(p, q_data->gpu_id); in kfd_criu_restore_queue()
|
A D | kfd_process.c | 1824 int kfd_process_gpuidx_from_gpuid(struct kfd_process *p, uint32_t gpu_id) in kfd_process_gpuidx_from_gpuid() argument 1829 if (p->pdds[i] && gpu_id == p->pdds[i]->user_gpu_id) in kfd_process_gpuidx_from_gpuid() 2024 struct kfd_process_device *kfd_process_device_data_by_id(struct kfd_process *p, uint32_t gpu_id) in kfd_process_device_data_by_id() argument 2028 if (gpu_id) { in kfd_process_device_data_by_id() 2032 if (pdd->user_gpu_id == gpu_id) in kfd_process_device_data_by_id()
|
A D | kfd_int_process_v11.c | 308 exception_data.gpu_id = dev->id; in event_interrupt_wq_v11()
|
A D | kfd_svm.c | 621 svm_range_get_adev_by_id(struct svm_range *prange, uint32_t gpu_id) in svm_range_get_adev_by_id() argument 629 gpu_idx = kfd_process_gpuidx_from_gpuid(p, gpu_id); in svm_range_get_adev_by_id() 631 pr_debug("failed to get device by id 0x%x\n", gpu_id); in svm_range_get_adev_by_id()
|
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | radeon_atpx_handler.c | 435 u16 gpu_id; in radeon_atpx_switchto() local 438 gpu_id = ATPX_INTEGRATED_GPU; in radeon_atpx_switchto() 440 gpu_id = ATPX_DISCRETE_GPU; in radeon_atpx_switchto() 442 radeon_atpx_switch_start(&radeon_atpx_priv.atpx, gpu_id); in radeon_atpx_switchto() 443 radeon_atpx_switch_disp_mux(&radeon_atpx_priv.atpx, gpu_id); in radeon_atpx_switchto() 444 radeon_atpx_switch_i2c_mux(&radeon_atpx_priv.atpx, gpu_id); in radeon_atpx_switchto() 445 radeon_atpx_switch_end(&radeon_atpx_priv.atpx, gpu_id); in radeon_atpx_switchto()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_atpx_handler.c | 465 u16 gpu_id; in amdgpu_atpx_switchto() local 468 gpu_id = ATPX_INTEGRATED_GPU; in amdgpu_atpx_switchto() 470 gpu_id = ATPX_DISCRETE_GPU; in amdgpu_atpx_switchto() 472 amdgpu_atpx_switch_start(&amdgpu_atpx_priv.atpx, gpu_id); in amdgpu_atpx_switchto() 473 amdgpu_atpx_switch_disp_mux(&amdgpu_atpx_priv.atpx, gpu_id); in amdgpu_atpx_switchto() 474 amdgpu_atpx_switch_i2c_mux(&amdgpu_atpx_priv.atpx, gpu_id); in amdgpu_atpx_switchto() 475 amdgpu_atpx_switch_end(&amdgpu_atpx_priv.atpx, gpu_id); in amdgpu_atpx_switchto()
|
A D | amdgpu_ras.c | 2941 uint32_t gpu_id = 0; in amdgpu_bad_page_notifier() local 2962 gpu_id = GET_MCA_IPID_GPUID(m->ipid) - GPU_ID_OFFSET; in amdgpu_bad_page_notifier() 2964 adev = find_adev(gpu_id); in amdgpu_bad_page_notifier() 2967 gpu_id); in amdgpu_bad_page_notifier()
|
/linux-6.3-rc2/drivers/gpu/drm/panfrost/ |
A D | panfrost_gpu.c | 211 u32 gpu_id, num_js, major, minor, status, rev; in panfrost_gpu_init_features() local 254 gpu_id = gpu_read(pfdev, GPU_ID); in panfrost_gpu_init_features() 255 pfdev->features.revision = gpu_id & 0xffff; in panfrost_gpu_init_features() 256 pfdev->features.id = gpu_id >> 16; in panfrost_gpu_init_features() 269 gpu_id = pfdev->features.id; in panfrost_gpu_init_features() 298 name, gpu_id, major, minor, status); in panfrost_gpu_init_features()
|
A D | panfrost_dump.c | 183 iter.hdr->reghdr.gpu_id = pfdev->features.id; in panfrost_core_dump()
|
/linux-6.3-rc2/drivers/gpu/drm/msm/ |
A D | msm_rd.c | 182 uint32_t gpu_id; in rd_open() local 208 gpu_id = val; in rd_open() 210 rd_write_section(rd, RD_GPU_ID, &gpu_id, sizeof(gpu_id)); in rd_open()
|
/linux-6.3-rc2/include/uapi/drm/ |
A D | panfrost_drm.h | 251 __u32 gpu_id; member
|