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

Gary Bisson gary.bisson at boundarydevices.com
Fri Aug 6 07:19:48 UTC 2021


Hi Thomas,

On Thu, Aug 05, 2021 at 10:47:26PM +0200, Thomas Petazzoni wrote:
> 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.

Yes I said that ;) But to be honest I've never used any i.MX 8QM / 8QXP
CPUs, mainly the M series.
So the DPU package, on paper, is supposed to provide the same G2D API as
the other package using the Display Controller (DPU) of those processors
to do the 2D operations.
So the theory is that it has nothing to do with the GPU. But in recent
releases they indeed added a runtime dependency to OpenCL as the package
needs it for HEVC tile format coming out of the VPU [1].

Regards,
Gary

[1] https://github.com/Freescale/meta-freescale/commit/0661394c


More information about the buildroot mailing list