drm/xe/uapi: Separate VM_BIND's operation and flag
authorFrancois Dugast <francois.dugast@intel.com>
Wed, 20 Sep 2023 19:29:24 +0000 (15:29 -0400)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:43:10 +0000 (11:43 -0500)
commitea0640fc6971f555c8f921e2060376d768685805
treef868651435ff878a0b64fa998924d70140494d9b
parent7793d00d1bf5923e77bbe7ace8089bfdfa19dc38
drm/xe/uapi: Separate VM_BIND's operation and flag

Use different members in the drm_xe_vm_bind_op for op and for flags as
it is done in other structures.

Type is left to u32 to leave enough room for future operations and flags.

v2: Remove the XE_VM_BIND_* flags shift (Rodrigo Vivi)

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/303
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
drivers/gpu/drm/xe/xe_vm.c
include/uapi/drm/xe_drm.h