Lines Matching refs:mm_table
211 if (!amdgpu_sriov_vf(adev) || adev->virt.mm_table.gpu_addr) in amdgpu_virt_alloc_mm_table()
216 &adev->virt.mm_table.bo, in amdgpu_virt_alloc_mm_table()
217 &adev->virt.mm_table.gpu_addr, in amdgpu_virt_alloc_mm_table()
218 (void *)&adev->virt.mm_table.cpu_addr); in amdgpu_virt_alloc_mm_table()
224 memset((void *)adev->virt.mm_table.cpu_addr, 0, PAGE_SIZE); in amdgpu_virt_alloc_mm_table()
226 adev->virt.mm_table.gpu_addr, in amdgpu_virt_alloc_mm_table()
227 adev->virt.mm_table.cpu_addr); in amdgpu_virt_alloc_mm_table()
238 if (!amdgpu_sriov_vf(adev) || !adev->virt.mm_table.gpu_addr) in amdgpu_virt_free_mm_table()
241 amdgpu_bo_free_kernel(&adev->virt.mm_table.bo, in amdgpu_virt_free_mm_table()
242 &adev->virt.mm_table.gpu_addr, in amdgpu_virt_free_mm_table()
243 (void *)&adev->virt.mm_table.cpu_addr); in amdgpu_virt_free_mm_table()
244 adev->virt.mm_table.gpu_addr = 0; in amdgpu_virt_free_mm_table()