From 6c46c2e8c589a85501c3816d15264f3afcc9e023 Mon Sep 17 00:00:00 2001 From: fred gao Date: Wed, 9 Jan 2019 09:21:23 +0800 Subject: [PATCH] drm/i915: Enable gfx virtualization for Coffeelake platform Enable gfx virtualization for CFL. Reviewed-by: Zhenyu Wang Signed-off-by: fred gao Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_gvt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_gvt.c b/drivers/gpu/drm/i915/intel_gvt.c index d74e59e22c9d..1d7d26e4cf14 100644 --- a/drivers/gpu/drm/i915/intel_gvt.c +++ b/drivers/gpu/drm/i915/intel_gvt.c @@ -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; } -- 2.30.2