drm/i915/gvt: Factor out vGPU workload creation/destroy
authorZhi Wang <zhi.a.wang@intel.com>
Tue, 12 Sep 2017 13:42:09 +0000 (21:42 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 16 Nov 2017 03:46:52 +0000 (11:46 +0800)
commit21527a8dafc40fc499ae57492c1c5d0098cbcf08
tree84a1f9130d6ee2f39fbf882580a95c7951150d1e
parenta34e8def4d9152123582a37a3660c2092e37ceed
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>
drivers/gpu/drm/i915/gvt/execlist.c
drivers/gpu/drm/i915/gvt/scheduler.c
drivers/gpu/drm/i915/gvt/scheduler.h