Skip to content

Commit

Permalink
drm/i915: Enable KVMGT for BXT.
Browse files Browse the repository at this point in the history
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 <colin.xu@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
  • Loading branch information
Colin Xu authored and Zhenyu Wang committed Jun 13, 2018
1 parent d71cb71 commit 57c8a48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/i915/intel_gvt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 57c8a48

Please sign in to comment.