OSDN Git Service

drm/i915/selftests: Exercise parallel blit operations on a single ctx
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Nov 2019 12:27:05 +0000 (12:27 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Nov 2019 12:41:37 +0000 (12:41 +0000)
commit34485832cb98727fb9ceaf68a51160ad2f942344
treea39e4d802246ff4ce2c746af224c816baddb3af3
parente88866ef02851c88fe95a4bb97820b94b4d46f36
drm/i915/selftests: Exercise parallel blit operations on a single ctx

Make sure that our code is robust enough to handle multiple threads
trying to clear objects for a single client context. This brings the joy
of a shared GGTT to all!

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