Commit 5d7f965e authored by Matthew Auld's avatar Matthew Auld Committed by Chris Wilson
Browse files

drm/i915/buddy: add missing call to i915_global_register



We are meant to register the kmem cache at init, such the supplied exit
and shrink hooks can be called.

Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190905072921.7979-1-matthew.auld@intel.com
parent 42014f69
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ int __init i915_global_buddy_init(void)
	if (!global.slab_blocks)
		return -ENOMEM;

	i915_global_register(&global.base);
	return 0;
}