Skip to content

Commit 0178f4c

Browse files
committed
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 <[email protected]> Cc: Fred Gao <[email protected]> Reviewed-by: Hang Yuan <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent c5bd853 commit 0178f4c

File tree

1 file changed

+1
-3
lines changed
  • drivers/gpu/drm/i915/gvt

1 file changed

+1
-3
lines changed

drivers/gpu/drm/i915/gvt/vgpu.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,7 @@ static struct intel_vgpu *__intel_gvt_create_vgpu(struct intel_gvt *gvt,
426426
if (ret)
427427
goto out_clean_sched_policy;
428428

429-
/*TODO: add more platforms support */
430-
if (IS_SKYLAKE(gvt->dev_priv) || IS_KABYLAKE(gvt->dev_priv))
431-
ret = intel_gvt_hypervisor_set_edid(vgpu, PORT_D);
429+
ret = intel_gvt_hypervisor_set_edid(vgpu, PORT_D);
432430
if (ret)
433431
goto out_clean_sched_policy;
434432

0 commit comments

Comments
 (0)