]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Tidy batch pool logic
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Apr 2015 15:20:35 +0000 (16:20 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Apr 2015 06:56:04 +0000 (08:56 +0200)
commit8011f67bba4f5a2289ec24b14efa4d46737563b6
tree1f5c9e82c88bad8eafb368b0021860301147d00a
parent72c66dacf65185881be19a5b6ef5b763d1fa3bde
drm/i915: Tidy batch pool logic

Move the madvise logic out of the execbuffer main path into the
relatively rare allocation path, making the execbuffer manipulation less
fragile.

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>
drivers/gpu/drm/i915/i915_cmd_parser.c
drivers/gpu/drm/i915/i915_gem_batch_pool.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c