OSDN Git Service

drm/i915: Add a live dmabuf selftest
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:37 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:45:51 +0000 (20:45 +0000)
commitced01afdf672d6ceab71f14e0aefb79b914ddd34
treed49360cceb1492610e704b8fe1bd9d2e52fc3e41
parent6cca22ede8a448d341b3e4565943f54bd8b8dcd0
drm/i915: Add a live dmabuf selftest

Though we have good coverage of our dmabuf interface through the mock
tests, we also want to check the heavy module unload paths of the live
i915 driver.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170213171558.20942-26-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_dmabuf.c
drivers/gpu/drm/i915/selftests/i915_live_selftests.h