drm/i915/gvt: Turn on KBL platform support.
authorXu Han <xu.han@intel.com>
Wed, 29 Mar 2017 02:14:00 +0000 (10:14 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 29 Mar 2017 07:28:51 +0000 (15:28 +0800)
Turn on KBL WS platform support in gvt-g. More platforms would be
enabled, after validate.

Signed-off-by: Xu Han <xu.han@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/intel_gvt.c

index 8c04eca84351cbbe5d7f385fd6d262f40a080a28..e1ab6432a91464d1ed19c4fee4336c780532ac68 100644 (file)
@@ -45,6 +45,8 @@ static bool is_supported_device(struct drm_i915_private *dev_priv)
                return true;
        if (IS_SKYLAKE(dev_priv))
                return true;
+       if (IS_KABYLAKE(dev_priv) && INTEL_DEVID(dev_priv) == 0x591D)
+               return true;
        return false;
 }