]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Timeout lowlevel_hole GTT selftest early
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Feb 2017 19:33:15 +0000 (19:33 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Feb 2017 20:30:35 +0000 (20:30 +0000)
commit00d13e20c182757a9d5d82889c7919b9103826df
treef8daca87dfdd4bb17dd758a51e1740446b69b010
parent7f98c9dc9d8caf3215d80cd6655880a6c9474477
drm/i915: Timeout lowlevel_hole GTT selftest early

Check for a timeout in the lowlevel_hole GTT before we allocate state
for that pass, as our cleanup phase stops on the iteration before the
timeout.

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