diff options
author | Colin Xu <[email protected]> | 2018-06-11 15:39:40 +0800 |
---|---|---|
committer | Zhenyu Wang <[email protected]> | 2018-06-13 10:57:30 +0800 |
commit | 57c8a484a9cbf1315b5299702d12aef04867eeee (patch) | |
tree | 44e3fb6a68f3a613718c6bb55ee1062706c937de | |
parent | d71cb7129e7cf038ed1444781a50766e486bb2bd (diff) |
drm/i915: Enable KVMGT for BXT.
Enable KVMGT for BXT.
is_supported_device() acting as the gatekeeper of GVT-g init.
If all supported platforms share the same configurations for some
specific feature, platform check will rely on this check only.
Signed-off-by: Colin Xu <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
-rw-r--r-- | drivers/gpu/drm/i915/intel_gvt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_gvt.c b/drivers/gpu/drm/i915/intel_gvt.c index a2fe7c8d4477..a6291f60545b 100644 --- a/drivers/gpu/drm/i915/intel_gvt.c +++ b/drivers/gpu/drm/i915/intel_gvt.c @@ -47,6 +47,8 @@ static bool is_supported_device(struct drm_i915_private *dev_priv) return true; if (IS_KABYLAKE(dev_priv)) return true; + if (IS_BROXTON(dev_priv)) + return true; return false; } |