1. 06 8月, 2020 8 次提交
  2. 31 7月, 2020 1 次提交
  3. 15 6月, 2020 1 次提交
  4. 25 3月, 2020 1 次提交
  5. 24 3月, 2020 4 次提交
  6. 12 3月, 2020 2 次提交
  7. 13 2月, 2020 1 次提交
  8. 15 1月, 2020 3 次提交
  9. 14 11月, 2019 1 次提交
  10. 11 9月, 2019 2 次提交
  11. 15 8月, 2019 2 次提交
    • S
      drm/vmwgfx: drop reminaing users of drmP.h · 6ae8748b
      Sam Ravnborg 提交于
      Drop use of the deprecated drmP.h file from the
      remaining files.
      In several cases the drmP.h include could be removed without
      furter fixes. Other files required a few header files to be added.
      
      In all files divided includes files in blocks and sort them.
      
      v2:
      - fix warning in i386 build wiht HIGHMEM disabled
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Reported-by: kbuild test robot <lkp@intel.com> [warning in i386 build]
      Cc: VMware Graphics <linux-graphics-maintainer@vmware.com>
      Cc: Thomas Hellstrom <thellstrom@vmware.com>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Reviewed-by: NDeepak Rawat <drawat@vmware.com>
      Signed-off-by: NDeepak Rawat <drawat@vmware.com>
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      6ae8748b
    • T
      drm/vmwgfx: Kill unneeded legacy security features · 9c84aeba
      Thomas Hellstrom 提交于
      At one point, the GPU command verifier and user-space handle manager
      couldn't properly protect GPU clients from accessing each other's data.
      Instead there was an elaborate mechanism to make sure only the active
      master's primary clients could render. The other clients were either
      put to sleep or even killed (if the master had exited). VRAM was
      evicted on master switch. With the advent of render-node functionality,
      we relaxed the VRAM eviction, but the other mechanisms stayed in place.
      
      Now that the GPU  command verifier and ttm object manager properly
      isolates primary clients from different master realms we can remove the
      master switch related code and drop those legacy features.
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NDeepak Rawat <drawat@vmware.com>
      9c84aeba
  12. 16 7月, 2019 1 次提交
  13. 26 6月, 2019 3 次提交
  14. 21 6月, 2019 1 次提交
    • D
      drm/prime: Actually remove DRIVER_PRIME everywhere · 0424fdaf
      Daniel Vetter 提交于
      Split out to make the functional changes stick out more.
      
      All places where DRIVER_PRIME was used have been removed in previous
      patches already.
      
      v2: amdgpu gained DRIVER_SYNCOBJ_TIMELINE.
      
      v3: amdgpu lost DRIVER_SYNCOBJ_TIMELINE.
      
      v4: Don't add a space in i915_drv.c (Sam)
      
      v5: Add note that previous patches removed all the DRIVER_PRIME users
      already (Emil).
      
      v6: Fixupe ingenic (new driver) while applying.
      
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Reviewed-by: NEmil Velikov <emil.velikov@collabora.com>
      Reviewed-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: etnaviv@lists.freedesktop.org
      Cc: freedreno@lists.freedesktop.org
      Cc: intel-gfx@lists.freedesktop.org
      Cc: lima@lists.freedesktop.org
      Cc: linux-amlogic@lists.infradead.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-arm-msm@vger.kernel.org
      Cc: linux-aspeed@lists.ozlabs.org
      Cc: linux-renesas-soc@vger.kernel.org
      Cc: linux-rockchip@lists.infradead.org
      Cc: linux-samsung-soc@vger.kernel.org
      Cc: linux-stm32@st-md-mailman.stormreply.com
      Cc: linux-tegra@vger.kernel.org
      Cc: nouveau@lists.freedesktop.org
      Cc: NXP Linux Team <linux-imx@nxp.com>
      Cc: spice-devel@lists.freedesktop.org
      Cc: virtualization@lists.linux-foundation.org
      Cc: VMware Graphics <linux-graphics-maintainer@vmware.com>
      Cc: xen-devel@lists.xenproject.org
      Link: https://patchwork.freedesktop.org/patch/msgid/20190617153924.414-1-daniel.vetter@ffwll.ch
      0424fdaf
  15. 18 6月, 2019 2 次提交
  16. 11 6月, 2019 1 次提交
    • 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
  17. 21 5月, 2019 1 次提交
  18. 25 4月, 2019 1 次提交
    • T
      drm/vmwgfx: Fix dma API layer violation · 81103355
      Thomas Hellstrom 提交于
      Remove the check for IOMMU presence since it was considered a
      layer violation.
      This means we have no reliable way to destinguish between coherent
      hardware IOMMU DMA address translations and incoherent SWIOTLB DMA
      address translations, which we can't handle. So always presume the
      former. This means that if anybody forces SWIOTLB without also setting
      the vmw_force_coherent=1 vmwgfx option, driver operation will fail,
      like it will on most other graphics drivers.
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      81103355
  19. 20 3月, 2019 2 次提交
  20. 05 2月, 2019 2 次提交