Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_userq.c96 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()
110 WARN_ON(!mutex_is_locked(&uq_mgr->userq_mutex)); in amdgpu_userq_detect_and_reset_queues()
135 if (atomic_read(&uq_mgr->userq_count[ring_type]) > 0 && in amdgpu_userq_detect_and_reset_queues()
157 struct amdgpu_userq_mgr *uq_mgr; in amdgpu_userq_hang_detect_work() local
162 uq_mgr = queue->userq_mgr; in amdgpu_userq_hang_detect_work()
168 mutex_lock(&uq_mgr->userq_mutex); in amdgpu_userq_hang_detect_work()
169 amdgpu_userq_detect_and_reset_queues(uq_mgr); in amdgpu_userq_hang_detect_work()
170 mutex_unlock(&uq_mgr->userq_mutex); in amdgpu_userq_hang_detect_work()
344 struct amdgpu_userq_mgr *uq_mgr = queue->userq_mgr; in amdgpu_userq_preempt_helper() local
[all …]
H A Dmes_userqueue.c35 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 Damdgpu_userq.h118 struct amdgpu_usermode_queue *amdgpu_userq_get(struct amdgpu_userq_mgr *uq_mgr, u32 qid);
129 int amdgpu_userq_create_object(struct amdgpu_userq_mgr *uq_mgr,
133 void amdgpu_userq_destroy_object(struct amdgpu_userq_mgr *uq_mgr,
136 void amdgpu_userq_evict(struct amdgpu_userq_mgr *uq_mgr);
141 uint64_t amdgpu_userq_get_doorbell_index(struct amdgpu_userq_mgr *uq_mgr,