]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Let igt_vma_partial et al breathe
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 Jul 2019 09:58:00 +0000 (10:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 Jul 2019 11:23:43 +0000 (12:23 +0100)
commit0cb27c380d3a8773fd1514bb2485edb55bff16be
treee1223fcfc92966e981366d8f3eacb99ce63146e3
parentdce7587848a27f3b18aa9c2f12907d2bcab55350
drm/i915/selftests: Let igt_vma_partial et al breathe

Give the scheduler a chance to breathe by calling cond_resched() as some
of the loops may take some time on slower machines, and so catch the
attention of the watchdogs.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111196
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Reviewed-by: Matthew Auld <matthew.william.auld@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190723095800.2820-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_vma.c