projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5bd853
)
drm/i915/gvt: Enable vfio edid for all GVT supported platform
author
Zhenyu Wang
<zhenyuw@linux.intel.com>
Mon, 2 Dec 2019 07:01:09 +0000
(15:01 +0800)
committer
Zhenyu Wang
<zhenyuw@linux.intel.com>
Mon, 20 Jan 2020 06:30:31 +0000
(14:30 +0800)
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
drivers/gpu/drm/i915/gvt/vgpu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/gvt/vgpu.c
b/drivers/gpu/drm/i915/gvt/vgpu.c
index d5a6e4e3d0fd7a10f6685d5e8b0365c915eb12fa..79107e630049569b7da72574bd5d387d9d57b12d 100644
(file)
--- 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;