OSDN Git Service

drm/i915: move i915_buddy slab to direct module init/exit
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jul 2021 12:10:29 +0000 (14:10 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Jul 2021 14:45:58 +0000 (16:45 +0200)
commita28beb344bb1f02b1306ce3ceaecbf2afe3e42cd
tree9649cdb4ec59f9f69b56fecd1c6d18936c3656f3
parent512ba03e35ccb2897d19d0207ef6bd55a9564fd1
drm/i915: move i915_buddy slab to direct module init/exit

With the global kmem_cache shrink infrastructure gone there's nothing
special and we can convert them over.

I'm doing this split up into each patch because there's quite a bit of
noise with removing the static global.slab_blocks to just a
slab_blocks.

v2: Make slab static (Jason, 0day)

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210727121037.2041102-3-daniel.vetter@ffwll.ch
drivers/gpu/drm/i915/i915_buddy.c
drivers/gpu/drm/i915/i915_buddy.h
drivers/gpu/drm/i915/i915_globals.c
drivers/gpu/drm/i915/i915_pci.c