Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_kernel_queue.c232 size_t queue_size_dwords; in kq_acquire_packet_buffer() local
246 queue_size_dwords = kq->queue->properties.queue_size / 4; in kq_acquire_packet_buffer()
252 available_size = (rptr + queue_size_dwords - 1 - wptr) % in kq_acquire_packet_buffer()
253 queue_size_dwords; in kq_acquire_packet_buffer()
263 if (wptr + packet_size_in_dwords >= queue_size_dwords) { in kq_acquire_packet_buffer()
273 wptr = (wptr + 1) % queue_size_dwords; in kq_acquire_packet_buffer()