Home
last modified time | relevance | path

Searched refs:dbgdev (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_dbgmgr.c48 kfree(pmgr->dbgdev); in kfd_dbgmgr_uninitialize()
50 pmgr->dbgdev = NULL; in kfd_dbgmgr_uninitialize()
79 new_buff->dbgdev = kfd_alloc_struct(new_buff->dbgdev); in kfd_dbgmgr_create()
80 if (!new_buff->dbgdev) { in kfd_dbgmgr_create()
90 kfd_dbgdev_init(new_buff->dbgdev, pdev, type); in kfd_dbgmgr_create()
108 pmgr->dbgdev->pqm = &p->pqm; in kfd_dbgmgr_register()
111 pmgr->dbgdev->dbgdev_register(pmgr->dbgdev); in kfd_dbgmgr_register()
125 pmgr->dbgdev->dbgdev_unregister(pmgr->dbgdev); in kfd_dbgmgr_unregister()
142 return (long) pmgr->dbgdev->dbgdev_wave_control(pmgr->dbgdev, wac_info); in kfd_dbgmgr_wave_control()
155 return (long) pmgr->dbgdev->dbgdev_address_watch(pmgr->dbgdev, in kfd_dbgmgr_address_watch()
Dkfd_dbgdev.c47 static int dbgdev_diq_submit_ib(struct kfd_dbgdev *dbgdev, in dbgdev_diq_submit_ib() argument
65 kq = dbgdev->kq; in dbgdev_diq_submit_ib()
113 status = kfd_gtt_sa_allocate(dbgdev->dev, sizeof(uint64_t), in dbgdev_diq_submit_ib()
161 kfd_gtt_sa_free(dbgdev->dev, mem_obj); in dbgdev_diq_submit_ib()
166 static int dbgdev_register_nodiq(struct kfd_dbgdev *dbgdev) in dbgdev_register_nodiq() argument
173 dbgdev->kq = NULL; in dbgdev_register_nodiq()
178 static int dbgdev_register_diq(struct kfd_dbgdev *dbgdev) in dbgdev_register_diq() argument
187 status = pqm_create_queue(dbgdev->pqm, dbgdev->dev, NULL, in dbgdev_register_diq()
197 kq = pqm_get_kernel_queue(dbgdev->pqm, qid); in dbgdev_register_diq()
201 pqm_destroy_queue(dbgdev->pqm, qid); in dbgdev_register_diq()
[all …]
Dkfd_dbgmgr.h268 int (*dbgdev_register)(struct kfd_dbgdev *dbgdev);
269 int (*dbgdev_unregister)(struct kfd_dbgdev *dbgdev);
270 int (*dbgdev_address_watch)(struct kfd_dbgdev *dbgdev,
272 int (*dbgdev_wave_control)(struct kfd_dbgdev *dbgdev,
280 struct kfd_dbgdev *dbgdev; member