Skip to content

drm/tegra: Miscellaneous cleanups

Thierry Reding dri-devel linux-tegra oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14gpu: host1x: Do not limit DMA segment sizedrivers/gpu/host1x/bus.c+1 -10 replies
2/14gpu: host1x: Remove gratuitous blank linedrivers/gpu/host1x/intr.c+0 -10 replies
3/14gpu: host1x: Explicitly initialize host1x_info structuresdrivers/gpu/host1x/dev.c+12 -00 replies
4/14gpu: host1x: Request channels for clients, not devicesdrivers/gpu/drm/tegra/gr2d.c drivers/gpu/drm/tegra/gr3d.c drivers/gpu/drm/tegra/vic.c +3 more+12 -100 replies
5/14drm/tegra: Inherit device DMA parameters from host1xdrivers/gpu/drm/tegra/dc.c drivers/gpu/drm/tegra/vic.c+18 -00 replies
6/14drm/tegra: Use DRM_DEBUG_DRIVER for driver messagesdrivers/gpu/drm/tegra/drm.c+4 -40 replies
7/14drm/tegra: vic: Skip stream ID programming without IOMMUdrivers/gpu/drm/tegra/vic.c+5 -30 replies
8/14drm/tegra: vic: Inherit DMA mask from host1xdrivers/gpu/drm/tegra/vic.c+7 -00 replies
9/14drm/tegra: vic: Use common IOMMU attach/detach codedrivers/gpu/drm/tegra/vic.c+8 -190 replies
10/14drm/tegra: Move IOMMU group into host1x clientdrivers/gpu/drm/tegra/dc.c drivers/gpu/drm/tegra/dc.h drivers/gpu/drm/tegra/drm.c +5 more+31 -402 replies
11/14drm/tegra: gem: Rename paddr -> iovadrivers/gpu/drm/tegra/dc.c drivers/gpu/drm/tegra/fb.c drivers/gpu/drm/tegra/gem.c +2 more+16 -160 replies
12/14drm/tegra: gem: Use dma_get_sgtable()drivers/gpu/drm/tegra/gem.c+2 -40 replies
13/14drm/tegra: gem: Always map SG tables for DMA-BUFsdrivers/gpu/drm/tegra/gem.c+3 -30 replies
14/14drm/tegra: gem: Use sg_alloc_table_from_pages()drivers/gpu/drm/tegra/gem.c+2 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/14] drm/tegra: Miscellaneous cleanups

From: Thierry Reding <[email protected]>

Some cleanups and minor improvements, nothing exciting here. However, these prepare the way for some larger rework that will convert explicit IOMMU API usage to the DMA API, which optionally can be backed by an IOMMU.

Thierry

Thierry Reding (14):
gpu: host1x: Do not limit DMA segment size
gpu: host1x: Remove gratuitous blank line
gpu: host1x: Explicitly initialize host1x_info structures
gpu: host1x: Request channels for clients, not devices drm/tegra: Inherit device DMA parameters from host1x drm/tegra: Use DRM_DEBUG_DRIVER for driver messages drm/tegra: vic: Skip stream ID programming without IOMMU drm/tegra: vic: Inherit DMA mask from host1x drm/tegra: vic: Use common IOMMU attach/detach code drm/tegra: Move IOMMU group into host1x client drm/tegra: gem: Rename paddr -> iova
drm/tegra: gem: Use dma_get_sgtable()
drm/tegra: gem: Always map SG tables for DMA-BUFs drm/tegra: gem: Use sg_alloc_table_from_pages()

 drivers/gpu/drm/tegra/dc.c   | 24 +++++++++++------
 drivers/gpu/drm/tegra/dc.h   |  2 --
 drivers/gpu/drm/tegra/drm.c  | 30 ++++++++++-----------
 drivers/gpu/drm/tegra/drm.h  |  6 ++---
 drivers/gpu/drm/tegra/fb.c   |  4 +--
 drivers/gpu/drm/tegra/gem.c  | 37 +++++++++++---------------
 drivers/gpu/drm/tegra/gem.h  |  2 +-
 drivers/gpu/drm/tegra/gr2d.c | 12 ++++-----
 drivers/gpu/drm/tegra/gr3d.c | 12 ++++-----
 drivers/gpu/drm/tegra/hub.c  |  2 +-
 drivers/gpu/drm/tegra/vic.c  | 51 ++++++++++++++++++++----------------
 drivers/gpu/host1x/bus.c     |  2 +-
 drivers/gpu/host1x/channel.c | 13 ++++-----
 drivers/gpu/host1x/channel.h |  1 +
 drivers/gpu/host1x/dev.c     | 12 +++++++++
 drivers/gpu/host1x/intr.c    |  1 -
 include/linux/host1x.h       |  4 ++-
 17 files changed, 114 insertions(+), 101 deletions(-)
Signature · 6 lines
2.23.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel