Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c110 struct temp_sdma_queue_list *sdma_q, *next; in kfd_sdma_activity_worker() local
156 sdma_q = kzalloc(sizeof(struct temp_sdma_queue_list), GFP_KERNEL); in kfd_sdma_activity_worker()
157 if (!sdma_q) { in kfd_sdma_activity_worker()
162 INIT_LIST_HEAD(&sdma_q->list); in kfd_sdma_activity_worker()
163 sdma_q->rptr = (uint64_t __user *)q->properties.read_ptr; in kfd_sdma_activity_worker()
164 sdma_q->queue_id = q->properties.queue_id; in kfd_sdma_activity_worker()
165 list_add_tail(&sdma_q->list, &sdma_q_list.list); in kfd_sdma_activity_worker()
190 list_for_each_entry(sdma_q, &sdma_q_list.list, list) { in kfd_sdma_activity_worker()
192 ret = read_sdma_queue_counter(sdma_q->rptr, &val); in kfd_sdma_activity_worker()
195 sdma_q->queue_id); in kfd_sdma_activity_worker()
[all …]