summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_gvt.c
diff options
context:
space:
mode:
authorfred gao <fred.gao@intel.com>2019-01-09 04:21:23 +0300
committerZhenyu Wang <zhenyuw@linux.intel.com>2019-01-10 06:38:34 +0300
commit6c46c2e8c589a85501c3816d15264f3afcc9e023 (patch)
tree36a8105316efeda49c5c5690676848378681eb7b /drivers/gpu/drm/i915/intel_gvt.c
parent5807bb4d8dd640685313ad67218b2fe0770d1d03 (diff)
downloadlinux-6c46c2e8c589a85501c3816d15264f3afcc9e023.tar.xz
drm/i915: Enable gfx virtualization for Coffeelake platform
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_gvt.c')
-rw-r--r--drivers/gpu/drm/i915/intel_gvt.c3
1 files changed, 3 insertions, 0 deletions
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;
}