drm/xe: Use non-interruptible wait when moving BO to system
authorNirmoy Das <nirmoy.das@intel.com>
Fri, 13 Dec 2024 12:24:14 +0000 (13:24 +0100)
committerNirmoy Das <nirmoy.das@intel.com>
Mon, 16 Dec 2024 12:44:12 +0000 (13:44 +0100)
commitdc5e20ae1f8a7c354dc9833faa2720254e5a5443
tree3a8f8f8b096d3ee7690d48bca6712883081a096c
parent70fb86a85dc9fd66014d7eb2fe356f50702ceeb6
drm/xe: Use non-interruptible wait when moving BO to system

Ensure a non-interruptible wait is used when moving a bo to
XE_PL_SYSTEM. This prevents dma_mappings from being removed prematurely
while a GPU job is still in progress, even if the CPU receives a
signal during the operation.

Fixes: 75521e8b56e8 ("drm/xe: Perform dma_map when moving system buffer objects to TT")
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: stable@vger.kernel.org # v6.11+
Suggested-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241213122415.3880017-1-nirmoy.das@intel.com
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
drivers/gpu/drm/xe/xe_bo.c