[Nouveau] [RFC] tegra: Initial support
Alexandre Courbot
acourbot at nvidia.com
Thu Nov 27 21:14:24 PST 2014
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?
More information about the Nouveau
mailing list