drm/xe: Only alloc userptr part of xe_vma for userptrs
authorMatthew Brost <matthew.brost@intel.com>
Thu, 20 Jul 2023 04:05:42 +0000 (21:05 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:37:53 +0000 (11:37 -0500)
commita4cc60a55fd9a6bb8b50375d404f317ac2030941
treec3cbeda7dcd79aa855afa12a1387ede1be2dfe47
parenteae553cbe03a7918f2b5dc9bda0dc35f7a7a308d
drm/xe: Only alloc userptr part of xe_vma for userptrs

Only alloc userptr part of xe_vma for userptrs, this will save on space
in the common BO case.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_vm.c
drivers/gpu/drm/xe/xe_vm_types.h