From: Thierry Reding <thierry.reding@gmail.com>
To: Alexandre Courbot <gnurou@gmail.com>
Cc: mesa-dev@lists.freedesktop.org,
"nouveau@lists.freedesktop.org" <nouveau@lists.freedesktop.org>
Subject: Re: [Nouveau] [RFC] tegra: Initial support
Date: Fri, 28 Nov 2014 10:19:35 +0100 [thread overview]
Message-ID: <20141128091934.GE5978@ulmo> (raw)
In-Reply-To: <CAAVeFu+j9q4sG6gT+16-=vD1E2hBJw6zy5n2GGhP3kshn2Y2Hw@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2180 bytes --]
On Fri, Nov 28, 2014 at 05:52:26PM +0900, Alexandre Courbot wrote:
> On Fri, Nov 28, 2014 at 5:48 PM, Thierry Reding
> <thierry.reding@gmail.com> wrote:
> > On Fri, Nov 28, 2014 at 02:14:24PM +0900, Alexandre Courbot wrote:
> >> On 11/28/2014 01:39 AM, Thierry Reding wrote:
> >> >Tegra K1 and later use a GPU that can be driven by the Nouveau driver.
> >> >But the GPU is a pure render node and has no display engine, hence the
> >> >scanout needs to happen on the Tegra display hardware. The GPU and the
> >> >display engine each have a separate DRM device node exposed by the
> >> >kernel.
> >> >
> >> >To make the setup appear as a single device, this driver instantiates
> >> >a Nouveau screen with each instance of a Tegra screen and forwards GPU
> >> >requests to the Nouveau screen. For purposes of scanout it will import
> >> >buffers created on the GPU into the display driver. Handles that
> >> >userspace requests are those of the display driver so that they can be
> >> >used to create framebuffers.
> >> >
> >> >This has been tested with some GBM test programs, as well as kmscube and
> >> >weston. All of those run without modifications, but I'm sure there is a
> >> >lot that can be improved.
> >>
> >> Tested with kmscube and Weston and I can confirm this works. However, EGL
> >> clients inside Weston have their window filled with garbage (they seem to
> >> run fine otherwise). Do you also experience this?
> >
> > To be honest, that wasn't part of my set of test cases. I had assumed
> > that since Weston could composite buffers into a final scan out buffer
> > everything else would just work as well. Do you have any particular
> > demos that aren't working?
>
> Anything using EGL under Wayland - the simplest case would be
> weston-simple-egl. glmark2 also displays a broken window, but then
> crashes shortly after. With weston-simpe-egl I get the framerate
> feedback and can see the GPU performance counters moving as expected,
> indicating that the app is rendering correctly but that Weston gets
> the wrong buffer to display.
Okay, I'll need to look into this more closely. Thanks for reporting.
Thierry
[-- Attachment #1.2: Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 156 bytes --]
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
next prev parent reply other threads:[~2014-11-28 9:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-27 16:39 [RFC] tegra: Initial support Thierry Reding
[not found] ` <1417106361-705-1-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-11-27 16:51 ` [Mesa-dev] " Rob Clark
[not found] ` <CAF6AEGuf9d_U7NpS2z-4_UTk=9cY3HX+FYpS-JYv_FagZBVG5A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-28 8:46 ` Thierry Reding
2014-11-28 5:14 ` Alexandre Courbot
[not found] ` <547804B0.4020603-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-11-28 8:48 ` Thierry Reding
2014-11-28 8:52 ` Alexandre Courbot
2014-11-28 9:19 ` Thierry Reding [this message]
2014-11-28 5:32 ` Ilia Mirkin
2014-11-28 9:17 ` Thierry Reding
2014-11-28 15:54 ` [Mesa-dev] " Daniel Stone
2014-11-28 16:26 ` Emil Velikov
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=20141128091934.GE5978@ulmo \
--to=thierry.reding@gmail.com \
--cc=gnurou@gmail.com \
--cc=mesa-dev@lists.freedesktop.org \
--cc=nouveau@lists.freedesktop.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.