Matthew Auld <[email protected]> writes:

> 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 <[email protected]>

Reviewed-by: Mika Kuoppala <[email protected]>

> ---
>  drivers/gpu/drm/i915/i915_buddy.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_buddy.c 
> b/drivers/gpu/drm/i915/i915_buddy.c
> index fe1871d7c126..e9d4200ce3bc 100644
> --- 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;
>  }
>  
> -- 
> 2.20.1
>
> _______________________________________________
> Intel-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to