Skip to content
Commit d186e51b authored by Moti Haimovski's avatar Moti Haimovski Committed by Thomas Hellström
Browse files

drm/xe/vm: bugfix in xe_vm_create_ioctl



Fix xe_vm_create_ioctl routine not freeing the vm-id allocated to it
when the function fails.

Fixes: dd08ebf6 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: default avatarMoti Haimovski <mhaimovski@habana.ai>
Reviewed-by: default avatarMatthew Brost <matthew.brost@intel.com>
Reviewed-by: default avatarTomer Tayar <ttayar@habana.ai>
Signed-off-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240122102424.4008095-1-mhaimovski@habana.ai


(cherry picked from commit f6bf0424)
Signed-off-by: default avatarThomas Hellström <thomas.hellstrom@linux.intel.com>
parent c0e2508c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment