From: Thierry Reding <thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>
To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [RFC libdrm] Add NVIDIA Tegra support
Date: Tue, 4 Dec 2012 16:13:51 +0100 [thread overview]
Message-ID: <1354634032-9986-1-git-send-email-thierry.reding@avionic-design.de> (raw)
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
next reply other threads:[~2012-12-04 15:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-04 15:13 Thierry Reding [this message]
[not found] ` <1354634032-9986-1-git-send-email-thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>
2012-12-04 15:13 ` [RFC libdrm] Add NVIDIA Tegra support 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1354634032-9986-1-git-send-email-thierry.reding@avionic-design.de \
--to=thierry.reding-rm9k5ik7kjkj5m59nbduvrnah6klmebb@public.gmane.org \
--cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox