]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: improve dma-resv handling for backup object
authorMatthew Auld <matthew.auld@intel.com>
Fri, 29 Aug 2025 16:47:16 +0000 (17:47 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Fri, 5 Sep 2025 10:53:00 +0000 (11:53 +0100)
commitedb1745fc618ba8ef63a45ce3ae60de1bdf29231
tree2a2d77d0272539dc487ae466a6b9314c22ffd9d1
parent7477c4bd20dc1aba02ef2d955591826da24e2b04
drm/xe: improve dma-resv handling for backup object

Since the dma-resv is shared we don't need to reserve and add a fence
slot fence twice, plus no need to loop through the dependencies.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://lore.kernel.org/r/20250829164715.720735-2-matthew.auld@intel.com
drivers/gpu/drm/xe/xe_bo.c
drivers/gpu/drm/xe/xe_migrate.c