mbox series

[0/2] Add DRM-managed drm_mm_init()

Message ID 20240524133518.976-1-michal.wajdeczko@intel.com (mailing list archive)
Headers show
Series Add DRM-managed drm_mm_init() | expand

Message

Michal Wajdeczko May 24, 2024, 1:35 p.m. UTC
Add drmm_mm_init(), a helper that provides managed allocator cleanup,
and start using it in the Xe driver.

Michal Wajdeczko (2):
  drm: Add DRM-managed drm_mm_init()
  drm/xe: Use drm_device managed mutex/mm init helpers in GGTT

 drivers/gpu/drm/drm_managed.c | 27 +++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_ggtt.c  | 23 +++++++++++------------
 include/drm/drm_managed.h     |  3 +++
 3 files changed, 41 insertions(+), 12 deletions(-)