]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commita725d711e8d7bb1eb15cd19b5a2386a66f2e2ef5
treeb7b44bb6fcd13a681e060de33698dd69fc3485c0
parent05975cd9eb8422d11fdcb29b065e5e942ec6b62c
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