Skip to content

Commit

Permalink
drm/i915: enable vGPU detection for all
Browse files Browse the repository at this point in the history
vGPU capability is handled by GVT-g host driver, not needed to
put extra HW check for vGPU detection. And we'll actually support
vGPU from BDW.

Signed-off-by: Ping Gao <ping.a.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: drm-intel-fixes@lists.freedesktop.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160906040412.1274-2-zhenyuw@linux.intel.com
  • Loading branch information
Ping Gao authored and Jani Nikula committed Sep 6, 2016
1 parent 19eb918 commit 8ef8999
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/gpu/drm/i915/i915_vgpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ void i915_check_vgpu(struct drm_i915_private *dev_priv)

BUILD_BUG_ON(sizeof(struct vgt_if) != VGT_PVINFO_SIZE);

if (!IS_HASWELL(dev_priv))
return;

magic = __raw_i915_read64(dev_priv, vgtif_reg(magic));
if (magic != VGT_MAGIC)
return;
Expand Down

0 comments on commit 8ef8999

Please sign in to comment.