[Buildroot] [PATCH v3 1/1] package/freescale-imx/imx-dpu-g2d: new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Aug 5 20:47:26 UTC 2021


Hello Refik,

On Sat,  8 Feb 2020 16:49:50 +0300
Refik Tuzakli <tuzakli.refik at gmail.com> wrote:

> imx-dpu-g2d package is used by i.MX 8 and i.MX 8X series instead
> of imx-vpu or imx-vpu-hantro. With this commit, imx-dpu-g2d is added
> and is enabled for i.MX8 and i.MX 8X.
> 
> Signed-off-by: Refik Tuzakli <tuzakli.refik at gmail.com>

So I wanted to apply this, but except Gary's feedback, there is still
one issue. When I look at the libraries libg2d-dpu.so.1.6.0 is linked
with, I see:

 0x0000000000000001 (NEEDED)             Shared library: [libdrm.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libOpenCL.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [ld-linux-aarch64.so.1]

So libc/ld-linux-aarch64 are part of the C library, libdrm.so is taken
care of by the libdrm dependency... but what about libOpenCL ? What
package is supposed to provide that in this context ?

Gary: I know you said this imx-dpu-g2d package is independent of the
GPU, but here it links against OpenCL... which I guess is provided by
imx-gpu-viv.

Note: I looked at version 1.8.14 of imx-dpu-g2d.

Could you give me some insight here, and once we resolve this issue,
submit a v4, also taking into account the feedback from Gary?

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list