From: Gary Bisson <gary.bisson@boundarydevices.com>
To: Tom Hochstein <tom.hochstein@nxp.com>
Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>,
Otavio Salvador <otavio@ossystems.com.br>
Subject: Re: [PATCH 30/32] imx-base.inc: Add imxdpu and imxdpublit to MACHINEOVERRIDES_EXTENDER
Date: Wed, 27 Jun 2018 16:12:54 +0200 [thread overview]
Message-ID: <20180627141254.GA13530@g751.home> (raw)
In-Reply-To: <HE1PR0402MB28280691A795031F9063B1F1E2480@HE1PR0402MB2828.eurprd04.prod.outlook.com>
Hi Tom,
On Wed, Jun 27, 2018 at 02:00:29PM +0000, Tom Hochstein wrote:
> After thinking on this some more, let me start over.
>
> > -----Original Message-----
> > From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
> > bounces@yoctoproject.org] On Behalf Of Gary Bisson
> > Sent: Tuesday, June 26, 2018 3:20 AM
> > To: Otavio Salvador <otavio@ossystems.com.br>
> > Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
> > Subject: Re: [meta-freescale] [PATCH 30/32] imx-base.inc: Add imxdpu and
> > imxdpublit to MACHINEOVERRIDES_EXTENDER
> >
> > Hi Otavio, Tom,
> >
> > On Mon, Jun 25, 2018 at 04:30:30PM -0300, Otavio Salvador wrote:
> > > From: Tom Hochstein <tom.hochstein@nxp.com>
> > >
> > > - imx-gpu-g2d requires DPU-blit support
> >
> > Can you elaborate on that? What has changed in the g2d package so that it
> > now depends on DPU-blit?
>
> Nothing has changed, this just makes an existing requirement explicit. i.MX 6 and 7 with 2D GPU do in fact have a separate DPU blitting engine, different from the DPU used for i.MX 8.
What does "DPU" mean to you? I think what you mean is "i.MX6 and 7 can
do 2D blit operations with their 2D GPU".
Using the term DPU doesn't make sense to me, please elaborate.
My definition of DPU is "Display Processing Unit" as defined in i.MX8QM
docs, therefore using the same term for CPU that don't have that IP is
confusing, isn't it?
> > > - imx-dpu-g2d requires DPU support
> > >
> > > Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
> > > Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> > > ---
> > >
> > > conf/machine/include/imx-base.inc | 14 +++++++-------
> > > recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb | 4 +++-
> > > .../imx-gpu-g2d/imx-gpu-g2d_6.2.4.p1.2.bb | 4 +++-
> > > 3 files changed, 13 insertions(+), 9 deletions(-)
> > >
> > > diff --git a/conf/machine/include/imx-base.inc
> > > b/conf/machine/include/imx-base.inc
> > > index 346d1c77..6ba5014d 100644
> > > --- a/conf/machine/include/imx-base.inc
> > > +++ b/conf/machine/include/imx-base.inc
> > > @@ -59,17 +59,17 @@ DEFAULTTUNE_vf ?= "cortexa5thf-neon"
> > > INHERIT += "machine-overrides-extender"
> > >
> > > MACHINEOVERRIDES_EXTENDER_mx25 = "use-mainline-bsp"
> > > -MACHINEOVERRIDES_EXTENDER_mx6q =
> > "imxipu:imxvpu:imxgpu2d:imxgpu3d"
> > > -MACHINEOVERRIDES_EXTENDER_mx6dl =
> > "imxpxp:imxipu:imxvpu:imxgpu2d:imxgpu3d:imxepdc"
> > > -MACHINEOVERRIDES_EXTENDER_mx6sx = "imxpxp:imxgpu2d:imxgpu3d"
> > > -MACHINEOVERRIDES_EXTENDER_mx6sl = "imxpxp:imxgpu2d:imxepdc"
> > > +MACHINEOVERRIDES_EXTENDER_mx6q =
> > "imxipu:imxvpu:imxgpu2d:imxdpublit:imxgpu3d"
> > > +MACHINEOVERRIDES_EXTENDER_mx6dl =
> > "imxpxp:imxipu:imxvpu:imxgpu2d:imxdpublit:imxgpu3d:imxepdc"
> > > +MACHINEOVERRIDES_EXTENDER_mx6sx =
> > "imxpxp:imxgpu2d:imxdpublit:imxgpu3d"
> > > +MACHINEOVERRIDES_EXTENDER_mx6sl =
> > "imxpxp:imxgpu2d:imxdpublit:imxepdc"
> >
> > ?? I don't understand that naming at all. Shouldn't imxdpublit be necessary
> > on HW that has a DPU (ie none of the above)?
> >
> > > MACHINEOVERRIDES_EXTENDER_mx6sll = "imxpxp:imxepdc"
> > > MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp"
> > > MACHINEOVERRIDES_EXTENDER_mx6ull = "imxpxp:imxepdc"
> > > MACHINEOVERRIDES_EXTENDER_mx7d = "imxpxp:imxepdc"
> > > -MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxpxp:imxgpu2d:imxgpu3d"
> > > -MACHINEOVERRIDES_EXTENDER_mx8mq = "imxvpu:imxgpu3d"
> > > -MACHINEOVERRIDES_EXTENDER_mx8mm =
> > "imxvpu:imxgpu2d:imxgpu3d"
> > > +MACHINEOVERRIDES_EXTENDER_mx7ulp =
> > "imxpxp:imxgpu2d:imxdpublit:imxgpu3d"
> > > +MACHINEOVERRIDES_EXTENDER_mx8mq = "imxvpu:imxdpu:imxgpu3d"
> >
> > This is wrong, mx8mq doesn't have a DPU.
>
> You are correct about that, my mistake.
>
> So at this point just need to fix this patch. Note, that I need to submit an update for imx-gpu-sdk that also depends on imxdpublit.
Sorry but that still doesn't tell me why we're not using imxgpu2d as
before? Why creating a "2dblit" feature, it was known in the first place
that imxgpu2d is capable of 2dblit. Actually let's generalize it and say
that "libg2d" (whether it is gpu or dpu) is capable of blitting.
The only issue I see is that in the case of imx8mm, both gpu-g2d and
dpu-g2d can be built, but that should be easily selectable via a
preferred provider for lig2d no? Also I find it more flexible to leave
it to the user to select which 2D blitting engine he wants to use
instead of forcing one over the other.
Regards,
Gary
next prev parent reply other threads:[~2018-06-27 14:13 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-25 19:30 [PATCH 01/32] imx-vpu: Update to version 5.4.38 Otavio Salvador
2018-06-25 19:30 ` [PATCH 02/32] imx-gpu-viv: Update to 6.2.4.p1.2 Otavio Salvador
2018-06-25 19:30 ` [PATCH 03/32] imx-gpu-g2d: Update to version 6.2.4 Otavio Salvador
2018-06-25 19:30 ` [PATCH 04/32] imx-parser: Update to version 4.3.5 Otavio Salvador
2018-06-25 19:30 ` [PATCH 05/32] imx-codec: " Otavio Salvador
2018-06-25 19:30 ` [PATCH 06/32] imx-vpuwrap: " Otavio Salvador
2018-06-25 19:30 ` [PATCH 07/32] imx-kobs: Bump revision to c70685d Otavio Salvador
2018-06-25 19:30 ` [PATCH 08/32] libimxvpuapi: Bump revision to 4afb52f Otavio Salvador
2018-06-25 19:30 ` [PATCH 09/32] imx-lib: Bump to revision 3f77797 Otavio Salvador
2018-06-25 19:30 ` [PATCH 10/32] gstreamer1.0-plugins-base: Rename patch directory to match recipe name Otavio Salvador
2018-06-25 19:30 ` [PATCH 11/32] gstreamer1.0-plugins-bad: " Otavio Salvador
2018-06-25 19:30 ` [PATCH 12/32] imx-gpu-apitrace: Bump revision to 9281b2c2 Otavio Salvador
2018-06-25 19:30 ` [PATCH 13/32] imx-test: Update to version 7.0 Otavio Salvador
2018-06-25 19:30 ` [PATCH 14/32] kernel-module-imx-gpu-viv: Update to version 6.2.4.p1.2-based fork Otavio Salvador
2018-06-25 19:30 ` [PATCH 15/32] kernel-module-imx-gpu-viv: Update to 6.2.4.p1.2 Otavio Salvador
2018-06-25 19:30 ` [PATCH 16/32] dtc: Add recipe for version 1.4.5 Otavio Salvador
2018-06-28 15:33 ` Mihai Lindner
2018-06-28 16:49 ` Otavio Salvador
2018-06-29 17:53 ` Mihai Lindner
2018-07-02 16:42 ` Ian Coolidge
2018-07-02 17:09 ` Otavio Salvador
2018-07-04 14:44 ` Mihai Lindner
2018-06-25 19:30 ` [PATCH 17/32] gstreamer1.0-plugins-base: Update release to 4.9.88 Otavio Salvador
2018-06-25 19:30 ` [PATCH 18/32] gstreamer1.0-plugins-bad: " Otavio Salvador
2018-06-25 19:30 ` [PATCH 19/32] xf86-video-imxfb-vivante: Update to version 6.2.4.p1 Otavio Salvador
2018-06-26 8:25 ` Gary Bisson
2018-06-25 19:30 ` [PATCH 20/32] imx-gst1.0-plugin: Update to MM_04.03.05_1804_L4.9.88_MX7ULP_GA Otavio Salvador
2018-06-25 19:30 ` [PATCH 21/32] gstreamer1.0-plugins-imx: Bump to revision 963aea6 Otavio Salvador
2018-06-25 19:30 ` [PATCH 22/32] weston: Fix PREFERRED_VERSION_weston Otavio Salvador
2018-06-25 19:30 ` [PATCH 23/32] xf86-video-imx-vivante: Remove fb from name Otavio Salvador
2018-06-25 19:30 ` [PATCH 24/32] imx-base.inc: Improve formatting Otavio Salvador
2018-06-25 19:30 ` [PATCH 25/32] imx-dpu-g2d: Add new G2D implementation based on DPU Otavio Salvador
2018-06-25 20:24 ` Gary Bisson
2018-06-25 21:14 ` Otavio Salvador
2018-06-25 19:30 ` [PATCH 26/32] imx-gpu-viv: Rename package for libgal Otavio Salvador
2018-06-25 19:30 ` [PATCH 27/32] imx-gpu-viv: Add i.MX 8 support Otavio Salvador
2018-06-26 8:12 ` Gary Bisson
2018-06-26 16:49 ` Otavio Salvador
2018-06-26 22:00 ` Tom Hochstein
2018-06-25 19:30 ` [PATCH 28/32] xf86-video-imx-vivante: " Otavio Salvador
2018-06-25 19:30 ` [PATCH 29/32] imx-base.inc: Add i.MX 8M support Otavio Salvador
2018-06-25 20:22 ` Gary Bisson
2018-06-25 21:07 ` Otavio Salvador
2018-06-25 19:30 ` [PATCH 30/32] imx-base.inc: Add imxdpu and imxdpublit to MACHINEOVERRIDES_EXTENDER Otavio Salvador
2018-06-26 8:19 ` Gary Bisson
2018-06-27 14:00 ` Tom Hochstein
2018-06-27 14:12 ` Gary Bisson [this message]
2018-06-27 14:59 ` Tom Hochstein
2018-06-25 19:30 ` [PATCH 31/32] imx-base.inc: Add imxgpu " Otavio Salvador
2018-06-25 19:30 ` [PATCH 32/32] weston: Set package arch for all i.MX Otavio Salvador
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=20180627141254.GA13530@g751.home \
--to=gary.bisson@boundarydevices.com \
--cc=meta-freescale@yoctoproject.org \
--cc=otavio@ossystems.com.br \
--cc=tom.hochstein@nxp.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.