All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] Host1x IOMMU support + VIC support
@ 2016-12-14 11:16 Mikko Perttunen
       [not found] ` <20161214111617.24548-1-mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  2016-12-14 11:16 ` [PATCH v2 6/7] arm64: tegra: Enable VIC on T210 Mikko Perttunen
  0 siblings, 2 replies; 28+ messages in thread
From: Mikko Perttunen @ 2016-12-14 11:16 UTC (permalink / raw)
  To: thierry.reding-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, airlied-cv59FeDIM0c,
	daniel-/w4YWyX8dFk, Mikko Perttunen

This series adds IOMMU support to Host1x and TegraDRM
and adds support for the VIC (Video Image Compositor)
host1x client. The series is available as a git repository at
git://github.com/cyndis/linux.git; branch vic-2.

A userspace test case for VIC can be found at
https://github.com/cyndis/drm/tree/work/tegra.
The testcase is in tests/tegra and is called submit_vic.
The testcase/TRM include full headers and documentation
to program the unit. The unit by itself, however, does not
readily map to existing userspace library interfaces, so
implementations for those are not provided.

The in-kernel firewall is not implemented for VIC;
therefore, either the IOMMU must be enabled or the firewall
disabled for the test to pass.

Tested with Jetson TX1 (T210). Probably works also
with Jetson TK1 (T124). Note that due to hardware changes
the testcase also needs to be changed to run properly
on T124: this can be done by removing the topmost
commit of the aforementioned test repository.

Thanks,
  Mikko.

Arto Merilainen (2):
  drm/tegra: Add falcon helper library
  drm/tegra: Add VIC support

Mikko Perttunen (5):
  drm/tegra: Add Tegra DRM allocation API
  gpu: host1x: Add IOMMU support
  dt-bindings: Add bindings for the Tegra VIC
  arm64: tegra: Enable VIC on T210
  arm64: tegra: Enable IOMMU for Host1x on Tegra210

 .../display/tegra/nvidia,tegra20-host1x.txt        |  13 +
 arch/arm64/boot/dts/nvidia/tegra210.dtsi           |  19 +-
 drivers/gpu/drm/tegra/Makefile                     |   4 +-
 drivers/gpu/drm/tegra/drm.c                        | 114 +++++-
 drivers/gpu/drm/tegra/drm.h                        |  12 +
 drivers/gpu/drm/tegra/falcon.c                     | 259 ++++++++++++++
 drivers/gpu/drm/tegra/falcon.h                     | 127 +++++++
 drivers/gpu/drm/tegra/vic.c                        | 396 +++++++++++++++++++++
 drivers/gpu/drm/tegra/vic.h                        |  31 ++
 drivers/gpu/host1x/cdma.c                          |  74 +++-
 drivers/gpu/host1x/cdma.h                          |   6 +-
 drivers/gpu/host1x/dev.c                           |  40 ++-
 drivers/gpu/host1x/dev.h                           |   6 +
 drivers/gpu/host1x/hw/cdma_hw.c                    |  16 +-
 drivers/gpu/host1x/job.c                           |  72 +++-
 drivers/gpu/host1x/job.h                           |   1 +
 include/linux/host1x.h                             |   1 +
 17 files changed, 1143 insertions(+), 48 deletions(-)
 create mode 100644 drivers/gpu/drm/tegra/falcon.c
 create mode 100644 drivers/gpu/drm/tegra/falcon.h
 create mode 100644 drivers/gpu/drm/tegra/vic.c
 create mode 100644 drivers/gpu/drm/tegra/vic.h

-- 
2.10.2

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2017-01-27 22:45 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-14 11:16 [PATCH v2 0/7] Host1x IOMMU support + VIC support Mikko Perttunen
     [not found] ` <20161214111617.24548-1-mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-12-14 11:16   ` [PATCH v2 1/7] drm/tegra: Add Tegra DRM allocation API Mikko Perttunen
2016-12-14 11:35     ` Lucas Stach
     [not found]       ` <1481715331.2313.28.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2016-12-14 12:36         ` Mikko Perttunen
2016-12-14 12:56           ` Lucas Stach
     [not found]             ` <1481720206.2313.32.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2016-12-14 13:17               ` Mikko Perttunen
2016-12-14 13:48         ` Thierry Reding
     [not found]           ` <20161214134833.GA29981-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2016-12-14 14:01             ` Lucas Stach
     [not found]               ` <1481724116.2313.39.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2016-12-14 14:39                 ` Thierry Reding
     [not found]                   ` <20161214143912.GA30280-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2017-01-27 22:45                     ` Mikko Perttunen
2016-12-14 11:16   ` [PATCH v2 2/7] drm/tegra: Add falcon helper library Mikko Perttunen
2016-12-14 11:16   ` [PATCH v2 3/7] drm/tegra: Add VIC support Mikko Perttunen
2016-12-14 11:16   ` [PATCH v2 4/7] gpu: host1x: Add IOMMU support Mikko Perttunen
2016-12-14 11:16   ` [PATCH v2 5/7] dt-bindings: Add bindings for the Tegra VIC Mikko Perttunen
2016-12-14 11:16   ` [PATCH v2 7/7] arm64: tegra: Enable IOMMU for Host1x on Tegra210 Mikko Perttunen
2016-12-14 12:30   ` [PATCH v2 0/7] Host1x IOMMU support + VIC support Daniel Vetter
     [not found]     ` <20161214123004.urnvlqarcnp5rp4a-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2016-12-14 12:41       ` Mikko Perttunen
2016-12-14 13:05         ` Daniel Vetter
     [not found]           ` <20161214130545.gfpkosyixr5lfkkf-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2016-12-14 13:32             ` Mikko Perttunen
2016-12-14 14:11               ` Daniel Vetter
     [not found]                 ` <20161214141142.jmrofknylonhprbk-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2016-12-14 14:29                   ` Mikko Perttunen
2016-12-14 14:48                   ` Daniel Vetter
     [not found]                     ` <CAKMK7uGw3XwbPU798YJ-9eLbwhMWs7z_F-ro238RfFN8LFURtw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-12-15  2:52                       ` Sean V Kelley
2017-01-17 16:22                   ` Mikko Perttunen
2017-01-23  7:42                     ` Daniel Vetter
2016-12-14 14:18       ` Thierry Reding
2016-12-14 18:26     ` Emil Velikov
2016-12-14 11:16 ` [PATCH v2 6/7] arm64: tegra: Enable VIC on T210 Mikko Perttunen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.