diff options
author | Matthew Brost <matthew.brost@intel.com> | 2023-06-22 12:39:48 -0700 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 11:35:18 -0500 |
commit | 9d858b69b0cfb56dd67943138c10d84eeb73380f (patch) | |
tree | efdc4ca6775a36fed10ec38190a392a52491fa4b /drivers/pmdomain/renesas | |
parent | 54c9fb7e64fd3f0da1570e3d1c5446605e83210e (diff) |
drm/xe: Ban a VM if rebind worker hits an error
We cannot recover a VM if a rebind worker hits an error, ban the VM if
happens to ensure we do not attempt to place this VM on the hardware
again.
A follow up will inform the user if this happens.
v2: Return -ECANCELED in exec VM closed or banned, check for closed or
banned within VM lock.
v3: Fix lockdep splat by looking engine outside of vm->lock
v4: Fix error path when engine lookup fails
v5: Add debug message in rebind worker on error, update comments wrt
locking, add xe_vm_close helper
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/pmdomain/renesas')
0 files changed, 0 insertions, 0 deletions