summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-04-07 16:20:58 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-04-10 10:17:13 +0200
commite20d2ab741b58ad1ac0209f7a4ee930ebb7a43f3 (patch)
tree3e5ae00830aba59049394c0176485cba79e69530 /drivers/gpu/drm/i915/i915_drv.h
parentefab6d8dd158fdccbe6a030f89fbf9ca0a9564e4 (diff)
downloadtalos-op-linux-e20d2ab741b58ad1ac0209f7a4ee930ebb7a43f3.tar.gz
talos-op-linux-e20d2ab741b58ad1ac0209f7a4ee930ebb7a43f3.zip
drm/i915: Use a separate slab for vmas
vma are more frequently allocated than objects and so should equally benefit from having a dedicated slab. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 855eaac9ddd1..b6750751bb93 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1559,6 +1559,7 @@ struct i915_virtual_gpu {
struct drm_i915_private {
struct drm_device *dev;
struct kmem_cache *objects;
+ struct kmem_cache *vmas;
struct kmem_cache *requests;
const struct intel_device_info info;
OpenPOWER on IntegriCloud