[RFC 0/3] drm/tegra: Add 3D support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This small series of patches adds support for the 3D engine found on
NVIDIA Tegra SoCs. It builds on top of Terje's and Arto's host1x and
gr2d patches. A couple of things still need to be done before this
can be merged, though.

Patch 1 is the central piece of the series. It adds support for using
the gr3d engine via the same DRM IOCTLs that gr2d uses. A very basic
set of programs to test this can be found here[0].

Patch 2 adds support for the XBGR8888 format, which seems to be what
most gr3d programs use. It also adds the RGB565 as a format supported
by planes. This latter part could be moved to a separate patch, but I
didn't think that was necessary.

Patch 3 finally allows buffer objects to be marked as tiled so that
the display controller can scan them out appropriately.

Thierry

[0]: https://github.com/organizations/grate-driver

Thierry Reding (3):
  WIP: drm/tegra: Add 3D support
  drm/tegra: Support the XBGR8888 pixelformat
  drm/tegra: Add support for tiled buffer objects

 drivers/gpu/host1x/Makefile   |   1 +
 drivers/gpu/host1x/dev.c      |   7 +
 drivers/gpu/host1x/dev.h      |   1 +
 drivers/gpu/host1x/drm/dc.c   |  16 +++
 drivers/gpu/host1x/drm/dc.h   |   4 +
 drivers/gpu/host1x/drm/drm.c  |   4 +-
 drivers/gpu/host1x/drm/drm.h  |   2 +
 drivers/gpu/host1x/drm/fb.c   |  12 +-
 drivers/gpu/host1x/drm/gem.c  |  20 ++-
 drivers/gpu/host1x/drm/gem.h  |  13 +-
 drivers/gpu/host1x/drm/gr3d.c | 289 ++++++++++++++++++++++++++++++++++++++++++
 drivers/gpu/host1x/host1x.h   |   3 +-
 include/uapi/drm/tegra_drm.h  |   2 +
 13 files changed, 360 insertions(+), 14 deletions(-)
 create mode 100644 drivers/gpu/host1x/drm/gr3d.c

-- 
1.8.2

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux