Home
last modified time | relevance | path

Searched refs:kfd_dev (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd.h103 struct kfd_dev *dev;
416 bool kgd2kfd_device_init(struct kfd_dev *kfd,
418 void kgd2kfd_device_exit(struct kfd_dev *kfd);
419 void kgd2kfd_suspend(struct kfd_dev *kfd, bool run_pm);
420 int kgd2kfd_resume(struct kfd_dev *kfd, bool run_pm);
421 int kgd2kfd_pre_reset(struct kfd_dev *kfd,
423 int kgd2kfd_post_reset(struct kfd_dev *kfd);
425 void kgd2kfd_set_sram_ecc_flag(struct kfd_dev *kfd);
448 bool kgd2kfd_device_init(struct kfd_dev *kfd, in kgd2kfd_device_init()
467 static inline int kgd2kfd_pre_reset(struct kfd_dev *kfd, in kgd2kfd_pre_reset()
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_doorbell.c50 size_t kfd_doorbell_process_slice(struct kfd_dev *kfd) in kfd_doorbell_process_slice()
62 int kfd_doorbell_init(struct kfd_dev *kfd) in kfd_doorbell_init()
99 void kfd_doorbell_fini(struct kfd_dev *kfd) in kfd_doorbell_fini()
150 void __iomem *kfd_get_kernel_doorbell(struct kfd_dev *kfd, in kfd_get_kernel_doorbell()
178 void kfd_release_kernel_doorbell(struct kfd_dev *kfd, u32 __iomem *db_addr) in kfd_release_kernel_doorbell()
209 struct kfd_dev *dev) in init_doorbell_bitmap()
253 int kfd_alloc_process_doorbells(struct kfd_dev *kfd, struct kfd_process_device *pdd) in kfd_alloc_process_doorbells()
293 void kfd_free_process_doorbells(struct kfd_dev *kfd, struct kfd_process_device *pdd) in kfd_free_process_doorbells()
H A Dkfd_device.c63 static void kfd_gtt_sa_fini(struct kfd_dev *kfd);
259 struct kfd_dev *kfd = NULL; in kgd2kfd_probe()
491 static void kfd_cwsr_init(struct kfd_dev *kfd) in kfd_cwsr_init()
549 struct kfd_dev *kfd = node->kfd; in kfd_gws_init()
684 bool kgd2kfd_device_init(struct kfd_dev *kfd, in kgd2kfd_device_init()
920 void kgd2kfd_device_exit(struct kfd_dev *kfd) in kgd2kfd_device_exit()
935 int kgd2kfd_pre_reset(struct kfd_dev *kfd, in kgd2kfd_pre_reset()
963 int kgd2kfd_post_reset(struct kfd_dev *kfd) in kgd2kfd_post_reset()
1222 static void kfd_gtt_sa_fini(struct kfd_dev *kfd) in kfd_gtt_sa_fini()
1246 struct kfd_dev *kfd = node->kfd; in kfd_gtt_sa_allocate()
[all …]
H A Dkfd_priv.h258 struct kfd_dev;
312 struct kfd_dev *kfd;
319 struct kfd_dev { struct
1095 size_t kfd_doorbell_process_slice(struct kfd_dev *kfd);
1096 int kfd_doorbell_init(struct kfd_dev *kfd);
1097 void kfd_doorbell_fini(struct kfd_dev *kfd);
1100 void __iomem *kfd_get_kernel_doorbell(struct kfd_dev *kfd,
1110 int kfd_alloc_process_doorbells(struct kfd_dev *kfd,
1112 void kfd_free_process_doorbells(struct kfd_dev *kfd,
1149 struct kfd_dev *dev = adev->kfd.dev; in kfd_node_by_irq_ids()
[all …]
H A Dkfd_packet_manager_v9.c94 struct kfd_dev *kfd = pm->dqm->dev->kfd; in pm_map_process_aldebaran()
218 static inline bool pm_use_ext_eng(struct kfd_dev *dev) in pm_use_ext_eng()
H A Dkfd_int_process_v9.c238 static bool context_id_expected(struct kfd_dev *dev) in context_id_expected()
H A Dkfd_crat.c1424 static int kfd_fill_gpu_cache_info_from_gfx_config(struct kfd_dev *kdev, in kfd_fill_gpu_cache_info_from_gfx_config()
1502 static int kfd_fill_gpu_cache_info_from_gfx_config_v2(struct kfd_dev *kdev, in kfd_fill_gpu_cache_info_from_gfx_config_v2()
/linux/drivers/gpu/drm/amd/include/
H A Dkgd_kfd_interface.h40 struct kfd_dev;