drm/xe: Use internal VM flags in xe_vm_create
authorMatthew Brost <matthew.brost@intel.com>
Mon, 10 Jul 2023 14:41:21 +0000 (07:41 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:35:17 +0000 (11:35 -0500)
commit54c9fb7e64fd3f0da1570e3d1c5446605e83210e
treed37f8c0e47ac6bd0c8f322791f8a6df6009d3450
parent55d8ac9631aaa8ae3794341c52009f635a0d3188
drm/xe: Use internal VM flags in xe_vm_create

xe_vm_create used the IOCTL create flags in a few places rather than the
internal VM flags and this just happened to work as these values
matched. This is risky (and incorrect) as the internal flag values are
free to change. Fix this and use the internal VM flag values.

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