diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-05-17 13:09:57 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-05-17 13:38:02 +0100 |
commit | 47624cc3301b6033d51b84a1381c2d69fda9b1a0 (patch) | |
tree | b9fd933b5daea615d09b07074edcd38f58e805ec /drivers/gpu/drm/i915/selftests/i915_mock_selftests.h | |
parent | 9310cb7f8dbee342995c1144714218a185e7dd07 (diff) | |
download | blackbird-op-linux-47624cc3301b6033d51b84a1381c2d69fda9b1a0.tar.gz blackbird-op-linux-47624cc3301b6033d51b84a1381c2d69fda9b1a0.zip |
drm/i915: Import the kfence selftests for i915_sw_fence
A long time ago, I wrote some selftests for the struct kfence idea. Now
that we have infrastructure in i915/igt for running kselftests, include
some for i915_sw_fence.
v2: INIT_WORK_ONSTACK/destroy_work_on_stack (Mika)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170517121007.27224-2-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 76c1f149a0a0..fc74687501ba 100644 --- a/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h +++ b/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h @@ -9,6 +9,7 @@ * Tests are executed in order by igt/drv_selftest */ selftest(sanitycheck, i915_mock_sanitycheck) /* keep first (igt selfcheck) */ +selftest(fence, i915_sw_fence_mock_selftests) selftest(scatterlist, scatterlist_mock_selftests) selftest(syncmap, i915_syncmap_mock_selftests) selftest(uncore, intel_uncore_mock_selftests) |