]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Remove livelock from "do_idle_maps" vtd w/a
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 9 Dec 2020 16:40:06 +0000 (16:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 9 Dec 2020 19:32:51 +0000 (19:32 +0000)
commit63de1da1479968e256123097fe9d153183e5fe6c
tree5efeff5706bbdfdf2f4b245f0a48475ce16dba31
parent338d58cf47a8820a8f0cd3b3b85e2dc304120f5b
drm/i915: Remove livelock from "do_idle_maps" vtd w/a

A call to wait for the GT to idle from inside the put_pages fallback is
prone to cause an uninterruptible livelock. As it does not provide
adequate serialisation with new requests, simply fallback to a trivial
sleep.

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