Skip to content

Commit 135dde8

Browse files
TinaZhangZWzhenyw
authored andcommitted
drm/i915/gvt: Fix dma-buf display blur issue on CFL
Commit c3b5a84 ("drm/i915/gvt: Enable gfx virtualiztion for CFL") added the support on CFL. The vgpu emulation hotplug support on CFL was supposed to be included in that patch. Without the vgpu emulation hotplug support, the dma-buf based display gives us a blur face. So fix this issue by adding the vgpu emulation hotplug support on CFL. Fixes: c3b5a84 ("drm/i915/gvt: Enable gfx virtualiztion for CFL") Signed-off-by: Tina Zhang <[email protected]> Acked-by: Zhenyu Wang <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent a8bb49b commit 135dde8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,8 @@ void intel_vgpu_emulate_hotplug(struct intel_vgpu *vgpu, bool connected)
459459
struct drm_i915_private *dev_priv = vgpu->gvt->dev_priv;
460460

461461
/* TODO: add more platforms support */
462-
if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv)) {
462+
if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv) ||
463+
IS_COFFEELAKE(dev_priv)) {
463464
if (connected) {
464465
vgpu_vreg_t(vgpu, SFUSE_STRAP) |=
465466
SFUSE_STRAP_DDID_DETECTED;

0 commit comments

Comments
 (0)