]> 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)
commit72d5610dc5e2cbd877005b188718e374776a53b1
tree1e67f8905476cbffa62758d2b97a6edcef52bd7b
parentc45fc8aaf9f97e1cd7503012b6cd72ef80e5d1db
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: 1d5bd6b13297 ("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