From: Thierry Reding <thierry.reding@gmail.com>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: linux-tegra@vger.kernel.org, Sachin Nikam <snikam@nvidia.com>,
dri-devel@lists.freedesktop.org,
Puneet Saxena <puneets@nvidia.com>
Subject: [PATCH 00/12] drm/tegra: Support IOMMU-backed DMA API
Date: Mon, 28 Oct 2019 13:37:06 +0100 [thread overview]
Message-ID: <20191028123718.3890217-1-thierry.reding@gmail.com> (raw)
From: Thierry Reding <treding@nvidia.com>
This series is a continuation of the work to move host1x and Tegra DRM
towards being able to use the IOMMU-backed DMA API.
The first two patches are required to workaround the shortage of IOMMU
domains on older Tegra SoC generations. The remainder of the patches is
mostly preparatory work to smoothen the transition to the DMA API. With
all of these patches applied, it's possible for the drivers to either
use the IOMMU API explicitly, or, if already attached to an DMA IOMMU
domain, continue to use that existing mapping with the DMA API.
These patches apply on top of linux-next and the ->load()/->unload()
removal patch from here:
https://patchwork.freedesktop.org/patch/337896/
Thierry
Thierry Reding (12):
memory: tegra: Add gr2d and gr3d to DRM IOMMU group
drm/tegra: Simplify IOMMU group selection
gpu: host1x: Overhaul host1x_bo_{pin,unpin}() API
gpu: host1x: Clean up debugfs on removal
gpu: host1x: Add direction flags to relocations
gpu: host1x: Allocate gather copy for host1x
gpu: host1x: Support DMA mapping of buffers
gpu: host1x: Set DMA mask based on IOMMU setup
drm/tegra: Remove memory allocation from Falcon library
drm/tegra: falcon: Clarify address usage
drm/tegra: Support DMA API for display controllers
drm/tegra: Optionally attach clients to the IOMMU
drivers/gpu/drm/tegra/dc.c | 10 +-
drivers/gpu/drm/tegra/drm.c | 82 ++++++++----
drivers/gpu/drm/tegra/drm.h | 4 +-
drivers/gpu/drm/tegra/falcon.c | 64 ++-------
drivers/gpu/drm/tegra/falcon.h | 16 +--
drivers/gpu/drm/tegra/gem.c | 46 ++++++-
drivers/gpu/drm/tegra/gr2d.c | 2 +-
drivers/gpu/drm/tegra/gr3d.c | 2 +-
drivers/gpu/drm/tegra/hub.c | 6 +-
drivers/gpu/drm/tegra/plane.c | 104 +++++++++++++++
drivers/gpu/drm/tegra/plane.h | 8 ++
drivers/gpu/drm/tegra/vic.c | 91 ++++++++-----
drivers/gpu/host1x/dev.c | 223 +++++++++++++++++++-------------
drivers/gpu/host1x/dev.h | 1 +
drivers/gpu/host1x/job.c | 91 +++++++++++--
drivers/gpu/host1x/job.h | 4 +
drivers/memory/tegra/tegra114.c | 10 +-
drivers/memory/tegra/tegra124.c | 8 +-
drivers/memory/tegra/tegra30.c | 11 +-
include/linux/host1x.h | 21 ++-
20 files changed, 552 insertions(+), 252 deletions(-)
--
2.23.0
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2019-10-28 12:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-28 12:37 Thierry Reding [this message]
2019-10-28 12:37 ` [PATCH 01/12] memory: tegra: Add gr2d and gr3d to DRM IOMMU group Thierry Reding
2019-10-30 15:05 ` Dmitry Osipenko
2019-11-01 9:56 ` Thierry Reding
2019-10-28 12:37 ` [PATCH 02/12] drm/tegra: Simplify IOMMU group selection Thierry Reding
2019-10-28 12:37 ` [PATCH 03/12] gpu: host1x: Overhaul host1x_bo_{pin,unpin}() API Thierry Reding
2019-10-28 12:37 ` [PATCH 04/12] gpu: host1x: Clean up debugfs on removal Thierry Reding
2019-10-28 12:37 ` [PATCH 05/12] gpu: host1x: Add direction flags to relocations Thierry Reding
2019-10-28 12:37 ` [PATCH 06/12] gpu: host1x: Allocate gather copy for host1x Thierry Reding
2019-10-28 12:37 ` [PATCH 07/12] gpu: host1x: Support DMA mapping of buffers Thierry Reding
2019-10-28 12:37 ` [PATCH 08/12] gpu: host1x: Set DMA mask based on IOMMU setup Thierry Reding
2019-10-28 12:37 ` [PATCH 09/12] drm/tegra: Remove memory allocation from Falcon library Thierry Reding
2019-10-28 12:37 ` [PATCH 10/12] drm/tegra: falcon: Clarify address usage Thierry Reding
2019-10-28 12:37 ` [PATCH 11/12] drm/tegra: Support DMA API for display controllers Thierry Reding
2019-10-28 12:37 ` [PATCH 12/12] drm/tegra: Optionally attach clients to the IOMMU Thierry Reding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191028123718.3890217-1-thierry.reding@gmail.com \
--to=thierry.reding@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-tegra@vger.kernel.org \
--cc=puneets@nvidia.com \
--cc=snikam@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).