[PULL] scatterlists related fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dave & Daniel,

Please pull a set of fixes for various DRM drivers that finally resolve
incorrect usage of the scatterlists (struct sg_table nents and orig_nents
entries), what causes issues when IOMMU is used.

Best regards
Marek Szyprowski, PhD
Samsung R&D Institute Poland


The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:

  Linux 5.9-rc1 (2020-08-16 13:04:57 -0700)

are available in the Git repository at:

  https://github.com/mszyprow/linux.git for-5.10-drm-sg-fix

for you to fetch changes up to be0704beb229431f206fee3ddd65fa2c5eebdce3:

  samples: vfio-mdev/mbochs: fix common struct sg_table related issues (2020-09-10 08:19:46 +0200)

----------------------------------------------------------------
Marek Szyprowski (26):
      drm: prime: add common helper to check scatterlist contiguity
      drm: prime: use sgtable iterators in drm_prime_sg_to_page_addr_arrays()
      drm: core: fix common struct sg_table related issues
      drm: armada: fix common struct sg_table related issues
      drm: etnaviv: fix common struct sg_table related issues
      drm: exynos: use common helper for a scatterlist contiguity check
      drm: exynos: fix common struct sg_table related issues
      drm: i915: fix common struct sg_table related issues
      drm: lima: fix common struct sg_table related issues
      drm: mediatek: use common helper for a scatterlist contiguity check
      drm: mediatek: use common helper for extracting pages array
      drm: msm: fix common struct sg_table related issues
      drm: omapdrm: use common helper for extracting pages array
      drm: panfrost: fix common struct sg_table related issues
      drm: rockchip: use common helper for a scatterlist contiguity check
      drm: rockchip: fix common struct sg_table related issues
      drm: tegra: fix common struct sg_table related issues
      drm: v3d: fix common struct sg_table related issues
      drm: virtio: fix common struct sg_table related issues
      drm: vmwgfx: fix common struct sg_table related issues
      drm: xen: fix common struct sg_table related issues
      xen: gntdev: fix common struct sg_table related issues
      drm: host1x: fix common struct sg_table related issues
      drm: rcar-du: fix common struct sg_table related issues
      dmabuf: fix common struct sg_table related issues
      samples: vfio-mdev/mbochs: fix common struct sg_table related issues

 drivers/dma-buf/heaps/heap-helpers.c             | 13 ++--
 drivers/dma-buf/udmabuf.c                        |  7 +-
 drivers/gpu/drm/armada/armada_gem.c              | 24 +++----
 drivers/gpu/drm/drm_cache.c                      |  2 +-
 drivers/gpu/drm/drm_gem_cma_helper.c             | 23 +-----
 drivers/gpu/drm/drm_gem_shmem_helper.c           | 14 ++--
 drivers/gpu/drm/drm_prime.c                      | 91 ++++++++++++++----------
 drivers/gpu/drm/etnaviv/etnaviv_gem.c            | 12 ++--
 drivers/gpu/drm/etnaviv/etnaviv_mmu.c            | 15 ++--
 drivers/gpu/drm/exynos/exynos_drm_g2d.c          | 10 +--
 drivers/gpu/drm/exynos/exynos_drm_gem.c          | 23 +-----
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c       | 11 +--
 drivers/gpu/drm/i915/gem/selftests/mock_dmabuf.c |  7 +-
 drivers/gpu/drm/lima/lima_gem.c                  | 11 ++-
 drivers/gpu/drm/lima/lima_vm.c                   |  5 +-
 drivers/gpu/drm/mediatek/mtk_drm_gem.c           | 37 +++-------
 drivers/gpu/drm/msm/msm_gem.c                    | 13 ++--
 drivers/gpu/drm/msm/msm_gpummu.c                 | 15 ++--
 drivers/gpu/drm/msm/msm_iommu.c                  |  2 +-
 drivers/gpu/drm/omapdrm/omap_gem.c               | 14 ++--
 drivers/gpu/drm/panfrost/panfrost_gem.c          |  4 +-
 drivers/gpu/drm/panfrost/panfrost_mmu.c          |  7 +-
 drivers/gpu/drm/rcar-du/rcar_du_vsp.c            |  3 +-
 drivers/gpu/drm/rockchip/rockchip_drm_gem.c      | 42 +++--------
 drivers/gpu/drm/tegra/gem.c                      | 27 +++----
 drivers/gpu/drm/tegra/plane.c                    | 15 ++--
 drivers/gpu/drm/v3d/v3d_mmu.c                    | 13 ++--
 drivers/gpu/drm/virtio/virtgpu_object.c          | 36 ++++++----
 drivers/gpu/drm/virtio/virtgpu_vq.c              | 12 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c       | 17 ++---
 drivers/gpu/drm/xen/xen_drm_front_gem.c          |  2 +-
 drivers/gpu/host1x/job.c                         | 22 +++---
 drivers/media/platform/vsp1/vsp1_drm.c           |  8 +--
 drivers/xen/gntdev-dmabuf.c                      | 13 ++--
 include/drm/drm_prime.h                          |  2 +
 samples/vfio-mdev/mbochs.c                       |  3 +-
 36 files changed, 234 insertions(+), 341 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux