Searched refs:gpu_resources (Results 1 – 3 of 3) sorted by relevance
176 struct kgd2kfd_shared_resources gpu_resources = { in amdgpu_amdkfd_device_init() local193 bitmap_complement(gpu_resources.cp_queue_bitmap, in amdgpu_amdkfd_device_init()204 clear_bit(i, gpu_resources.cp_queue_bitmap); in amdgpu_amdkfd_device_init()207 &gpu_resources.doorbell_physical_address, in amdgpu_amdkfd_device_init()208 &gpu_resources.doorbell_aperture_size, in amdgpu_amdkfd_device_init()209 &gpu_resources.doorbell_start_offset); in amdgpu_amdkfd_device_init()220 gpu_resources.non_cp_doorbells_start = in amdgpu_amdkfd_device_init()222 gpu_resources.non_cp_doorbells_end = in amdgpu_amdkfd_device_init()227 &gpu_resources); in amdgpu_amdkfd_device_init()
417 const struct kgd2kfd_shared_resources *gpu_resources);449 const struct kgd2kfd_shared_resources *gpu_resources) in kgd2kfd_device_init() argument
685 const struct kgd2kfd_shared_resources *gpu_resources) in kgd2kfd_device_init() argument700 kfd->shared_resources = *gpu_resources; in kgd2kfd_device_init()728 first_vmid_kfd = ffs(gpu_resources->compute_vmid_bitmap)-1; in kgd2kfd_device_init()729 last_vmid_kfd = fls(gpu_resources->compute_vmid_bitmap)-1; in kgd2kfd_device_init()870 gpu_resources->compute_vmid_bitmap; in kgd2kfd_device_init()