]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Allow suspend / resume to be safely called multiple times
authorMatthew Brost <matthew.brost@intel.com>
Fri, 9 Aug 2024 19:19:29 +0000 (12:19 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Sat, 10 Aug 2024 02:09:33 +0000 (19:09 -0700)
commitd79fdaef2b55deea0df3fc6af4d4ac60e81a527c
treea56f989c0acaaf20539540cbaf935847bb310d7e
parent885c31382509d13fd70f6a9c42637eb72056a6ce
drm/xe: Allow suspend / resume to be safely called multiple times

Switching modes between LR and dma-fence can result in multiple calls to
suspend / resume. Make these calls safe while still enforcing call
order.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240809191929.3138956-6-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_guc_submit.c