RE: [PATCH v4 1/3] drm/xe: Take ref to VM in delayed snapshot

2024-07-31 Thread Cavitt, Jonathan
-Original Message- From: Intel-xe On Behalf Of Matthew Brost Sent: Wednesday, July 31, 2024 2:32 PM To: intel...@lists.freedesktop.org; dri-devel@lists.freedesktop.org Cc: maarten.lankho...@linux.intel.com; Vivi, Rodrigo Subject: [PATCH v4 1/3] drm/xe: Take ref to VM in delayed snapshot

[PATCH v4 1/3] drm/xe: Take ref to VM in delayed snapshot

2024-07-31 Thread Matthew Brost
Kernel BO's don't take a ref to the VM, we need to the VM for the delayed snapshot, so take a ref to the VM in delayed snapshot. v2: - Check for lrc_bo before taking a VM ref (CI) - Check lrc_bo->vm before taking / dropping a VM ref (CI) - Drop VM in xe_lrc_snapshot_free 47058633d9c5 ("drm/xe: