diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-13 17:15:19 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-13 20:45:31 +0000 |
commit | 0daf0113cff6884ed947ffe0870a926e73d52f79 (patch) | |
tree | a0c55bcbb2b76fdbc4d1cd3707c622386b4d7eda /drivers/gpu/drm/i915/selftests/mock_gem_device.h | |
parent | 3b5bb0a37665ce1efaf3b9a551c945c09a726504 (diff) | |
download | talos-op-linux-0daf0113cff6884ed947ffe0870a926e73d52f79.tar.gz talos-op-linux-0daf0113cff6884ed947ffe0870a926e73d52f79.zip |
drm/i915: Mock infrastructure for request emission
Create a fake engine that runs requests using a timer to simulate hw.
v2: Prevent leaks of ctx->name along error paths
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-8-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/mock_gem_device.h')
-rw-r--r-- | drivers/gpu/drm/i915/selftests/mock_gem_device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/selftests/mock_gem_device.h b/drivers/gpu/drm/i915/selftests/mock_gem_device.h index c557e33c3953..4cca4d57f52c 100644 --- a/drivers/gpu/drm/i915/selftests/mock_gem_device.h +++ b/drivers/gpu/drm/i915/selftests/mock_gem_device.h @@ -4,5 +4,6 @@ struct drm_i915_private; struct drm_i915_private *mock_gem_device(void); +void mock_device_flush(struct drm_i915_private *i915); #endif /* !__MOCK_GEM_DEVICE_H__ */ |