HomeSort by: relevance | last modified time | path
    Searched defs:kfd (Results 1 - 9 of 9) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
kfd_packet_manager_v9.c 87 struct kfd_dev *kfd = pm->dqm->dev; local in function:pm_runlist_v9
92 * of processes in the runlist and kfd module parameter
99 kfd->max_proc_per_quantum);
kfd_packet_manager_vi.c 84 struct kfd_dev *kfd = pm->dqm->dev; local in function:pm_runlist_vi
92 * of processes in the runlist and kfd module parameter
99 kfd->max_proc_per_quantum);
kfd_mqd_manager_v9.c 89 static struct kfd_mem_obj *allocate_mqd(struct kfd_dev *kfd,
99 if (kfd->cwsr_enabled && (q->type == KFD_QUEUE_TYPE_COMPUTE)) {
103 retval = amdgpu_amdkfd_alloc_gtt_mem(kfd->kgd,
110 retval = kfd_gtt_sa_allocate(kfd, sizeof(struct v9_mqd),
285 struct kfd_dev *kfd = mm->dev; local in function:free_mqd
288 amdgpu_amdkfd_free_gtt_mem(kfd->kgd, mqd_mem_obj->gtt_mem);
kfd_device.c 41 * kfd_locked is used to lock the kfd driver during suspend or reset
42 * once locked, kfd driver will stop any further GPU execution.
490 static int kfd_gtt_sa_init(struct kfd_dev *kfd, unsigned int buf_size,
492 static void kfd_gtt_sa_fini(struct kfd_dev *kfd);
494 static int kfd_resume(struct kfd_dev *kfd);
499 struct kfd_dev *kfd; local in function:kgd2kfd_probe
513 dev_err(kfd_device, "%s %s not supported in kfd\n",
518 kfd = kzalloc(sizeof(*kfd), GFP_KERNEL);
519 if (!kfd)
    [all...]
kfd_chardev.c 53 static const char kfd_dev_name[] = "kfd";
124 "Process %d (32-bit) failed to open /dev/kfd\n"
1026 * handle is passed to KFD with the first call to this IOCTL
1030 struct kfd_dev *kfd; local in function:kfd_ioctl_create_event
1040 kfd = kfd_device_by_id(GET_GPU_ID(args->event_page_offset));
1041 if (!kfd) {
1047 pdd = kfd_bind_process_to_device(kfd, p);
1063 err = amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel(kfd->kgd,
1333 /* MMIO is mapped through kfd device
1334 * Generate a kfd mmap offse
    [all...]
  /src/usr.sbin/mdsetimage/
bin_nlist.c 45 int kfd; member in struct:bininfo
74 bin_open(int kfd, const char *kfile, const char *bfdname)
82 bin->kfd = kfd;
122 if (__fdnlist(bin->kfd, nl) != 0)
mdsetimage.c 75 int ch, kfd, fsfd, rv; local in function:main
126 if ((kfd = open(kfile, O_RDONLY, 0)) == -1)
129 if ((kfd = open(kfile, O_RDWR, 0)) == -1)
133 if (fstat(kfd, &ksb) == -1)
139 MAP_FILE | MAP_PRIVATE, kfd, 0)) == (caddr_t)-1)
144 bin = bin_open(kfd, kfile, bfdname);
181 if (lseek(kfd, md_root_image_offset, SEEK_SET) !=
192 rfd = kfd;
199 wfd = kfd;
226 if (lseek(kfd, md_root_size_offset, SEEK_SET) !
    [all...]
  /src/usr.bin/config/
main.c 1824 int found, kfd; local in function:extract_config
1831 kfd = open(conffile, O_RDONLY);
1832 if (kfd == -1)
1834 if (fstat(kfd, &st) == -1)
1837 kfd, 0);
1871 (void)close(kfd);
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu.h 927 /* KFD */
928 struct amdgpu_kfd_dev kfd; member in struct:amdgpu_device

Completed in 59 milliseconds