]> 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)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 19 Aug 2024 17:37:50 +0000 (13:37 -0400)
commit8636a5c29be1f05b5162a5c82c874338b6717759
tree5709390cf0f8dd6613e865476be841e73e0984d0
parent8776b0234e1d008d8f19b26f6c3af1cfa6187070
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>
(cherry picked from commit 8d3a2d3d766a823c7510cdc17e6ff7c042c63b61)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_bo.c