Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.c152 struct kgd2kfd_shared_resources gpu_resources = { in amdgpu_amdkfd_device_init() local
164 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 …]
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c418 const struct kgd2kfd_shared_resources *gpu_resources) in kgd2kfd_device_init() argument
422 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()
Dkfd_priv.h292 const struct kgd2kfd_shared_resources *gpu_resources);
/Linux-v4.19/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h449 const struct kgd2kfd_shared_resources *gpu_resources);