RE: [EXT] Re: [PATCH v13 04/13] media: amphion: add vpu core driver

From: Ming Qian
Date: Thu Dec 02 2021 - 04:24:49 EST


> -----Original Message-----
> From: Hans Verkuil [mailto:hverkuil-cisco@xxxxxxxxx]
> Sent: Thursday, December 2, 2021 5:05 PM
> To: Ming Qian <ming.qian@xxxxxxx>; mchehab@xxxxxxxxxx;
> shawnguo@xxxxxxxxxx; robh+dt@xxxxxxxxxx; s.hauer@xxxxxxxxxxxxxx
> Cc: kernel@xxxxxxxxxxxxxx; festevam@xxxxxxxxx; dl-linux-imx
> <linux-imx@xxxxxxx>; Aisheng Dong <aisheng.dong@xxxxxxx>;
> linux-media@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> devicetree@xxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Subject: [EXT] Re: [PATCH v13 04/13] media: amphion: add vpu core driver
>
> Caution: EXT Email
>
> On 30/11/2021 10:48, Ming Qian wrote:
> > The vpu supports encoder and decoder.
> > it needs mu core to handle it.
>
> "mu core"? Do you mean "vpu core"? If not, then what is a "mu core"?
>
> Regards,
>
> Hans

Yes, it means "vpu core", we often call it mu internally.
I'm sorry that my statement caused confusion

>
> > core will run either encoder or decoder firmware.
> >
> > This driver is for support the vpu core.
> >
> > Signed-off-by: Ming Qian <ming.qian@xxxxxxx>
> > Signed-off-by: Shijie Qin <shijie.qin@xxxxxxx>
> > Signed-off-by: Zhou Peng <eagle.zhou@xxxxxxx>
> > ---
> > drivers/media/platform/amphion/vpu_codec.h | 67 ++
> > drivers/media/platform/amphion/vpu_core.c | 906
> +++++++++++++++++++++
> > drivers/media/platform/amphion/vpu_core.h | 15 +
> > drivers/media/platform/amphion/vpu_dbg.c | 495 +++++++++++
> > drivers/media/platform/amphion/vpu_rpc.c | 279 +++++++
> > drivers/media/platform/amphion/vpu_rpc.h | 464 +++++++++++
> > 6 files changed, 2226 insertions(+)
> > create mode 100644 drivers/media/platform/amphion/vpu_codec.h
> > create mode 100644 drivers/media/platform/amphion/vpu_core.c
> > create mode 100644 drivers/media/platform/amphion/vpu_core.h
> > create mode 100644 drivers/media/platform/amphion/vpu_dbg.c
> > create mode 100644 drivers/media/platform/amphion/vpu_rpc.c
> > create mode 100644 drivers/media/platform/amphion/vpu_rpc.h
> >