diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-13 17:15:36 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-13 20:45:50 +0000 |
commit | 6cca22ede8a448d341b3e4565943f54bd8b8dcd0 (patch) | |
tree | ef93c1f8c869118b2a3fe9c89b053b6ce270becf /drivers/gpu/drm/i915/selftests/i915_mock_selftests.h | |
parent | a8fb2bad82b64047d9c6090b859467cacc69e9d2 (diff) | |
download | blackbird-op-linux-6cca22ede8a448d341b3e4565943f54bd8b8dcd0.tar.gz blackbird-op-linux-6cca22ede8a448d341b3e4565943f54bd8b8dcd0.zip |
drm/i915: Add some mock tests for dmabuf interop
Check that we can create both dmabuf and objects from dmabuf.
v2: Cleanups, correct include, fix unpin on dead path and prevent
explosion on dmabuf init failure
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170213171558.20942-25-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_mock_selftests.h')
-rw-r--r-- | drivers/gpu/drm/i915/selftests/i915_mock_selftests.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h b/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h index c61e08de7913..955a4d6ccdaf 100644 --- a/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h +++ b/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h @@ -14,3 +14,4 @@ selftest(uncore, intel_uncore_mock_selftests) selftest(breadcrumbs, intel_breadcrumbs_mock_selftests) selftest(requests, i915_gem_request_mock_selftests) selftest(objects, i915_gem_object_mock_selftests) +selftest(dmabuf, i915_gem_dmabuf_mock_selftests) |