summaryrefslogtreecommitdiff
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:38 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-04-10 08:56:05 +0200
commit8d9d5744c6bc861dbd379fee6dd5633a62f85be4 (patch)
tree1ede623cf5826398288ef4a28b9f8f4798c884e9 /drivers/gpu/drm/i915/i915_drv.h
parent35c94185c56de950110a09efd5d176292a21360b (diff)
downloadlwn-8d9d5744c6bc861dbd379fee6dd5633a62f85be4.tar.gz
lwn-8d9d5744c6bc861dbd379fee6dd5633a62f85be4.zip
drm/i915: Split batch pool into size buckets
Now with the trimmed memcpy before the command parser, we try to allocate many different sizes of batches, predominantly one or two pages. We can therefore speed up searching for a good sized batch by keeping the objects of buckets of roughly the same size. v2: Add a comment about bucket sizes Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index c839b5771a83..6e0a0ae34a3f 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1910,7 +1910,7 @@ struct drm_i915_gem_object {
/** Used in execbuf to temporarily hold a ref */
struct list_head obj_exec_link;
- struct list_head batch_pool_list;
+ struct list_head batch_pool_link;
/**
* This is set if the object is on the active lists (has pending