diff options
author | Zhi Wang <zhi.a.wang@intel.com> | 2017-09-13 01:41:35 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-11-16 11:48:19 +0800 |
commit | 06bb372f9ace47296aeaaca8e130d948ea2855cf (patch) | |
tree | 6282a0cc3a1a214f514b15fa2804d3f91f3a9774 /drivers/gpu/drm/i915/gvt/gvt.h | |
parent | ad1d36369b07f6b9db81897802ee5d8764eaa922 (diff) | |
download | linux-06bb372f9ace47296aeaaca8e130d948ea2855cf.tar.bz2 |
drm/i915/gvt: Introduce intel_vgpu_reset_submission
Introduce an generic API to reset vGPU virtual submission interface.
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/gvt.h')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/gvt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/gvt.h b/drivers/gpu/drm/i915/gvt/gvt.h index 1be41505c4ba..b7253d7daf72 100644 --- a/drivers/gpu/drm/i915/gvt/gvt.h +++ b/drivers/gpu/drm/i915/gvt/gvt.h @@ -151,6 +151,7 @@ struct intel_vgpu_submission_ops { const char *name; int (*init)(struct intel_vgpu *vgpu); void (*clean)(struct intel_vgpu *vgpu); + void (*reset)(struct intel_vgpu *vgpu, unsigned long engine_mask); }; struct intel_vgpu_submission { |