Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_doorbell_mgr.c41 if (index < adev->doorbell.num_kernel_doorbells) in amdgpu_mm_rdoorbell()
63 if (index < adev->doorbell.num_kernel_doorbells) in amdgpu_mm_wdoorbell()
83 if (index < adev->doorbell.num_kernel_doorbells) in amdgpu_mm_rdoorbell64()
105 if (index < adev->doorbell.num_kernel_doorbells) in amdgpu_mm_wdoorbell64()
146 if (adev->doorbell.num_kernel_doorbells == 0) in amdgpu_doorbell_create_kernel_doorbells()
150 size = ALIGN(adev->doorbell.num_kernel_doorbells * sizeof(u32), PAGE_SIZE); in amdgpu_doorbell_create_kernel_doorbells()
168 adev->doorbell.num_kernel_doorbells = size / sizeof(u32); in amdgpu_doorbell_create_kernel_doorbells()
190 adev->doorbell.num_kernel_doorbells = 0; in amdgpu_doorbell_init()
203 adev->doorbell.num_kernel_doorbells = in amdgpu_doorbell_init()
206 if (adev->doorbell.num_kernel_doorbells == 0) in amdgpu_doorbell_init()
[all …]
Damdgpu_doorbell.h36 u32 num_kernel_doorbells; member
Damdgpu_amdkfd.c111 } else if (adev->doorbell.size > adev->doorbell.num_kernel_doorbells * in amdgpu_doorbell_get_kfd_info()
115 *start_offset = adev->doorbell.num_kernel_doorbells * sizeof(u32); in amdgpu_doorbell_get_kfd_info()