OSDN Git Service

drm/i915: move request slabs to direct module init/exit
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jul 2021 12:10:33 +0000 (14:10 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Jul 2021 15:05:17 +0000 (17:05 +0200)
commit47514ac752efdf4ff3ca1edeed8a811dc56a082c
tree7aa9c7dd54758c664570ea16dcf248b3e9fab2d1
parentc8ad09affd27590fee8dbf6b24419abf9d9bcf3d
drm/i915: move request slabs 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_requests|execute_cbs to just a
slab_requests|execute_cbs.

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-7-daniel.vetter@ffwll.ch
drivers/gpu/drm/i915/i915_globals.c
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/i915_request.h