drm/xe: Use a flags field instead of bools for sync parse
authorMatthew Brost <matthew.brost@intel.com>
Tue, 5 Dec 2023 18:56:17 +0000 (10:56 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:46:09 +0000 (11:46 -0500)
commit53bf60f6d8503c788fee9c30dacef682edbe61fd
treefb781d702b7a9f902ac6d66e3a87fa7dfc8a68ad
parent3b97e3b265c97b7cd7dcbdb2f7ef93c6e6f94948
drm/xe: Use a flags field instead of bools for sync parse

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

v2: Pull in header change from subsequent patch

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_exec.c
drivers/gpu/drm/xe/xe_sync.c
drivers/gpu/drm/xe/xe_sync.h
drivers/gpu/drm/xe/xe_vm.c