diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2021-07-27 14:10:29 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2021-07-28 16:45:58 +0200 |
commit | a28beb344bb1f02b1306ce3ceaecbf2afe3e42cd (patch) | |
tree | 9649cdb4ec59f9f69b56fecd1c6d18936c3656f3 /drivers/gpu/drm/i915/i915_buddy.h | |
parent | drm/i915: move i915_active slab to direct module init/exit (diff) | |
download | linux-dev-a28beb344bb1f02b1306ce3ceaecbf2afe3e42cd.tar.xz linux-dev-a28beb344bb1f02b1306ce3ceaecbf2afe3e42cd.zip |
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
Diffstat (limited to 'drivers/gpu/drm/i915/i915_buddy.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_buddy.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_buddy.h b/drivers/gpu/drm/i915/i915_buddy.h index d8f26706de52..3940d632f208 100644 --- a/drivers/gpu/drm/i915/i915_buddy.h +++ b/drivers/gpu/drm/i915/i915_buddy.h @@ -129,6 +129,7 @@ void i915_buddy_free(struct i915_buddy_mm *mm, struct i915_buddy_block *block); void i915_buddy_free_list(struct i915_buddy_mm *mm, struct list_head *objects); -int i915_global_buddy_init(void); +void i915_buddy_module_exit(void); +int i915_buddy_module_init(void); #endif |