Searched refs:uq_mgr (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_userq.c | 96 amdgpu_userq_detect_and_reset_queues(struct amdgpu_userq_mgr *uq_mgr) in amdgpu_userq_detect_and_reset_queues() argument 98 struct amdgpu_device *adev = uq_mgr->adev; in amdgpu_userq_detect_and_reset_queues() 134 if (atomic_read(&uq_mgr->userq_count[ring_type]) > 0 && in amdgpu_userq_detect_and_reset_queues() 331 struct amdgpu_userq_mgr *uq_mgr = queue->userq_mgr; in amdgpu_userq_preempt_helper() local 332 struct amdgpu_device *adev = uq_mgr->adev; in amdgpu_userq_preempt_helper() 351 struct amdgpu_userq_mgr *uq_mgr = queue->userq_mgr; in amdgpu_userq_restore_helper() local 352 struct amdgpu_device *adev = uq_mgr->adev; in amdgpu_userq_restore_helper() 371 struct amdgpu_userq_mgr *uq_mgr = queue->userq_mgr; in amdgpu_userq_unmap_helper() local 372 struct amdgpu_device *adev = uq_mgr->adev; in amdgpu_userq_unmap_helper() 394 struct amdgpu_userq_mgr *uq_mgr = queue->userq_mgr; in amdgpu_userq_map_helper() local [all …]
|
| H A D | mes_userqueue.c | 35 struct amdgpu_userq_mgr *uq_mgr, in mes_userq_create_wptr_mapping() argument 117 struct amdgpu_userq_mgr *uq_mgr = queue->userq_mgr; in mes_userq_map() local 118 struct amdgpu_device *adev = uq_mgr->adev; in mes_userq_map() 162 struct amdgpu_userq_mgr *uq_mgr = queue->userq_mgr; in mes_userq_unmap() local 163 struct amdgpu_device *adev = uq_mgr->adev; in mes_userq_unmap() 180 static int mes_userq_create_ctx_space(struct amdgpu_userq_mgr *uq_mgr, in mes_userq_create_ctx_space() argument 193 r = amdgpu_userq_create_object(uq_mgr, ctx, size); in mes_userq_create_ctx_space() 257 struct amdgpu_userq_mgr *uq_mgr = queue->userq_mgr; in mes_userq_mqd_create() local 258 struct amdgpu_device *adev = uq_mgr->adev; in mes_userq_mqd_create() 271 r = amdgpu_userq_create_object(uq_mgr, &queue->mqd, in mes_userq_mqd_create() [all …]
|
| H A D | amdgpu_userq.h | 129 struct amdgpu_usermode_queue *amdgpu_userq_get(struct amdgpu_userq_mgr *uq_mgr, u32 qid); 140 int amdgpu_userq_create_object(struct amdgpu_userq_mgr *uq_mgr, 144 void amdgpu_userq_destroy_object(struct amdgpu_userq_mgr *uq_mgr, 147 void amdgpu_userq_evict(struct amdgpu_userq_mgr *uq_mgr); 152 uint64_t amdgpu_userq_get_doorbell_index(struct amdgpu_userq_mgr *uq_mgr,
|