Searched refs:gpu_resources (Results 1 – 4 of 4) sorted by relevance
152 struct kgd2kfd_shared_resources gpu_resources = { in amdgpu_amdkfd_device_init() local164 bitmap_complement(gpu_resources.queue_bitmap, in amdgpu_amdkfd_device_init()174 gpu_resources.queue_bitmap); in amdgpu_amdkfd_device_init()182 clear_bit(i, gpu_resources.queue_bitmap); in amdgpu_amdkfd_device_init()185 &gpu_resources.doorbell_physical_address, in amdgpu_amdkfd_device_init()186 &gpu_resources.doorbell_aperture_size, in amdgpu_amdkfd_device_init()187 &gpu_resources.doorbell_start_offset); in amdgpu_amdkfd_device_init()196 gpu_resources.sdma_doorbell[0][0] = in amdgpu_amdkfd_device_init()198 gpu_resources.sdma_doorbell[0][1] = in amdgpu_amdkfd_device_init()200 gpu_resources.sdma_doorbell[1][0] = in amdgpu_amdkfd_device_init()[all …]
418 const struct kgd2kfd_shared_resources *gpu_resources) in kgd2kfd_device_init() argument422 kfd->shared_resources = *gpu_resources; in kgd2kfd_device_init()424 kfd->vm_info.first_vmid_kfd = ffs(gpu_resources->compute_vmid_bitmap)-1; in kgd2kfd_device_init()425 kfd->vm_info.last_vmid_kfd = fls(gpu_resources->compute_vmid_bitmap)-1; in kgd2kfd_device_init()
292 const struct kgd2kfd_shared_resources *gpu_resources);
449 const struct kgd2kfd_shared_resources *gpu_resources);