diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-13 17:15:28 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-13 20:45:42 +0000 |
commit | 8335fd65ce6c880876ea0f94f427aa2499bcd05a (patch) | |
tree | ada537219f451b010625dc4094e1b44b86f5971b /drivers/gpu/drm/i915/selftests/i915_mock_selftests.h | |
parent | cd3862dc6e89817dbeefa02881400da926ffceeb (diff) | |
download | blackbird-op-linux-8335fd65ce6c880876ea0f94f427aa2499bcd05a.tar.gz blackbird-op-linux-8335fd65ce6c880876ea0f94f427aa2499bcd05a.zip |
drm/i915: Add selftests for object allocation, phys
The phys object is a rarely used device (only very old machines require
a chunk of physically contiguous pages for a few hardware interactions).
As such, it is not exercised by CI and to combat that we want to add a
test that exercises the phys object on all platforms.
v2: Always set err on error paths and not rely on inheriting the err.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170213171558.20942-17-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 bda982404ad3..2ed94e3a71b7 100644 --- a/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h +++ b/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h @@ -12,3 +12,4 @@ selftest(sanitycheck, i915_mock_sanitycheck) /* keep first (igt selfcheck) */ selftest(scatterlist, scatterlist_mock_selftests) selftest(breadcrumbs, intel_breadcrumbs_mock_selftests) selftest(requests, i915_gem_request_mock_selftests) +selftest(objects, i915_gem_object_mock_selftests) |