1. 19 6月, 2019 6 次提交
  2. 18 6月, 2019 1 次提交
  3. 17 6月, 2019 1 次提交
    • W
      drm/i915/gvt: ignore unexpected pvinfo write · 971afec3
      Weinan Li 提交于
      There is pvinfo writing come from vgpu might be unexpected, like
      writing to one unknown address, GVT-g should do as reserved register
      to discard any invalid write. Now GVT-g lets it write to the vreg
      without prompt error message, should ignore the unexpected pvinfo
      write access and leave the vreg as the default value.
      
      For possible guest query GVT-g host feature, this returned proper
      value instead of wrong guest setting.
      
      v2: ignore unexpected pvinfo write instead of return predefined value
      
      Fixes: e39c5add ("drm/i915/gvt: vGPU MMIO virtualization")
      Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
      Reviewed-by: NZhenyu Wang <zhenyuw@linux.intel.com>
      Signed-off-by: NWeinan Li <weinan.z.li@intel.com>
      Signed-off-by: NZhenyu Wang <zhenyuw@linux.intel.com>
      971afec3
  4. 13 6月, 2019 2 次提交
  5. 12 6月, 2019 8 次提交
  6. 11 6月, 2019 3 次提交
    • Q
      drm/vmwgfx: fix a warning due to missing dma_parms · 39916897
      Qian Cai 提交于
      Booting up with DMA_API_DEBUG_SG=y generates a warning due to the driver
      forgot to set dma_parms appropriately. Set it just after vmw_dma_masks()
      in vmw_driver_load().
      
      DMA-API: vmwgfx 0000:00:0f.0: mapping sg segment longer than device
      claims to support [len=2097152] [max=65536]
      WARNING: CPU: 2 PID: 261 at kernel/dma/debug.c:1232
      debug_dma_map_sg+0x360/0x480
      Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop
      Reference Platform, BIOS 6.00 04/13/2018
      RIP: 0010:debug_dma_map_sg+0x360/0x480
      Call Trace:
       vmw_ttm_map_dma+0x3b1/0x5b0 [vmwgfx]
       vmw_bo_map_dma+0x25/0x30 [vmwgfx]
       vmw_otables_setup+0x2a8/0x750 [vmwgfx]
       vmw_request_device_late+0x78/0xc0 [vmwgfx]
       vmw_request_device+0xee/0x4e0 [vmwgfx]
       vmw_driver_load.cold+0x757/0xd84 [vmwgfx]
       drm_dev_register+0x1ff/0x340 [drm]
       drm_get_pci_dev+0x110/0x290 [drm]
       vmw_probe+0x15/0x20 [vmwgfx]
       local_pci_probe+0x7a/0xc0
       pci_device_probe+0x1b9/0x290
       really_probe+0x1b5/0x630
       driver_probe_device+0xa3/0x1a0
       device_driver_attach+0x94/0xa0
       __driver_attach+0xdd/0x1c0
       bus_for_each_dev+0xfe/0x150
       driver_attach+0x2d/0x40
       bus_add_driver+0x290/0x350
       driver_register+0xdc/0x1d0
       __pci_register_driver+0xda/0xf0
       vmwgfx_init+0x34/0x1000 [vmwgfx]
       do_one_initcall+0xe5/0x40a
       do_init_module+0x10f/0x3a0
       load_module+0x16a5/0x1a40
       __se_sys_finit_module+0x183/0x1c0
       __x64_sys_finit_module+0x43/0x50
       do_syscall_64+0xc8/0x606
       entry_SYSCALL_64_after_hwframe+0x44/0xa9
      
      Fixes: fb1d9738 ("drm/vmwgfx: Add DRM driver for VMware Virtual GPU")
      Co-developed-by: NThomas Hellstrom <thellstrom@vmware.com>
      Signed-off-by: NQian Cai <cai@lca.pw>
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      39916897
    • T
      drm/vmwgfx: Honor the sg list segment size limitation · bde15555
      Thomas Hellstrom 提交于
      When building sg tables, honor the device sg list segment size limitation.
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NDeepak Rawat <drawat@vmware.com>
      bde15555
    • T
      drm/vmwgfx: Use the backdoor port if the HB port is not available · cc0ba0d8
      Thomas Hellstrom 提交于
      The HB port may not be available for various reasons. Either it has been
      disabled by a config option or by the hypervisor for other reasons.
      In that case, make sure we have a backup plan and use the backdoor port
      instead with a performance penalty.
      
      Cc: stable@vger.kernel.org
      Fixes: 89da76fd ("drm/vmwgfx: Add VMWare host messaging capability")
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NDeepak Rawat <drawat@vmware.com>
      cc0ba0d8
  7. 10 6月, 2019 3 次提交
  8. 08 6月, 2019 2 次提交
  9. 07 6月, 2019 10 次提交
  10. 06 6月, 2019 4 次提交