Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | drm/i915: Split batch pool into size buckets | Chris Wilson | 2015-04-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | 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> | ||||
* | drm/i915: Split i915_gem_batch_pool into its own header | Chris Wilson | 2015-04-10 | 1 | -0/+42 |
In the next patch, I want to use the structure elsewhere and so require it defined earlier. Rather than move the definition to an earlier location where it feels very odd, place it in its own header file. 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> |