Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Bisson <gary.bisson@boundarydevices.com>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Refik Tuzakli <tuzakli.refik@gmail.com>,
	buildroot@buildroot.org, Gary Bisson <bisson.gary@gmail.com>
Subject: Re: [Buildroot] [PATCH v3 1/1] package/freescale-imx/imx-dpu-g2d: new package
Date: Fri, 6 Aug 2021 09:19:48 +0200	[thread overview]
Message-ID: <YQzilLdPZDdxwR+t@p1g2> (raw)
In-Reply-To: <20210805224726.22f6d200@windsurf>

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@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@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
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

      reply	other threads:[~2021-08-06  7:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-08 13:49 [Buildroot] [PATCH v3 1/1] package/freescale-imx/imx-dpu-g2d: new package Refik Tuzakli
2020-09-22  8:14 ` Gary Bisson
2021-08-05 20:47 ` Thomas Petazzoni
2021-08-06  7:19   ` Gary Bisson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YQzilLdPZDdxwR+t@p1g2 \
    --to=gary.bisson@boundarydevices.com \
    --cc=bisson.gary@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=tuzakli.refik@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox