summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_globals.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2021-07-27 15:10:35 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2021-07-28 18:19:17 +0300
commit64fc7cc71c224cb028107130d7513d964f95ec45 (patch)
treee4cd92b4e00578b26d49e25e5b5c56c1dbb38c46 /drivers/gpu/drm/i915/i915_globals.h
parent210a0f5ce46080e6728e54010d50317fc9e1d969 (diff)
downloadlinux-64fc7cc71c224cb028107130d7513d964f95ec45.tar.xz
drm/i915: move vma 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_vmas to just a slab_vmas. We have to keep i915_drv.h include in i915_globals otherwise there's nothing anymore that pulls in GEM_BUG_ON. 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-9-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/i915/i915_globals.h')
-rw-r--r--drivers/gpu/drm/i915/i915_globals.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_globals.h b/drivers/gpu/drm/i915/i915_globals.h
index 7a57bce1da05..57d2998bba45 100644
--- a/drivers/gpu/drm/i915/i915_globals.h
+++ b/drivers/gpu/drm/i915/i915_globals.h
@@ -22,7 +22,4 @@ void i915_global_register(struct i915_global *global);
int i915_globals_init(void);
void i915_globals_exit(void);
-/* constructors */
-int i915_global_vma_init(void);
-
#endif /* _I915_GLOBALS_H_ */