[v2,6/6] drm/i915: Enable gfx virtualization for Coffeelake platform

Submitted by fred gao on Jan. 9, 2019, 1:21 a.m.

Details

Message ID 20190109012123.2361-1-fred.gao@intel.com
State New
Series "Series without cover letter"
Headers show

Commit Message

fred gao Jan. 9, 2019, 1:21 a.m.
Enable gfx virtualization for CFL.

Signed-off-by: fred gao <fred.gao@intel.com>
---
 drivers/gpu/drm/i915/intel_gvt.c | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

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;
 }