Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/vmwgfx: fix warning if config intel iommu is off.

Though I'm not really happy with how ugly this code is now.

Signed-off-by: Dave Airlie <airlied@redhat.com>

+2
+2
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
··· 482 482 dev_priv->map_mode = vmw_dma_map_populate; 483 483 #endif 484 484 485 + #ifdef CONFIG_INTEL_IOMMU 485 486 out_fixup: 487 + #endif 486 488 if (dev_priv->map_mode == vmw_dma_map_populate && 487 489 vmw_restrict_iommu) 488 490 dev_priv->map_mode = vmw_dma_map_bind;