drm/i915: Enable gfx virtualization for Coffeelake platform
authorfred gao <fred.gao@intel.com>
Wed, 9 Jan 2019 01:21:23 +0000 (09:21 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 10 Jan 2019 03:38:34 +0000 (11:38 +0800)
Enable gfx virtualization for CFL.

Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: fred gao <fred.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/intel_gvt.c

index d74e59e22c9d10f7b9a7465165d52489322315d3..1d7d26e4cf14f7f2e7d3c4988a354d9d5c82f62b 100644 (file)
@@ -49,6 +49,9 @@ static bool is_supported_device(struct drm_i915_private *dev_priv)
                return true;
        if (IS_BROXTON(dev_priv))
                return true;
+       if (IS_COFFEELAKE(dev_priv))
+               return true;
+
        return false;
 }