public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC libdrm] Add NVIDIA Tegra support
@ 2012-12-04 15:13 Thierry Reding
       [not found] ` <1354634032-9986-1-git-send-email-thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Thierry Reding @ 2012-12-04 15:13 UTC (permalink / raw)
  To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA

Hi,

I mentioned in a reply to Terje's patch series for 2D acceleration that
I had prototyped some libdrm support a few weeks back. I've spent a bit
of time cleaning it up and decided to post it for early review.

There's really not much interesting code here. A basic API is provided
along with two IOCTLs that can be used to create Tegra-specific GEM, as
opposed to dumb buffer objects. Given the various comments on Terje's
proposed IOCTLs I wanted to make sure that these will be safe. I've seen
that other chips use 64-bit fields for the size and offset of buffer
objects and I wonder if those are really necessary.

Linux kernel patches for the IOCTLs are also in the works and I hope to
get around to posting them this week. Obviously there will be some
overlap between this and what Terje posted in his series, but it should
be easy to synchronize.

Thierry

Thierry Reding (1):
  libdrm: Add NVIDIA Tegra support

 Makefile.am               |   6 +-
 configure.ac              |  15 ++-
 include/drm/Makefile.am   |   1 +
 include/drm/tegra_drm.h   |  48 ++++++++++
 tegra/Makefile.am         |  17 ++++
 tegra/libdrm_tegra.pc.in  |  11 +++
 tegra/tegra.c             | 227 ++++++++++++++++++++++++++++++++++++++++++++++
 tegra/tegra.h             |  51 +++++++++++
 tests/modetest/modetest.c |   2 +-
 tests/vbltest/vbltest.c   |   2 +-
 10 files changed, 376 insertions(+), 4 deletions(-)
 create mode 100644 include/drm/tegra_drm.h
 create mode 100644 tegra/Makefile.am
 create mode 100644 tegra/libdrm_tegra.pc.in
 create mode 100644 tegra/tegra.c
 create mode 100644 tegra/tegra.h

-- 
1.8.0.1

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

end of thread, other threads:[~2012-12-05  7:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-04 15:13 [RFC libdrm] Add NVIDIA Tegra support Thierry Reding
     [not found] ` <1354634032-9986-1-git-send-email-thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>
2012-12-04 15:13   ` Thierry Reding
2012-12-04 15:28     ` Rob Clark
     [not found]       ` <CAF6AEGum=cOxcHN1fBNfpLpm=bC-dXHZ_h2u96Ek4gwQSWSTtw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-12-04 15:38         ` Thierry Reding
     [not found]     ` <1354634032-9986-2-git-send-email-thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>
2012-12-05  7:39       ` Arto Merilainen
     [not found]         ` <50BEFA1F.5090907-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-12-05  7:46           ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox