drm/xe: Fix missing workqueue destroy in xe_gt_pagefault
authorStuart Summers <stuart.summers@intel.com>
Sat, 17 Aug 2024 02:47:30 +0000 (02:47 +0000)
committerMatthew Brost <matthew.brost@intel.com>
Tue, 20 Aug 2024 16:40:30 +0000 (09:40 -0700)
commit7586fc52b14e0b8edd0d1f8a434e0de2078b7b2b
tree9c0b56d0662ef91d6cc11f167584f467c529b24f
parent23683061805be368c8d1c7e7ff52abc470cac275
drm/xe: Fix missing workqueue destroy in xe_gt_pagefault

On driver reload we never free up the memory for the pagefault and
access counter workqueues. Add those destroy calls here.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/c9a951505271dc3a7aee76de7656679f69c11518.1723862633.git.stuart.summers@intel.com
drivers/gpu/drm/xe/xe_gt_pagefault.c