Skip to content

Update Tegra support

Thierry Reding dri-devel linux-tegra 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest25 patches 14 repliesIn review
  2. v125 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- implement vic_clear() as a helper using ->fill() (Michał Mirosław)
- rebase and fix a couple of Meson errors/warnings

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25tegra: Indent according to .editorconfigtegra/private.h tegra/tegra.c tegra/tegra.h +1 more+217 -2130 replies
2/25tegra: Remove unused IOCTL implementationstegra/tegra-symbols.txt tegra/tegra.c tegra/tegra.h+0 -1111 reply
3/25tegra: Extract common buffer object allocation codetegra/tegra.c+22 -130 replies
4/25tegra: Fix mmap() of GEM buffer objectstegra/private.h tegra/tegra.c+3 -30 replies
5/25tegra: Add flink helperstegra/tegra-symbols.txt tegra/tegra.c tegra/tegra.h+55 -01 reply
6/25tegra: Add PRIME support helperstegra/tegra-symbols.txt tegra/tegra.c tegra/tegra.h+67 -00 replies
7/25tegra: Make API more consistenttegra/tegra.c tegra/tegra.h tests/tegra/openclose.c+13 -121 reply
8/25tegra: Install tegra-openclose testtests/tegra/.gitignore tests/tegra/meson.build+6 -30 replies
9/25tegra: Update for new UABIinclude/drm/tegra_drm.h+404 -250 replies
10/25tegra: Include private.h in list of source filestegra/meson.build+6 -10 replies
11/25tegra: Add channel APIstegra/channel.c tegra/meson.build tegra/private.h +2 more+247 -10 replies
12/25tegra: Add job and push buffer APIstegra/job.c tegra/meson.build tegra/private.h +3 more+374 -10 replies
13/25tegra: Add syncpoint APIstegra/job.c tegra/meson.build tegra/private.h +4 more+201 -10 replies
14/25tests: tegra: Add helper library for teststests/tegra/drm-test.c tests/tegra/drm-test.h tests/tegra/meson.build+327 -00 replies
15/25tests: tegra: Add gr2d-fill testtests/tegra/.gitignore tests/tegra/drm-test-tegra.c tests/tegra/drm-test-tegra.h +2 more+368 -00 replies
16/25tests: tegra: Add syncpt-wait testtests/tegra/meson.build tests/tegra/syncpt-wait.c+160 -00 replies
17/25tests: tegra: Add syncpoint timeout testtests/tegra/meson.build tests/tegra/syncpt-timeout.c+172 -00 replies
18/25tests: tegra: Add VIC supporttests/tegra/host1x.h tests/tegra/meson.build tests/tegra/vic.c +1 more+376 -00 replies
19/25tests: tegra: Add VIC 3.0 supporttegra/private.h tests/tegra/meson.build tests/tegra/vic.c +2 more+911 -20 replies
20/25tests: tegra: Add VIC 4.0 supporttests/tegra/meson.build tests/tegra/vic.c tests/tegra/vic40.c +1 more+664 -03 replies
21/25tests: tegra: Add VIC 4.1 supporttests/tegra/meson.build tests/tegra/vic.c tests/tegra/vic41.c +1 more+755 -00 replies
22/25tests: tegra: Add VIC 4.2 supporttests/tegra/meson.build tests/tegra/vic.c tests/tegra/vic42.c +1 more+980 -00 replies
23/25tests: tegra: Add VIC clear testtests/tegra/meson.build tests/tegra/vic-clear.c+182 -00 replies
24/25tests: tegra: Add VIC blit testtests/tegra/meson.build tests/tegra/vic-blit.c+342 -00 replies
25/25tests: tegra: Add VIC flip testtests/tegra/meson.build tests/tegra/vic-flip.c+342 -00 replies

Reviews trailers per patch

None of the 25 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMikko Perttunen
SeriesR-b
1/25
2/25
3/25
4/25
5/25
6/25
7/25
8/25
9/25
10/25
11/25
12/25
13/25
14/25
15/25
16/25
17/25
18/25
19/25
20/25
21/25
22/25
23/25
24/25
25/25

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH libdrm v2 00/25] Update Tegra support

From: Thierry Reding <[email protected]>

Hi all,

this is the userspace part of the kernel patches that were recently merged into drm-next:

https://patchwork.freedesktop.org/series/92378/

The goal is to provide a userspace implementation of the UAPI exposed by the kernel and show its usage in some test programs that can also be used for basic sanity testing. More complete userspace implementations are available here:

* https://github.com/cyndis/vaapi-tegra-driver
* https://github.com/grate-driver/xf86-video-opentegra
* https://github.com/grate-driver/grate

Changes in v2:
- implement vic_clear() as a helper using ->fill() (Michał Mirosław)
- rebase and fix a couple of Meson errors/warnings

Thierry

Thierry Reding (25):
tegra: Indent according to .editorconfig
tegra: Remove unused IOCTL implementations
tegra: Extract common buffer object allocation code
tegra: Fix mmap() of GEM buffer objects
tegra: Add flink helpers
tegra: Add PRIME support helpers
tegra: Make API more consistent
tegra: Install tegra-openclose test
tegra: Update for new UABI
tegra: Include private.h in list of source files
tegra: Add channel APIs
tegra: Add job and push buffer APIs
tegra: Add syncpoint APIs
tests: tegra: Add helper library for tests
tests: tegra: Add gr2d-fill test
tests: tegra: Add syncpt-wait test
tests: tegra: Add syncpoint timeout test
tests: tegra: Add VIC support
tests: tegra: Add VIC 3.0 support
tests: tegra: Add VIC 4.0 support
tests: tegra: Add VIC 4.1 support
tests: tegra: Add VIC 4.2 support
tests: tegra: Add VIC clear test
tests: tegra: Add VIC blit test
tests: tegra: Add VIC flip test

 include/drm/tegra_drm.h      | 429 +++++++++++++++++++++++--
 tegra/channel.c              | 195 ++++++++++++
 tegra/job.c                  | 187 +++++++++++
 tegra/meson.build            |   7 +-
 tegra/private.h              |  85 ++++-
 tegra/pushbuf.c              | 184 +++++++++++
 tegra/syncpt.c               | 101 ++++++
 tegra/tegra-symbols.txt      |  27 +-
 tegra/tegra.c                | 386 +++++++++++-----------
 tegra/tegra.h                |  95 +++++-
 tests/tegra/.gitignore       |   3 +-
 tests/tegra/drm-test-tegra.c | 147 +++++++++
 tests/tegra/drm-test-tegra.h |  55 ++++
 tests/tegra/drm-test.c       | 248 +++++++++++++++
 tests/tegra/drm-test.h       |  72 +++++
 tests/tegra/gr2d-fill.c      | 146 +++++++++
 tests/tegra/host1x.h         |  34 ++
 tests/tegra/meson.build      |  88 +++++-
 tests/tegra/openclose.c      |  52 +--
 tests/tegra/syncpt-timeout.c | 163 ++++++++++
 tests/tegra/syncpt-wait.c    | 151 +++++++++
 tests/tegra/vic-blit.c       | 333 +++++++++++++++++++
 tests/tegra/vic-clear.c      | 173 ++++++++++
 tests/tegra/vic-flip.c       | 333 +++++++++++++++++++
 tests/tegra/vic.c            | 184 +++++++++++
 tests/tegra/vic.h            | 181 +++++++++++
 tests/tegra/vic30.c          | 458 +++++++++++++++++++++++++++
 tests/tegra/vic30.h          | 439 ++++++++++++++++++++++++++
 tests/tegra/vic40.c          | 370 ++++++++++++++++++++++
 tests/tegra/vic40.h          | 285 +++++++++++++++++
 tests/tegra/vic41.c          | 374 ++++++++++++++++++++++
 tests/tegra/vic41.h          | 372 ++++++++++++++++++++++
 tests/tegra/vic42.c          | 374 ++++++++++++++++++++++
 tests/tegra/vic42.h          | 597 +++++++++++++++++++++++++++++++++++
 34 files changed, 7068 insertions(+), 260 deletions(-)
 create mode 100644 tegra/channel.c
 create mode 100644 tegra/job.c
 create mode 100644 tegra/pushbuf.c
 create mode 100644 tegra/syncpt.c
 create mode 100644 tests/tegra/drm-test-tegra.c
 create mode 100644 tests/tegra/drm-test-tegra.h
 create mode 100644 tests/tegra/drm-test.c
 create mode 100644 tests/tegra/drm-test.h
 create mode 100644 tests/tegra/gr2d-fill.c
 create mode 100644 tests/tegra/host1x.h
 create mode 100644 tests/tegra/syncpt-timeout.c
 create mode 100644 tests/tegra/syncpt-wait.c
 create mode 100644 tests/tegra/vic-blit.c
 create mode 100644 tests/tegra/vic-clear.c
 create mode 100644 tests/tegra/vic-flip.c
 create mode 100644 tests/tegra/vic.c
 create mode 100644 tests/tegra/vic.h
 create mode 100644 tests/tegra/vic30.c
 create mode 100644 tests/tegra/vic30.h
 create mode 100644 tests/tegra/vic40.c
 create mode 100644 tests/tegra/vic40.h
 create mode 100644 tests/tegra/vic41.c
 create mode 100644 tests/tegra/vic41.h
 create mode 100644 tests/tegra/vic42.c
 create mode 100644 tests/tegra/vic42.h
Signature · 1 line
2.35.1