]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Drain freed objects for mmap space exhaustion
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jan 2017 15:22:40 +0000 (15:22 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jan 2017 16:54:47 +0000 (16:54 +0000)
commite23077f678197c1c66c883e2cc0cc8608885ceec
tree1e67f8905476cbffa62758d2b97a6edcef52bd7b
parent65a51bfade1a7f56dcb6a40b25be2b95ef7770a0
drm/i915: Drain freed objects for mmap space exhaustion

As we now use a deferred free queue for objects, simply retiring the
active objects is not enough to immediately free them and recover their
mmap space - we must now also drain the freed object list.

Fixes: 254199ca8f79 ("drm/i915: Move object release to a freelist + worker"
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: <drm-intel-fixes@lists.freedesktop.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170106152240.5793-3-chris@chris-wilson.co.uk
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/i915_gem.c