[Mesa-dev] [PATCH 07/10] egl/android: Make drm_gralloc headers optional

Rob Herring robh at kernel.org
Sat Jul 16 14:17:31 UTC 2016


On Fri, Jul 15, 2016 at 2:53 AM, Tomasz Figa <tfiga at chromium.org> wrote:
> We can support render nodes alone without any private headers, so let's
> make support for control nodes depend on presence of private drm_gralloc
> headers.

This is a complicated change for what amounts to just needing the
flink name out of the gralloc handle. You don't have the dependency
for prime fds because I assumed it is the first fd in the gralloc
handle (as I was trying to avoid the header dependency). We could do
the same for flink names.

Whether we want to make support from control nodes ifdef'ed should be
its own option not implied from having headers or not.

Rob


More information about the mesa-dev mailing list