aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2019-12-02 15:01:09 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2020-01-20 14:30:31 +0800
commit0178f4ce3c3be4d9784c88ed512816eb653a717b (patch)
tree965457dc5156f2e7e83322f66b98a930b173f342
parentdrm/i915/gvt: remove unused type attributes (diff)
downloadwireguard-linux-0178f4ce3c3be4d9784c88ed512816eb653a717b.tar.xz
wireguard-linux-0178f4ce3c3be4d9784c88ed512816eb653a717b.zip
drm/i915/gvt: Enable vfio edid for all GVT supported platform
All GVT supported platform has virtual display which should be able to handle VFIO edid region. Enable this for all supported platform. Cc: Hang Yuan <hang.yuan@linux.intel.com> Cc: Fred Gao <fred.gao@intel.com> Reviewed-by: Hang Yuan <hang.yuan@linux.intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20191202070109.73924-3-zhenyuw@linux.intel.com
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/i915/gvt/vgpu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/gvt/vgpu.c b/drivers/gpu/drm/i915/gvt/vgpu.c
index d5a6e4e3d0fd..79107e630049 100644
--- a/drivers/gpu/drm/i915/gvt/vgpu.c
+++ b/drivers/gpu/drm/i915/gvt/vgpu.c
@@ -426,9 +426,7 @@ static struct intel_vgpu *__intel_gvt_create_vgpu(struct intel_gvt *gvt,
if (ret)
goto out_clean_sched_policy;
- /*TODO: add more platforms support */
- if (IS_SKYLAKE(gvt->dev_priv) || IS_KABYLAKE(gvt->dev_priv))
- ret = intel_gvt_hypervisor_set_edid(vgpu, PORT_D);
+ ret = intel_gvt_hypervisor_set_edid(vgpu, PORT_D);
if (ret)
goto out_clean_sched_policy;