]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Ignore most failures during evict-vm
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Dec 2019 11:37:24 +0000 (11:37 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Dec 2019 13:50:39 +0000 (13:50 +0000)
commit8cbbe673a4731c24cb37011292acf946cb10704d
treeb7b44bb6fcd13a681e060de33698dd69fc3485c0
parentf53817e4bd164304c531baac51176f3defc999b7
drm/i915: Ignore most failures during evict-vm

Removing all vma from the VM is best effort -- we only remove all those
ready to be removed, so forgive and VMA that becomes pinned. While
forgiving those that become pinned, also take a second look for any that
became unpinned as we waited.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191205113726.413351-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_evict.c