Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.c396 if (dqm->allocated_queues[pipe] != 0) { in allocate_hqd()
397 bit = ffs(dqm->allocated_queues[pipe]) - 1; in allocate_hqd()
398 dqm->allocated_queues[pipe] &= ~(1 << bit); in allocate_hqd()
419 dqm->allocated_queues[q->pipe] |= (1 << q->queue); in deallocate_hqd()
862 dqm->allocated_queues = kcalloc(get_pipes_per_mec(dqm), in initialize_nocpsch()
864 if (!dqm->allocated_queues) in initialize_nocpsch()
879 dqm->allocated_queues[pipe] |= 1 << queue; in initialize_nocpsch()
895 kfree(dqm->allocated_queues); in uninitialize()
Dkfd_device_queue_manager.h185 unsigned int *allocated_queues; member