mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-21 18:14:48 +08:00
0daf0113cf
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
10 lines
227 B
C
10 lines
227 B
C
#ifndef __MOCK_GEM_DEVICE_H__
|
|
#define __MOCK_GEM_DEVICE_H__
|
|
|
|
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__ */
|