drm/i915/gvt: fix vgpu type size init
authorZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 13 Jan 2017 07:36:17 +0000 (15:36 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 7 Feb 2017 09:22:01 +0000 (17:22 +0800)
commit2d6ceb8e654a0ce998762b13f0ba2c275220a244
treeedf49f49147090d044a556ad658474238086389b
parent144730256f7a3a8b4cae0150852d0ac3be1a676b
drm/i915/gvt: fix vgpu type size init

As now gvt init after knowing hw resource info, we can determine vGPU
type from machine size instead of pre-defined value.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/vgpu.c