]> code.ossystems Code Review - openembedded-core.git/commit
mesa: Fix a case when gbm is enabled but DRIDRIVERS is not defined
authorKhem Raj <raj.khem@gmail.com>
Wed, 22 May 2019 18:28:27 +0000 (11:28 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 May 2019 16:06:27 +0000 (17:06 +0100)
commit0c670a0fad379c3dc2a69ac5abfeaceda98a2f9c
tree1674f7a850e63526f5fe03b571d90bbe08ddd687
parentd93ad85d94ea99e3fad7e4c2f6be999088e2f9f9
mesa: Fix a case when gbm is enabled but DRIDRIVERS is not defined

This is a typical scenario with arm platforms, with meson if DRIDRIVERS
is empty then dri is disabled automatically, but gbm needs dri2 enabled
for it to have proper backend, in autotools we could use --enable-gbm
--enable-dri and get correct behaviour but with meson enabling dri2 only
works if DRIDRIVERS is not empty

This fixes mesa-gl build for rpi machines when using userland graphics

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/mesa/files/0001-Allow-enable-DRI-without-DRI-drivers.patch [new file with mode: 0644]
meta/recipes-graphics/mesa/mesa.inc
meta/recipes-graphics/mesa/mesa_19.0.3.bb