drm/i915: Enable KVMGT for BXT.
authorColin Xu <colin.xu@intel.com>
Mon, 11 Jun 2018 07:39:40 +0000 (15:39 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 13 Jun 2018 02:57:30 +0000 (10:57 +0800)
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 <colin.xu@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/intel_gvt.c

index a2fe7c8d44775e06e4e4168336f250c4be02bfa2..a6291f60545bfbaf9211b405714e60a529e4cdc3 100644 (file)
@@ -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;
 }