Error injection should use the error injection interface, and should be
decoupled from CONFIG_DRM_XE_DEBUG.  Remove TEST_VM_OPS_ERROR from the
code, and add error injection support to the function
vm_bind_ioctl_ops_lock_and_prep.  This necessitates marking the function
as noinline.

Jonathan Cavitt (2):
  Revert "drm/xe: Add VM bind IOCTL error injection"
  drm/xe/xe_vm: Add error injection support to lock and prep

 drivers/gpu/drm/xe/xe_device_types.h | 12 -----------
 drivers/gpu/drm/xe/xe_pt.c           | 12 -----------
 drivers/gpu/drm/xe/xe_vm.c           | 31 ++++++----------------------
 drivers/gpu/drm/xe/xe_vm_types.h     | 14 -------------
 4 files changed, 6 insertions(+), 63 deletions(-)

-- 
2.43.0

Reply via email to