[Mesa-dev] [PATCH v4 0/6] NVIDIA Tegra support

Dylan Baker dylan at pnwbakers.com
Wed Mar 7 18:10:09 UTC 2018


For the meson bits:
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

Quoting Thierry Reding (2018-03-07 07:53:20)
> From: Thierry Reding <treding at nvidia.com>
> 
> This series of patches implements initial support for Tegra. The first
> two patches import DRM UAPI from v4.16-rc1 that provides framebuffer
> modifiers that can be used to specify buffers shared between Nouveau
> and the Tegra DRM driver.
> 
> Patches 3 and 4 add support for framebuffer modifiers to Nouveau and
> patch 5 build on top of those to provide initial Tegra support in Mesa.
> The current patches allow running common use-cases such as Wayland,
> kmscube, etc.
> 
> Patch 6 adds the Tegra driver to the list of gallium drivers built
> during a `make distcheck'.
> 
> Some people have been using earlier versions of these patches to run a
> completely open-source graphics stack on various Tegra210 devices. I've
> Cc'ed some of them so that they can provide feedback.
> 
> This series is also available in a git repository here:
> 
>         https://cgit.freedesktop.org/~tagr/mesa #tegra-v4
> 
> Thierry
> 
> Thierry Reding (6):
>   drm/fourcc: Fix fourcc_mod_code() definition
>   drm/tegra: Sanitize format modifiers
>   nouveau/nvc0: Extract common tile mode macro
>   nouveau: Add framebuffer modifier support
>   tegra: Initial support
>   autotools: Add tegra to AM_DISTCHECK_CONFIGURE_FLAGS
> 
>  Makefile.am                                        |    2 +-
>  configure.ac                                       |   12 +-
>  include/drm-uapi/drm_fourcc.h                      |   38 +-
>  include/drm-uapi/tegra_drm.h                       |  225 ++++
>  meson.build                                        |    7 +-
>  src/gallium/Makefile.am                            |    5 +
>  .../auxiliary/pipe-loader/pipe_loader_drm.c        |    7 +-
>  src/gallium/auxiliary/target-helpers/drm_helper.h  |   23 +
>  .../auxiliary/target-helpers/drm_helper_public.h   |    3 +
>  src/gallium/drivers/nouveau/Android.mk             |    3 +
>  src/gallium/drivers/nouveau/Makefile.am            |    1 +
>  src/gallium/drivers/nouveau/meson.build            |    4 +-
>  src/gallium/drivers/nouveau/nouveau_screen.c       |    4 +
>  src/gallium/drivers/nouveau/nv30/nv30_resource.c   |    2 +
>  src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c    |   81 +-
>  src/gallium/drivers/nouveau/nvc0/nvc0_resource.c   |   59 +-
>  src/gallium/drivers/nouveau/nvc0/nvc0_resource.h   |   18 +-
>  src/gallium/drivers/tegra/Automake.inc             |   11 +
>  src/gallium/drivers/tegra/Makefile.am              |   14 +
>  src/gallium/drivers/tegra/Makefile.sources         |    6 +
>  src/gallium/drivers/tegra/meson.build              |   41 +
>  src/gallium/drivers/tegra/tegra_context.c          | 1384 ++++++++++++++++++++
>  src/gallium/drivers/tegra/tegra_context.h          |   81 ++
>  src/gallium/drivers/tegra/tegra_resource.h         |   76 ++
>  src/gallium/drivers/tegra/tegra_screen.c           |  688 ++++++++++
>  src/gallium/drivers/tegra/tegra_screen.h           |   45 +
>  src/gallium/meson.build                            |    6 +
>  src/gallium/targets/dri/Makefile.am                |    2 +
>  src/gallium/targets/dri/meson.build                |    4 +-
>  src/gallium/targets/dri/target.c                   |    4 +
>  src/gallium/targets/vdpau/Makefile.am              |    2 +
>  src/gallium/winsys/tegra/drm/Makefile.am           |   13 +
>  src/gallium/winsys/tegra/drm/Makefile.sources      |    2 +
>  src/gallium/winsys/tegra/drm/meson.build           |   33 +
>  src/gallium/winsys/tegra/drm/tegra_drm_public.h    |   31 +
>  src/gallium/winsys/tegra/drm/tegra_drm_winsys.c    |   49 +
>  36 files changed, 2952 insertions(+), 34 deletions(-)
>  create mode 100644 include/drm-uapi/tegra_drm.h
>  create mode 100644 src/gallium/drivers/tegra/Automake.inc
>  create mode 100644 src/gallium/drivers/tegra/Makefile.am
>  create mode 100644 src/gallium/drivers/tegra/Makefile.sources
>  create mode 100644 src/gallium/drivers/tegra/meson.build
>  create mode 100644 src/gallium/drivers/tegra/tegra_context.c
>  create mode 100644 src/gallium/drivers/tegra/tegra_context.h
>  create mode 100644 src/gallium/drivers/tegra/tegra_resource.h
>  create mode 100644 src/gallium/drivers/tegra/tegra_screen.c
>  create mode 100644 src/gallium/drivers/tegra/tegra_screen.h
>  create mode 100644 src/gallium/winsys/tegra/drm/Makefile.am
>  create mode 100644 src/gallium/winsys/tegra/drm/Makefile.sources
>  create mode 100644 src/gallium/winsys/tegra/drm/meson.build
>  create mode 100644 src/gallium/winsys/tegra/drm/tegra_drm_public.h
>  create mode 100644 src/gallium/winsys/tegra/drm/tegra_drm_winsys.c
> 
> -- 
> 2.16.2
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180307/45b46b5b/attachment.sig>


More information about the mesa-dev mailing list