]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: First try a normal large kmalloc for the temporary exec buffers
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Feb 2011 12:54:48 +0000 (12:54 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Feb 2011 15:56:16 +0000 (15:56 +0000)
commit8408c282f0cf34ee166df5f842f2861d245407fd
tree9a533744a3860b45de0f6dd08f2255835971624e
parentfca874092597ef946b8f07031d8c31c58b212144
drm/i915: First try a normal large kmalloc for the temporary exec buffers

As we just need a temporary array whilst performing the relocations for
the execbuffer, first attempt to allocate using kmalloc even if it is
not of order page-0. This avoids the overhead of remapping the
discontiguous array and so gives a moderate boost to execution
throughput.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem_execbuffer.c