linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC,libdrm 0/3] NVIDIA Tegra support
@ 2012-12-13 14:01 Arto Meriläinen
  2012-12-13 14:01 ` [RFC,libdrm 1/3] tegra: Add stream library Arto Meriläinen
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Arto Meriläinen @ 2012-12-13 14:01 UTC (permalink / raw)
  To: thierry.reding, dri-devel, linux-tegra; +Cc: fhart, tbergstrom

From: Arto Merilainen <amerilainen@nvidia.com>

This patch series adds application level support for 2d hardware
acceleration on Tegra SoCs.

The patch series consists of three patches: Host1x stream library, 2d
library and a test application for the 2d library. The first patch
introduces stream library that is used for doing buffer management,
synchronization and command stream management. The second patch adds
support for doing simple 2d operations (fill, copy, stretch). The
third patch adds a test application for the 2d functions.

Currently, both stream and 2d libraries are placed under libdrm.
The current goal is to introduce the code and move it later into its
own library (or merge it to Tegra DDX).

Memory management code is not compatible with the patches Thierry
sent previously. However, synchronizing the code should not be
hard as they both add the same functionality.

Arto Merilainen (1):
  tegra: Add stream library

Francis Hart (2):
  tegra: Add 2d library
  tests: tegra: Add 2d tests

 Makefile.am                    |    6 +-
 configure.ac                   |   14 +
 tegra/2d/hw_gr2d.h             | 2614 ++++++++++++++++++++++++++++++++++++++++
 tegra/2d/tegra_2d_api.c        |  235 ++++
 tegra/2d/tegra_2d_color.c      |  412 +++++++
 tegra/2d/tegra_2d_color.h      |   51 +
 tegra/2d/tegra_2d_context.c    |  140 +++
 tegra/2d/tegra_2d_context.h    |   67 +
 tegra/2d/tegra_2d_copy.c       |  209 ++++
 tegra/2d/tegra_2d_copy.h       |   38 +
 tegra/2d/tegra_2d_fill.c       |  136 +++
 tegra/2d/tegra_2d_fill.h       |   36 +
 tegra/2d/tegra_2d_frcopy.c     |  274 +++++
 tegra/2d/tegra_2d_frcopy.h     |   85 ++
 tegra/2d/tegra_2d_g2copy.c     |  272 +++++
 tegra/2d/tegra_2d_g2copy.h     |   88 ++
 tegra/2d/tegra_2d_g2fill.c     |  192 +++
 tegra/2d/tegra_2d_g2fill.h     |   80 ++
 tegra/2d/tegra_2d_reg_g2sb.h   |   89 ++
 tegra/2d/tegra_2d_reg_host.h   |  119 ++
 tegra/2d/tegra_2d_sbcopy.c     |  388 ++++++
 tegra/2d/tegra_2d_sbcopy.h     |   94 ++
 tegra/2d/tegra_2d_surface.c    |  280 +++++
 tegra/2d/tegra_2d_surface.h    |   57 +
 tegra/2d/tegra_2d_util.c       |  145 +++
 tegra/2d/tegra_2d_util.h       |   89 ++
 tegra/Makefile.am              |   36 +
 tegra/class_ids.h              |   35 +
 tegra/host1x01_hardware.h      |  122 ++
 tegra/hw_host1x01_uclass.h     |  143 +++
 tegra/libdrm_tegra.pc.in       |   10 +
 tegra/tegra_2d.h               |  223 ++++
 tegra/tegra_drm.c              |  876 ++++++++++++++
 tegra/tegra_drm.h              |  142 +++
 tegra/tegra_drmif.h            |  107 ++
 tests/tegra/2d/Makefile.am     |   13 +
 tests/tegra/2d/tegra_2d_test.c |  413 +++++++
 37 files changed, 8329 insertions(+), 1 deletion(-)
 create mode 100644 tegra/2d/hw_gr2d.h
 create mode 100644 tegra/2d/tegra_2d_api.c
 create mode 100644 tegra/2d/tegra_2d_color.c
 create mode 100644 tegra/2d/tegra_2d_color.h
 create mode 100644 tegra/2d/tegra_2d_context.c
 create mode 100644 tegra/2d/tegra_2d_context.h
 create mode 100644 tegra/2d/tegra_2d_copy.c
 create mode 100644 tegra/2d/tegra_2d_copy.h
 create mode 100644 tegra/2d/tegra_2d_fill.c
 create mode 100644 tegra/2d/tegra_2d_fill.h
 create mode 100644 tegra/2d/tegra_2d_frcopy.c
 create mode 100644 tegra/2d/tegra_2d_frcopy.h
 create mode 100644 tegra/2d/tegra_2d_g2copy.c
 create mode 100644 tegra/2d/tegra_2d_g2copy.h
 create mode 100644 tegra/2d/tegra_2d_g2fill.c
 create mode 100644 tegra/2d/tegra_2d_g2fill.h
 create mode 100644 tegra/2d/tegra_2d_reg_g2sb.h
 create mode 100644 tegra/2d/tegra_2d_reg_host.h
 create mode 100644 tegra/2d/tegra_2d_sbcopy.c
 create mode 100644 tegra/2d/tegra_2d_sbcopy.h
 create mode 100644 tegra/2d/tegra_2d_surface.c
 create mode 100644 tegra/2d/tegra_2d_surface.h
 create mode 100644 tegra/2d/tegra_2d_util.c
 create mode 100644 tegra/2d/tegra_2d_util.h
 create mode 100644 tegra/Makefile.am
 create mode 100644 tegra/class_ids.h
 create mode 100644 tegra/host1x01_hardware.h
 create mode 100644 tegra/hw_host1x01_uclass.h
 create mode 100644 tegra/libdrm_tegra.pc.in
 create mode 100644 tegra/tegra_2d.h
 create mode 100644 tegra/tegra_drm.c
 create mode 100644 tegra/tegra_drm.h
 create mode 100644 tegra/tegra_drmif.h
 create mode 100644 tests/tegra/2d/Makefile.am
 create mode 100644 tests/tegra/2d/tegra_2d_test.c

-- 
1.7.9.5

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

end of thread, other threads:[~2013-01-02  6:53 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13 14:01 [RFC,libdrm 0/3] NVIDIA Tegra support Arto Meriläinen
2012-12-13 14:01 ` [RFC,libdrm 1/3] tegra: Add stream library Arto Meriläinen
     [not found]   ` <1355407268-32381-2-git-send-email-amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-12-28  6:47     ` Mark Zhang
     [not found]       ` <50DD407B.3030306-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-28  7:45         ` Arto Merilainen
     [not found]           ` <50DD4E2C.2070104-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-12-28  7:57             ` Mark Zhang
     [not found]               ` <50DD50E1.80006-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-28  8:50                 ` Arto Merilainen
     [not found]                   ` <50DD5D6D.3090504-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-12-28  9:04                     ` Mark Zhang
     [not found]                       ` <50DD6098.60900-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-28  9:20                         ` Arto Merilainen
2012-12-28 20:48             ` Thierry Reding
     [not found]               ` <20121228204847.GA4309-RM9K5IK7kjIyiCvfTdI0JKcOhU4Rzj621B7CTYaBSLdn68oJJulU0Q@public.gmane.org>
2012-12-31  6:22                 ` Terje Bergström
     [not found]                   ` <50E12F1A.3000803-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-01-02  2:44                     ` Mark Zhang
     [not found]                       ` <50E39F2A.1000405-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-01-02  6:31                         ` Terje Bergström
     [not found]                           ` <50E3D45D.5050206-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-01-02  6:53                             ` Mark Zhang
2012-12-13 14:01 ` [RFC,libdrm 2/3] tegra: Add 2d library Arto Meriläinen
     [not found]   ` <1355407268-32381-3-git-send-email-amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-12-28  6:48     ` Mark Zhang
2012-12-13 14:01 ` [RFC,libdrm 3/3] tests: tegra: Add 2d tests Arto Meriläinen

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).