Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager_cik.c206 m->cp_hqd_pq_base_lo = lower_32_bits((uint64_t)q->queue_address >> 8); in __update_mqd()
207 m->cp_hqd_pq_base_hi = upper_32_bits((uint64_t)q->queue_address >> 8); in __update_mqd()
247 m->sdma_rlc_rb_base = lower_32_bits(q->queue_address >> 8); in update_mqd_sdma()
248 m->sdma_rlc_rb_base_hi = upper_32_bits(q->queue_address >> 8); in update_mqd_sdma()
284 uint64_t queue_address, uint32_t pipe_id, in is_occupied() argument
288 return mm->dev->kfd2kgd->hqd_is_occupied(mm->dev->kgd, queue_address, in is_occupied()
294 uint64_t queue_address, uint32_t pipe_id, in is_occupied_sdma() argument
329 m->cp_hqd_pq_base_lo = lower_32_bits((uint64_t)q->queue_address >> 8); in update_mqd_hiq()
330 m->cp_hqd_pq_base_hi = upper_32_bits((uint64_t)q->queue_address >> 8); in update_mqd_hiq()
Dkfd_kernel_queue.c134 prop.queue_address = kq->pq_gpu_addr; in kq_initialize()
235 unsigned int *queue_address; in kq_acquire_packet_buffer() local
245 queue_address = (unsigned int *)kq->pq_kernel_addr; in kq_acquire_packet_buffer()
250 pr_debug("queue_address 0x%p\n", queue_address); in kq_acquire_packet_buffer()
272 queue_address[wptr] = kq->nop_packet; in kq_acquire_packet_buffer()
278 *buffer_ptr = &queue_address[wptr]; in kq_acquire_packet_buffer()
Dkfd_mqd_manager_v10.c176 m->cp_hqd_pq_base_lo = lower_32_bits((uint64_t)q->queue_address >> 8); in update_mqd()
177 m->cp_hqd_pq_base_hi = upper_32_bits((uint64_t)q->queue_address >> 8); in update_mqd()
244 uint64_t queue_address, uint32_t pipe_id, in is_occupied() argument
248 mm->dev->kgd, queue_address, in is_occupied()
333 m->sdmax_rlcx_rb_base = lower_32_bits(q->queue_address >> 8); in update_mqd_sdma()
334 m->sdmax_rlcx_rb_base_hi = upper_32_bits(q->queue_address >> 8); in update_mqd_sdma()
360 uint64_t queue_address, uint32_t pipe_id, in is_occupied_sdma() argument
Dkfd_mqd_manager_v9.c225 m->cp_hqd_pq_base_lo = lower_32_bits((uint64_t)q->queue_address >> 8); in update_mqd()
226 m->cp_hqd_pq_base_hi = upper_32_bits((uint64_t)q->queue_address >> 8); in update_mqd()
303 uint64_t queue_address, uint32_t pipe_id, in is_occupied() argument
307 mm->dev->kgd, queue_address, in is_occupied()
388 m->sdmax_rlcx_rb_base = lower_32_bits(q->queue_address >> 8); in update_mqd_sdma()
389 m->sdmax_rlcx_rb_base_hi = upper_32_bits(q->queue_address >> 8); in update_mqd_sdma()
415 uint64_t queue_address, uint32_t pipe_id, in is_occupied_sdma() argument
Dkfd_mqd_manager_vi.c183 m->cp_hqd_pq_base_lo = lower_32_bits((uint64_t)q->queue_address >> 8); in __update_mqd()
184 m->cp_hqd_pq_base_hi = upper_32_bits((uint64_t)q->queue_address >> 8); in __update_mqd()
269 uint64_t queue_address, uint32_t pipe_id, in is_occupied() argument
273 mm->dev->kgd, queue_address, in is_occupied()
356 m->sdmax_rlcx_rb_base = lower_32_bits(q->queue_address >> 8); in update_mqd_sdma()
357 m->sdmax_rlcx_rb_base_hi = upper_32_bits(q->queue_address >> 8); in update_mqd_sdma()
384 uint64_t queue_address, uint32_t pipe_id, in is_occupied_sdma() argument
Dkfd_queue.c36 pr_debug("Queue Address: 0x%llX\n", q->queue_address); in print_queue_properties()
53 pr_debug("Queue Address: 0x%llX\n", q->properties.queue_address); in print_queue()
Dkfd_mqd_manager.h94 uint64_t queue_address, uint32_t pipe_id,
Dkfd_process_queue_manager.c426 pqn->q->properties.queue_address = p->queue_address; in pqm_update_queue()
Dkfd_priv.h441 uint64_t queue_address; member
473 (q).queue_address != 0 && \
Dkfd_chardev.c223 q_properties->queue_address = args->ring_base_address; in set_queue_properties_from_user()
255 q_properties->queue_address, args->ring_base_address); in set_queue_properties_from_user()
397 properties.queue_address = args->ring_base_address; in kfd_ioctl_update_queue()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v9.h42 bool kgd_gfx_v9_hqd_is_occupied(struct kgd_dev *kgd, uint64_t queue_address,
Damdgpu_amdkfd_gfx_v8.c370 static bool kgd_hqd_is_occupied(struct kgd_dev *kgd, uint64_t queue_address, in kgd_hqd_is_occupied() argument
381 low = lower_32_bits(queue_address >> 8); in kgd_hqd_is_occupied()
382 high = upper_32_bits(queue_address >> 8); in kgd_hqd_is_occupied()
Damdgpu_amdkfd_gfx_v7.c375 static bool kgd_hqd_is_occupied(struct kgd_dev *kgd, uint64_t queue_address, in kgd_hqd_is_occupied() argument
386 low = lower_32_bits(queue_address >> 8); in kgd_hqd_is_occupied()
387 high = upper_32_bits(queue_address >> 8); in kgd_hqd_is_occupied()
Damdgpu_amdkfd_gfx_v10.c492 static bool kgd_hqd_is_occupied(struct kgd_dev *kgd, uint64_t queue_address, in kgd_hqd_is_occupied() argument
503 low = lower_32_bits(queue_address >> 8); in kgd_hqd_is_occupied()
504 high = upper_32_bits(queue_address >> 8); in kgd_hqd_is_occupied()
Damdgpu_amdkfd_gfx_v9.c501 bool kgd_gfx_v9_hqd_is_occupied(struct kgd_dev *kgd, uint64_t queue_address, in kgd_gfx_v9_hqd_is_occupied() argument
512 low = lower_32_bits(queue_address >> 8); in kgd_gfx_v9_hqd_is_occupied()
513 high = upper_32_bits(queue_address >> 8); in kgd_gfx_v9_hqd_is_occupied()
Damdgpu_amdkfd_gfx_v10_3.c477 static bool hqd_is_occupied_v10_3(struct kgd_dev *kgd, uint64_t queue_address, in hqd_is_occupied_v10_3() argument
488 low = lower_32_bits(queue_address >> 8); in hqd_is_occupied_v10_3()
489 high = upper_32_bits(queue_address >> 8); in hqd_is_occupied_v10_3()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h259 bool (*hqd_is_occupied)(struct kgd_dev *kgd, uint64_t queue_address,