drm/xe/uc: Use devm to register cleanup that includes exec_queues
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 15 Aug 2024 23:05:40 +0000 (16:05 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 16 Aug 2024 16:15:04 +0000 (09:15 -0700)
commit5a891a0e69f134f53cc91b409f38e5ea1cafaf0a
tree3d9ecba97efffb62ceea6163ce92ea58b9d77329
parent2e5d47fe7839298fa096970e184aac9bf82c3bd3
drm/xe/uc: Use devm to register cleanup that includes exec_queues

Exec_queue cleanup requires HW access, so we need to use devm instead of
drmm for it.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Cc: Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240815230541.3828206-2-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_gsc.c
drivers/gpu/drm/xe/xe_guc_submit.c