Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.h256 unsigned int *allocated_queues; member
Dkfd_device_queue_manager.c719 if (dqm->allocated_queues[pipe] != 0) { in allocate_hqd()
720 bit = ffs(dqm->allocated_queues[pipe]) - 1; in allocate_hqd()
721 dqm->allocated_queues[pipe] &= ~(1 << bit); in allocate_hqd()
742 dqm->allocated_queues[q->pipe] |= (1 << q->queue); in deallocate_hqd()
1463 dqm->allocated_queues = kcalloc(get_pipes_per_mec(dqm), in initialize_nocpsch()
1465 if (!dqm->allocated_queues) in initialize_nocpsch()
1480 dqm->allocated_queues[pipe] |= 1 << queue; in initialize_nocpsch()
1496 kfree(dqm->allocated_queues); in uninitialize()