diff options
author | Ping Gao <ping.a.gao@intel.com> | 2016-09-06 06:04:11 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-09-06 15:39:36 +0200 |
commit | 8ef89995c735f978d5dfcb3ca6bce70d41728c91 (patch) | |
tree | fe5c1178d96574209092c09f96c2c6b951018f0c /drivers/gpu/drm/i915/i915_vgpu.c | |
parent | drm/i915: Don't wait for a spinlock inside error capture (diff) | |
download | linux-8ef89995c735f978d5dfcb3ca6bce70d41728c91.tar.xz linux-8ef89995c735f978d5dfcb3ca6bce70d41728c91.zip |
drm/i915: enable vGPU detection for all
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
Diffstat (limited to 'drivers/gpu/drm/i915/i915_vgpu.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_vgpu.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_vgpu.c b/drivers/gpu/drm/i915/i915_vgpu.c index 142bac976919..38f805e689d8 100644 --- a/drivers/gpu/drm/i915/i915_vgpu.c +++ b/drivers/gpu/drm/i915/i915_vgpu.c @@ -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; |