Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/amd/amdkfd/
H A Dkfd_device.c1137 kfd->gtt_sa_num_of_chunks = buf_size / chunk_size; in kfd_gtt_sa_init()
1139 kfd->gtt_sa_bitmap = bitmap_zalloc(kfd->gtt_sa_num_of_chunks, in kfd_gtt_sa_init()
1145 kfd->gtt_sa_num_of_chunks, kfd->gtt_sa_bitmap); in kfd_gtt_sa_init()
1181 if (size > kfd->gtt_sa_num_of_chunks * kfd->gtt_sa_chunk_size) in kfd_gtt_sa_allocate()
1197 kfd->gtt_sa_num_of_chunks, in kfd_gtt_sa_allocate()
1203 if (found == kfd->gtt_sa_num_of_chunks) in kfd_gtt_sa_allocate()
1233 kfd->gtt_sa_num_of_chunks, ++found); in kfd_gtt_sa_allocate()
1247 if (found == kfd->gtt_sa_num_of_chunks) in kfd_gtt_sa_allocate()
H A Dkfd_priv.h334 unsigned int gtt_sa_num_of_chunks; member