drm/i915/gvt: adjust high memory size for default vGPU type
authorZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 5 Jan 2017 02:26:13 +0000 (10:26 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 9 Jan 2017 03:05:56 +0000 (11:05 +0800)
commit888530b57f88f2bc856f181479df732c9622fa22
tree1dd694206202f996e000fb152e82dce6a3176492
parent901a14b721feef1b37cfe6362ee103e135133677
drm/i915/gvt: adjust high memory size for default vGPU type

Previous high mem size initialized for vGPU type was too small which caused
failure for some VMs. This trys to take minimal value of 384MB for each VM and
enlarge default high mem size to make guest driver happy.

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