drm/i915/gvt: Refactor vGPU type code in kvmgt part
authorfred gao <fred.gao@intel.com>
Thu, 28 Sep 2017 03:03:03 +0000 (11:03 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 16 Nov 2017 03:48:20 +0000 (11:48 +0800)
commit6aa23ced915f94e23cd7bc3c1d005e39ef39bb2b
treeaba5f7f462ee9b567dd8d6537bc69e9e1eb89257
parentc5d71cb31723135dbaa54b32bf046342fe538210
drm/i915/gvt: Refactor vGPU type code in kvmgt part

all the vGPU type related code in kvmgt will be moved into
gvt.c/gvt.h files while the common vGPU type related interfaces
will be called.

v2:
- intel_gvt_{init,cleanup}_vgpu_type_groups are initialized in
  gvt part. (Wang, Zhi)

Signed-off-by: fred gao <fred.gao@intel.com>
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
drivers/gpu/drm/i915/gvt/kvmgt.c