drm/xe/vm: Remove restriction that all VMs must be faulting if one is
authorFrancois Dugast <francois.dugast@intel.com>
Fri, 9 Aug 2024 15:51:35 +0000 (17:51 +0200)
committerMatthew Brost <matthew.brost@intel.com>
Sun, 18 Aug 2024 01:31:58 +0000 (18:31 -0700)
commit226d92e49a7e7a7f5a3a37a34df7c319b72009fc
treeedd92c82d577d928d37325b5eb849292f039716f
parentd16ef1a18e39a5086a419d8b3c71adb30273881a
drm/xe/vm: Remove restriction that all VMs must be faulting if one is

With this restriction, all VMs on the device must be faulting VMs if there
is already one faulting VM, in which case the device is considered in
fault mode. This prevents for example an application from running 3D jobs
for the compositor while submitting a SVM compute job on the same device.

Now that mutual exclusion of faulting LR jobs and dma fence jobs is
ensured on the hw engine group, remove this restriction to allow running
faulting and non-faulting VMs on the same device.

Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240809155156.1955925-11-francois.dugast@intel.com
drivers/gpu/drm/xe/xe_vm.c