Home
last modified time | relevance | path

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

/linux-6.6.21/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()
151 if (adev->doorbell.num_kernel_doorbells == 0) in amdgpu_doorbell_create_kernel_doorbells()
155 size = ALIGN(adev->doorbell.num_kernel_doorbells * sizeof(u32), PAGE_SIZE); in amdgpu_doorbell_create_kernel_doorbells()
173 adev->doorbell.num_kernel_doorbells = size / sizeof(u32); in amdgpu_doorbell_create_kernel_doorbells()
195 adev->doorbell.num_kernel_doorbells = 0; in amdgpu_doorbell_init()
208 adev->doorbell.num_kernel_doorbells = in amdgpu_doorbell_init()
211 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()