drm/i915: Enable platform support for vGPU huge gtt pages
authorChangbin Du <changbin.du@intel.com>
Tue, 15 May 2018 02:35:46 +0000 (10:35 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 9 Jul 2018 02:35:19 +0000 (10:35 +0800)
commitaa36ed6d9536ad694995340264b69d57b01da7d3
treecbe6e822045514767d7c04e0f645e884f5c01cdf
parent80e76ea631de6e14c2c436b278ee0c6871227606
drm/i915: Enable platform support for vGPU huge gtt pages

Now GVTg supports shadowing both 2M/64K huge gtt pages. So let's turn on
the cap info bit VGT_CAPS_HUGE_GTT.

v2: Split changes in i915 side into a separated patch.

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