From: Colin Xu Date: Mon, 11 Jun 2018 07:39:40 +0000 (+0800) Subject: drm/i915: Enable KVMGT for BXT. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=57c8a484a9cbf1315b5299702d12aef04867eeee;p=linux.git drm/i915: Enable KVMGT for BXT. Enable KVMGT for BXT. is_supported_device() acting as the gatekeeper of GVT-g init. If all supported platforms share the same configurations for some specific feature, platform check will rely on this check only. Signed-off-by: Colin Xu Signed-off-by: Zhenyu Wang --- diff --git a/drivers/gpu/drm/i915/intel_gvt.c b/drivers/gpu/drm/i915/intel_gvt.c index a2fe7c8d44775..a6291f60545bf 100644 --- a/drivers/gpu/drm/i915/intel_gvt.c +++ b/drivers/gpu/drm/i915/intel_gvt.c @@ -47,6 +47,8 @@ static bool is_supported_device(struct drm_i915_private *dev_priv) return true; if (IS_KABYLAKE(dev_priv)) return true; + if (IS_BROXTON(dev_priv)) + return true; return false; }