]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: use devm instead of drmm for managed bo
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Fri, 9 Aug 2024 23:12:35 +0000 (16:12 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 15 Aug 2024 22:08:00 +0000 (15:08 -0700)
commit8d3a2d3d766a823c7510cdc17e6ff7c042c63b61
tree2bcfa8227e1a7e2eb4438b857761e5ae99fdc889
parentb0ee81dac3205db1e01019629c83595e9433d96b
drm/xe: use devm instead of drmm for managed bo

The BO cleanup touches the GGTT and therefore requires the HW to be
available, so we need to use devm instead of drmm.

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1160
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240809231237.1503796-2-daniele.ceraolospurio@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_bo.c