NVIDIA Tegra Video Decoder driver improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 0 repliesNew
- v24 patches 3 repliesSuperseded
- v14 patches 4 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | staging: media: tegra-vde: Remove BIT() macro from UAPI headerdrivers/ | +2 | 0 replies | |
| 2/4 | staging: media: tegra-vde: Manually pack UAPI structuresdrivers/ drivers/ | +34 | 0 replies | |
| 3/4 | staging: media: tegra-vde: Add IOMMU supportdrivers/ drivers/ drivers/ +3 more | +349 | 0 replies | |
| 4/4 | staging: media: tegra-vde: Defer dmabuf's unmappingdrivers/ drivers/ drivers/ +2 more | +276 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Thierry Reding | Rob Herring |
|---|---|---|
| Series | R-b | |
| 1/4 | ||
| 2/4 | ||
| 3/4 | Inspired-by | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/4] NVIDIA Tegra Video Decoder driver improvements
Hello,
This series cleans up some of minor shortcomings that are caused by checkpatch recommendations that are not very applicable for the driver. Then IOMMU support is added to the driver and now it can handle sparse memory buffers that GPU hands to VDE in a default kernel configuration on Tegra30+.
Changelog:
v3: - Fixed memory leak on driver's module reload. For some reason I
erroneously assumed that IOVA reservations are released on IOVA destruction themselves.
- Corrected PFN's for the last-page's IOVA reservation. We want to reserve the last page, but a page before the last was reserved.
v2: - Fixed use-after-free bug and uninitialized-variable warning that
were reported by smatch and pointed out by Hans Verkuil in the review comment to v1.
- Fixed build failure when CONFIG_ARM_DMA_USE_IOMMU=y and tested this case properly (multi-platform kernel config).
- Made some extra minor changes, prettifying code a tad more.
Dmitry Osipenko (4):
staging: media: tegra-vde: Remove BIT() macro from UAPI header
staging: media: tegra-vde: Manually pack UAPI structures
staging: media: tegra-vde: Add IOMMU support
staging: media: tegra-vde: Defer dmabuf's unmapping
drivers/staging/media/tegra-vde/Kconfig | 1 +
drivers/staging/media/tegra-vde/Makefile | 1 +
.../staging/media/tegra-vde/dmabuf-cache.c | 226 ++++++++++++++++++
drivers/staging/media/tegra-vde/iommu.c | 157 ++++++++++++
drivers/staging/media/tegra-vde/trace.h | 2 +
drivers/staging/media/tegra-vde/uapi.h | 48 ++--
.../media/tegra-vde/{tegra-vde.c => vde.c} | 212 ++++++----------
drivers/staging/media/tegra-vde/vde.h | 107 +++++++++
8 files changed, 591 insertions(+), 163 deletions(-)
create mode 100644 drivers/staging/media/tegra-vde/dmabuf-cache.c
create mode 100644 drivers/staging/media/tegra-vde/iommu.c
rename drivers/staging/media/tegra-vde/{tegra-vde.c => vde.c} (88%)
create mode 100644 drivers/staging/media/tegra-vde/vde.hSignature · 1 line
2.22.0