Skip to content

Commit 259170c

Browse files
TinaZhangZWjnikula
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] (cherry picked from commit 135dde8) Signed-off-by: Jani Nikula <[email protected]>
1 parent c951b0a commit 259170c

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
@@ -457,7 +457,8 @@ void intel_vgpu_emulate_hotplug(struct intel_vgpu *vgpu, bool connected)
457457
struct drm_i915_private *dev_priv = vgpu->gvt->dev_priv;
458458

459459
/* TODO: add more platforms support */
460-
if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv)) {
460+
if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv) ||
461+
IS_COFFEELAKE(dev_priv)) {
461462
if (connected) {
462463
vgpu_vreg_t(vgpu, SFUSE_STRAP) |=
463464
SFUSE_STRAP_DDID_DETECTED;

0 commit comments

Comments
 (0)