]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Make exec_queue_kill safe to call twice
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 14 Aug 2024 20:56:54 +0000 (13:56 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 15 Aug 2024 20:08:31 +0000 (13:08 -0700)
commitb0ee81dac3205db1e01019629c83595e9433d96b
tree2cf2135f3a768007b4342844b91285ab88cb228c
parent23ab1cb6591dba7c97b65eb407cd71147bd878b8
drm/xe: Make exec_queue_kill safe to call twice

An upcoming PXP patch will kill queues at runtime when a PXP
invalidation event occurs, so we need exec_queue_kill to be safe to call
multiple times.

v2: Add documentation (Matt B)

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240814205654.1716586-1-daniele.ceraolospurio@intel.com
drivers/gpu/drm/xe/xe_exec_queue.c
drivers/gpu/drm/xe/xe_vm.c