diff options
author | Zhi Wang <zhi.a.wang@intel.com> | 2017-09-12 16:42:09 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-11-16 06:46:52 +0300 |
commit | 21527a8dafc40fc499ae57492c1c5d0098cbcf08 (patch) | |
tree | 84a1f9130d6ee2f39fbf882580a95c7951150d1e /drivers/gpu/drm/i915/gvt/scheduler.h | |
parent | a34e8def4d9152123582a37a3660c2092e37ceed (diff) | |
download | linux-21527a8dafc40fc499ae57492c1c5d0098cbcf08.tar.xz |
drm/i915/gvt: Factor out vGPU workload creation/destroy
Factor out vGPU workload creation/destroy functions since they are not
specific to execlist emulation.
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/scheduler.h')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/scheduler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/scheduler.h b/drivers/gpu/drm/i915/gvt/scheduler.h index 3ca0087f10b2..3fe4702cda06 100644 --- a/drivers/gpu/drm/i915/gvt/scheduler.h +++ b/drivers/gpu/drm/i915/gvt/scheduler.h @@ -141,5 +141,10 @@ int intel_vgpu_setup_submission(struct intel_vgpu *vgpu); void intel_vgpu_clean_submission(struct intel_vgpu *vgpu); +struct intel_vgpu_workload * +intel_vgpu_create_workload(struct intel_vgpu *vgpu); + +void intel_vgpu_destroy_workload(struct intel_vgpu_workload *workload); + void release_shadow_wa_ctx(struct intel_shadow_wa_ctx *wa_ctx); #endif |