Home
last modified time | relevance | path

Searched refs:gpu_resources (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.c148 struct kgd2kfd_shared_resources gpu_resources = { in amdgpu_amdkfd_device_init() local
165 bitmap_complement(gpu_resources.cp_queue_bitmap, in amdgpu_amdkfd_device_init()
176 clear_bit(i, gpu_resources.cp_queue_bitmap); in amdgpu_amdkfd_device_init()
179 &gpu_resources.doorbell_physical_address, in amdgpu_amdkfd_device_init()
180 &gpu_resources.doorbell_aperture_size, in amdgpu_amdkfd_device_init()
181 &gpu_resources.doorbell_start_offset); in amdgpu_amdkfd_device_init()
192 gpu_resources.non_cp_doorbells_start = in amdgpu_amdkfd_device_init()
194 gpu_resources.non_cp_doorbells_end = in amdgpu_amdkfd_device_init()
199 &gpu_resources); in amdgpu_amdkfd_device_init()
Damdgpu_amdkfd.h398 const struct kgd2kfd_shared_resources *gpu_resources);
427 const struct kgd2kfd_shared_resources *gpu_resources) in kgd2kfd_device_init() argument
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c628 const struct kgd2kfd_shared_resources *gpu_resources) in kgd2kfd_device_init() argument
643 kfd->shared_resources = *gpu_resources; in kgd2kfd_device_init()
671 first_vmid_kfd = ffs(gpu_resources->compute_vmid_bitmap)-1; in kgd2kfd_device_init()
672 last_vmid_kfd = fls(gpu_resources->compute_vmid_bitmap)-1; in kgd2kfd_device_init()
809 gpu_resources->compute_vmid_bitmap; in kgd2kfd_device_init()