[Mesa-dev] [PATCH v3 0/3] Software rendering in EGL-DRM

Boris BREZILLON boris.brezillon at free-electrons.com
Thu Jul 3 03:10:36 PDT 2014


On Thu, 3 Jul 2014 12:24:44 +0300
Pekka Paalanen <ppaalanen at gmail.com> wrote:

> On Thu, 3 Jul 2014 10:48:26 +0200
> Boris BREZILLON <boris.brezillon at free-electrons.com> wrote:
> 
> > Hello Giovanni,
> > 
> > I have recently been working on a DRM/KMS driver which does not support
> > OpenGL rendering (it only provides plane composition functionalities):
> > [1].
> > 
> > If I understand correctly you patch series might solve some of the
> > issues I am facing.
> > 
> > I'm trying to get wayland working with HW cursor and several planes,
> > the problem is that it depends on GBM to provides drm plane and drm
> > cursor support.
> 
> Which compositor? All the dependencies are in the compositors, not
> Wayland per se.

Sorry, I meant weston not wayland.

> 
> If it is Weston, have you tried --use-pixman to avoid EGL altogether?
> I see Weston still tries to use GBM for cursor fbs, while primary fbs
> are dumb buffers, but then again, I'm not sure if cursors are supposed
> to support dumb buffers.

Yes weston works fine with --use-pixman, but then I can't use HW cursor
and drm overlay planes (because it requires gbm).

> 
> Weston's overlay planes code however totally depends on EGL to provide
> hw-capable buffers from clients. A software renderer support in EGL-DRM
> won't help in that.

Okay, if I understand correctly, this means I'll have to implement an
atmel-hlcdc_dri.so module (as suggested by Giovanni), right ?

Best Regards,

Boris

-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the mesa-dev mailing list