aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_request.h
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2021-07-27 12:10:33 +0000
committerDaniel Vetter <[email protected]>2021-07-28 15:05:17 +0000
commit47514ac752efdf4ff3ca1edeed8a811dc56a082c (patch)
tree7aa9c7dd54758c664570ea16dcf248b3e9fab2d1 /drivers/gpu/drm/i915/i915_request.h
parentdrm/i915: move gem_objects slab to direct module init/exit (diff)
downloadkernel-47514ac752efdf4ff3ca1edeed8a811dc56a082c.tar.gz
kernel-47514ac752efdf4ff3ca1edeed8a811dc56a082c.zip
drm/i915: move request slabs 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_requests|execute_cbs to just a slab_requests|execute_cbs. v2: Make slab static (Jason, 0day) Reviewed-by: Jason Ekstrand <[email protected]> Cc: Jason Ekstrand <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.h')
-rw-r--r--drivers/gpu/drm/i915/i915_request.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_request.h b/drivers/gpu/drm/i915/i915_request.h
index e6a0e0ebc9aa..1bc1349ba3c2 100644
--- a/drivers/gpu/drm/i915/i915_request.h
+++ b/drivers/gpu/drm/i915/i915_request.h
@@ -668,4 +668,7 @@ enum i915_request_state {
enum i915_request_state i915_test_request_state(struct i915_request *rq);
+void i915_request_module_exit(void);
+int i915_request_module_init(void);
+
#endif /* I915_REQUEST_H */