projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42014f6
)
drm/i915/buddy: add missing call to i915_global_register
author
Matthew Auld
<matthew.auld@intel.com>
Thu, 5 Sep 2019 07:29:21 +0000
(10:29 +0300)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 9 Sep 2019 09:58:20 +0000
(10:58 +0100)
We are meant to register the kmem cache at init, such the supplied exit
and shrink hooks can be called.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link:
https://patchwork.freedesktop.org/patch/msgid/20190905072921.7979-1-matthew.auld@intel.com
drivers/gpu/drm/i915/i915_buddy.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_buddy.c
b/drivers/gpu/drm/i915/i915_buddy.c
index
fe1871d
..
e9d4200
100644
(file)
--- a/
drivers/gpu/drm/i915/i915_buddy.c
+++ b/
drivers/gpu/drm/i915/i915_buddy.c
@@
-38,6
+38,7
@@
int __init i915_global_buddy_init(void)
if (!global.slab_blocks)
return -ENOMEM;
+ i915_global_register(&global.base);
return 0;
}