drm/xe: Use a flags field instead of bools for VMA create
authorMatthew Brost <matthew.brost@intel.com>
Tue, 12 Dec 2023 17:00:37 +0000 (09:00 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:46:09 +0000 (11:46 -0500)
commit3b97e3b265c97b7cd7dcbdb2f7ef93c6e6f94948
tree101355cdeca3d80dc8aa8493d39bbda3de5b2ed4
parent35705e32b13cf800a47f10844c4f8d1334d411c7
drm/xe: Use a flags field instead of bools for VMA create

Use a flags field instead of severval bools for VMA create as it is
easier to read and less bug prone.

Suggested-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_vm.c