<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-freescale.git/recipes-graphics/mesa, branch topic/fix-code-fragments</title>
<subtitle>Mirror of github.com/Freescale/meta-freescale</subtitle>
<id>https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=topic%2Ffix-code-fragments</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=topic%2Ffix-code-fragments'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/'/>
<updated>2021-04-13T20:30:43+00:00</updated>
<entry>
<title>mesa: For NXP BSP align DRM parts to other GPU parts</title>
<updated>2021-04-13T20:30:43+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2021-03-29T21:18:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=f86588eec76c2d34ec6e63047b7dd4ab9f1b474f'/>
<id>urn:sha1:f86588eec76c2d34ec6e63047b7dd4ab9f1b474f</id>
<content type='text'>
With swrast no longer supported, align the DRM parts with the other
non-DRM GPU parts, dropping osmesa, swrast, and dri, and restoring
gallium. This undoes 3b0fc73.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>mesa: For i.MX parts without GPU use default gallium and dri</title>
<updated>2021-02-16T14:46:12+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2021-02-04T18:55:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=148581622b1097123f0fdb905c3167d0d6d6f5b7'/>
<id>urn:sha1:148581622b1097123f0fdb905c3167d0d6d6f5b7</id>
<content type='text'>
For NXP BSP, building graphics software for a part without GPU can fail with a
dependency issue:

```
ERROR: Nothing RPROVIDES 'libgl' (but /home/r60874/gatesgarth/sources/poky/meta/recipes-gnome/gtk+/gtk+3_3.24.22.bb, /home/r60874/gatesgarth/sources/poky/meta/recipes-graphics/cogl/cogl-1.0_1.22.8.bb RDEPENDS on or otherwise requires it)
```

This is fixed by adding a third case configuration using the default gallium and dri.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>mesa: Disable dri for parts without DRM</title>
<updated>2021-02-03T10:56:53+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2021-02-02T18:15:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=23416520c2aeaf593177adac54c4983c0bf361f2'/>
<id>urn:sha1:23416520c2aeaf593177adac54c4983c0bf361f2</id>
<content type='text'>
On dunfell parts without DRM (i.MX 6 and 7) break because dri is enabled:

```
| meson.build:455:4: ERROR: Problem encountered: building dri drivers require at least one windowing system or classic osmesa
```

The break does not occur on master since dri is effectively disabled if no dri
drivers are configured. Disabling dri outright is still a better implementation
on master, and of course is required on dunfell.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>mesa: Re-enable dri driver swrast for NXP BSP</title>
<updated>2021-01-30T02:13:58+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2021-01-29T20:36:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=a8706239390f21621e175c61e3cc03630d650a10'/>
<id>urn:sha1:a8706239390f21621e175c61e3cc03630d650a10</id>
<content type='text'>
Seems swrast won't disable hardware acceleration and is still needed to prevent
a build break in xserver-xorg.

```
| Package dri was not found in the pkg-config search path.
| Perhaps you should add the directory containing `dri.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'dri' found
```

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>mesa: Limit OSMesa to DRM and remove swrast</title>
<updated>2021-01-26T11:27:35+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2021-01-22T22:25:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=47394d05017483e7fd0cba5b927c76198bdfa062'/>
<id>urn:sha1:47394d05017483e7fd0cba5b927c76198bdfa062</id>
<content type='text'>
OSMesa was originally added for i.MX 8 only. This limitation was recently dropped
accidentally. Additionally, the 8DualXLite has no GPU and fails to build:

```
| In file included from ../../../mesa-demos-8.4.0/src/osdemos/osdemo32.c:14:
| ../../../mesa-demos-8.4.0/src/util/glut_wrap.h:9:12: fatal error: GL/glut.h: No such file or directory
|     9 | #  include &lt;GL/glut.h&gt;
|       |            ^~~~~~~~~~~
| compilation terminated.
```

Fix the OSMesa configuration by limiting it to parts with DRM.

Also, adding swrast prevents the use of hardware acceleration. Drop swrast.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>mesa: Use OSMesa for use-nxp-bsp</title>
<updated>2020-12-11T22:37:54+00:00</updated>
<author>
<name>Fabio Berton</name>
<email>fabio.berton@ossystems.com.br</email>
</author>
<published>2020-12-11T20:44:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=3b0fc734634f8f0db1f48fc13c64cacd3d99dd92'/>
<id>urn:sha1:3b0fc734634f8f0db1f48fc13c64cacd3d99dd92</id>
<content type='text'>
Enabling OSMesa and disabling Gallium is needed when using use-nxp-bsp,
if we don't do this mesa raises error:

Problem encountered: building dri drivers require at least one windowing
system or classic osmesa

Signed-off-by: Fabio Berton &lt;fabio.berton@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>mesa: Remove 'vc4' from PACKAGECONFIG for mainline BSP</title>
<updated>2020-05-01T23:15:36+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2020-05-01T23:10:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=7e307482699af91c162fdb2c43f72c1b024b5341'/>
<id>urn:sha1:7e307482699af91c162fdb2c43f72c1b024b5341</id>
<content type='text'>
The SoCs supported by meta-freescale does not use vc4 and then we can
drop it from the features.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Change-Id: I2b8e04c54644315401315c442a5e2cec8624c3f3
</content>
</entry>
<entry>
<title>mesa: Simplify PACKAGECONFIG for mainline BSP</title>
<updated>2020-05-01T23:15:36+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2020-05-01T05:19:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=43c10afe533e10c11780ef461f5cae409dafe8e3'/>
<id>urn:sha1:43c10afe533e10c11780ef461f5cae409dafe8e3</id>
<content type='text'>
The mainline BSP can use same settings for all SoCs reducing the
complexity.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>mesa: Allow to use Etnaviv with i.MX8</title>
<updated>2020-02-15T18:33:36+00:00</updated>
<author>
<name>Frieder Schrempf</name>
<email>frieder.schrempf@kontron.de</email>
</author>
<published>2020-02-13T11:37:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=380656c4de55951b787aa6b2c73b3c36cd0fb2e8'/>
<id>urn:sha1:380656c4de55951b787aa6b2c73b3c36cd0fb2e8</id>
<content type='text'>
Currently the settings for i.MX8 are fixed to only allow to use
OSMesa for offscreen rendering. Actually etnaviv is usable on
i.MX8MM an it should therefore be possible to let Gallium be
enabled instead of unconditionally disabling it.

Therefore we introduce the USE_OSMESA_ONLY variable, that can be
set to "no" for i.MX8 if etnaviv should be used just like for i.MX6.

Signed-off-by: Frieder Schrempf &lt;frieder.schrempf@kontron.de&gt;
</content>
</entry>
<entry>
<title>mesa: Use PACKAGECONFIG to enable Gallium drivers</title>
<updated>2020-02-15T18:33:36+00:00</updated>
<author>
<name>Frieder Schrempf</name>
<email>frieder.schrempf@kontron.de</email>
</author>
<published>2020-02-13T11:29:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=dd691a76052b761b44832c153a5740d420ffde1d'/>
<id>urn:sha1:dd691a76052b761b44832c153a5740d420ffde1d</id>
<content type='text'>
We don't need to manipulate the GALLIUMDRIVERS variable. Setting the
correct PACKAGECONFIG options is enough as the main recipe handles
the rest.

Signed-off-by: Frieder Schrempf &lt;frieder.schrempf@kontron.de&gt;
</content>
</entry>
</feed>
