]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Move hw_engine_fini to devm managed
authorMatthew Brost <matthew.brost@intel.com>
Tue, 20 Aug 2024 17:29:56 +0000 (10:29 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 23 Aug 2024 16:54:13 +0000 (09:54 -0700)
commit6eb2aad402cc94ab4dd3780d8fd94c5c9bb7ed4a
tree719545ae21ed65bcef1f7e988d1b23836257b33d
parenta323782567812ee925e9b7926445532c7afe331b
drm/xe: Move hw_engine_fini to devm managed

Kernel BOs are destroyed with GGTT mappings, this is hardware
interaction so use devm.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240820172958.1095143-5-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_hw_engine.c