<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-freescale.git/recipes-graphics/imx-gpu-viv, branch topic/better-nip-support</title>
<subtitle>Mirror of github.com/Freescale/meta-freescale</subtitle>
<id>https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=topic%2Fbetter-nip-support</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=topic%2Fbetter-nip-support'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/'/>
<updated>2022-02-21T23:06:28+00:00</updated>
<entry>
<title>imx-gpu-viv: Remove comment code which was unused</title>
<updated>2022-02-21T23:06:28+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2022-02-19T17:40:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=46acbc3e4a8932e02b15a0aefad93a4b53ec1229'/>
<id>urn:sha1:46acbc3e4a8932e02b15a0aefad93a4b53ec1229</id>
<content type='text'>
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>Generalize overrides subsystem for NXP and Mainline support</title>
<updated>2022-02-21T23:06:28+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2022-02-18T22:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=30f5ce1d2168389295b4813e01898c2fb0f9bab9'/>
<id>urn:sha1:30f5ce1d2168389295b4813e01898c2fb0f9bab9</id>
<content type='text'>
Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and
mainline-bsp.

So, for example, the mx8mq override is split into:

- imx-generic-bsp: compatible with every i.MX SoC and both BSP variants
- imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP
- imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP

- mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants
- mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP
- mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP

- mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants
- mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP
- mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP

- mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants
- mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP
- mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP

The extender mechanism is responsible for extending the override list to
include the generic overrides. We can then use the three different
variants to handle the metadata correctly.

Generically speaking, the conversion mainly was automated (with a lot of
back and forth until getting it right).

To convert an existing layer, the following script can be used:

```sh
  git ls-files classes recipes-* \
      | xargs sed -i \
              -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \
              -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \
              -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \
              -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \
              \
              -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \
              -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \
              -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \
              -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \
              \
              -e 's,:\(vf\w*\),:\1-generic-bsp,g' \
              -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \
              -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \
              -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \
              -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \
              -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \
              \
              -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \
              -e 's,(\(imx\)),(\1-nxp-bsp),g' \
              -e 's,\(imx\)|,\1-nxp-bsp|,g' \
              -e 's,|\(imx\)),|\1-nxp-bsp),g'

  for d in $(find -type d | egrep '/mx[6-8]w*'); do
      git mv $d $d-nxp-bsp
  done

  for d in $(find -type d | egrep '/imx$'); do
      git mv $d $d-nxp-bsp
  done

  for d in $(find -type d | egrep '/mx[5s]w*'); do
      git mv $d $d-generic-bsp
  done
```

Fixes: #791.
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>imx-gpu-viv: Upgrade to 6.4.3.p2.4</title>
<updated>2022-01-29T22:09:54+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2022-01-26T20:48:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=747c96f5b82d12b135739f93a74e6ee6e9ed8f5b'/>
<id>urn:sha1:747c96f5b82d12b135739f93a74e6ee6e9ed8f5b</id>
<content type='text'>
- x11 is no longer supported
- dri is no longer supported
- remove vestiges of 64-bit framebuffer on Wayland, which is no longer supported

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #907 from thochstein/master</title>
<updated>2021-11-01T11:30:22+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2021-11-01T11:30:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=2cda103796e567d6ce17874df37f9bcfed13a69f'/>
<id>urn:sha1:2cda103796e567d6ce17874df37f9bcfed13a69f</id>
<content type='text'>
imx-gpu-viv updates for 6.4.3.p2.2</content>
</entry>
<entry>
<title>imx-gpu-viv: Expose Vulkan library version</title>
<updated>2021-10-31T14:46:02+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2021-10-31T14:24:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=acf0471b9436d2992aacadb9880042bfd269473d'/>
<id>urn:sha1:acf0471b9436d2992aacadb9880042bfd269473d</id>
<content type='text'>
Expose the Vulkan library version so NXP can easily override in their
layer.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>imx-gpu-viv: Install SOC-specific binaries</title>
<updated>2021-10-31T14:33:17+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2021-10-31T14:22:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=3e1403807107397d8c07508835e9efdde4ff537f'/>
<id>urn:sha1:3e1403807107397d8c07508835e9efdde4ff537f</id>
<content type='text'>
The archive now contains SOC-specific binaries.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>imx-gpu-viv: Drop SOC-specific header installation</title>
<updated>2021-10-31T14:33:17+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2021-10-31T14:17:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=f363b1dd2ff34ae3bce1487e24b2029e9f7aeb62'/>
<id>urn:sha1:f363b1dd2ff34ae3bce1487e24b2029e9f7aeb62</id>
<content type='text'>
The recipe installs GLES3 headers based on SOC. This is not necessary
as lack of support is expected to be handled at runtime.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>imx-gpu-viv: upgrade to 6.4.3.p2.2</title>
<updated>2021-10-22T19:15:38+00:00</updated>
<author>
<name>Andrey Zhizhikin</name>
<email>andrey.z@gmail.com</email>
</author>
<published>2021-10-21T08:36:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=01e729d43a915466f6d216b01fcafb41042e944b'/>
<id>urn:sha1:01e729d43a915466f6d216b01fcafb41042e944b</id>
<content type='text'>
Signed-off-by: Andrey Zhizhikin &lt;andrey.z@gmail.com&gt;
</content>
</entry>
<entry>
<title>imx-gpu-viv: skip QA check for libgl-imx package</title>
<updated>2021-10-22T19:15:38+00:00</updated>
<author>
<name>Andrey Zhizhikin</name>
<email>andrey.z@gmail.com</email>
</author>
<published>2021-10-21T08:41:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=82556c5b6bdcd8a72c6bf16e1d60b7a93595723e'/>
<id>urn:sha1:82556c5b6bdcd8a72c6bf16e1d60b7a93595723e</id>
<content type='text'>
libgl-imx package provides libGL, which has runtime dependencies on X11
libraries. In case of Wayland-only builds, this triggers the QA error on
missing RDEPENDS, since they are not provided by any package.

Skip this QA check for libgl-imx package, as it is not distributed for
Wayland-only builds, and has dependencies properly resolved when X11
builds are used.

Signed-off-by: Andrey Zhizhikin &lt;andrey.z@gmail.com&gt;
</content>
</entry>
<entry>
<title>imx-gpu-viv: Provides virtual/libgl for framebuffer</title>
<updated>2021-08-23T18:04:58+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2021-08-23T17:31:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=d7fad5bac8d762a73932d908fd5445be6334243c'/>
<id>urn:sha1:d7fad5bac8d762a73932d908fd5445be6334243c</id>
<content type='text'>
Support for GL on framebuffer is available for some time, at least
since 6.4.0.p2.6.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
</feed>
