Home
last modified time | relevance | path

Searched refs:va_address (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.c682 if (args->va_address < AMDGPU_VA_RESERVED_SIZE) { in amdgpu_gem_va_ioctl()
685 args->va_address, AMDGPU_VA_RESERVED_SIZE); in amdgpu_gem_va_ioctl()
689 if (args->va_address >= AMDGPU_GMC_HOLE_START && in amdgpu_gem_va_ioctl()
690 args->va_address < AMDGPU_GMC_HOLE_END) { in amdgpu_gem_va_ioctl()
693 args->va_address, AMDGPU_GMC_HOLE_START, in amdgpu_gem_va_ioctl()
698 args->va_address &= AMDGPU_GMC_HOLE_MASK; in amdgpu_gem_va_ioctl()
702 if (args->va_address + args->map_size > vm_size) { in amdgpu_gem_va_ioctl()
705 args->va_address + args->map_size, vm_size); in amdgpu_gem_va_ioctl()
767 r = amdgpu_vm_bo_map(adev, bo_va, args->va_address, in amdgpu_gem_va_ioctl()
772 r = amdgpu_vm_bo_unmap(adev, bo_va, args->va_address); in amdgpu_gem_va_ioctl()
[all …]
/linux-6.1.9/include/uapi/drm/
Damdgpu_drm.h548 __u64 va_address; member