Re: [PATCH v8 02/11] media: chips-media: wave6: Add Wave6 control driver

From: Frank Li

Date: Mon Nov 23 2026 - 16:13:38 EST


On Fri, Nov 20, 2026 at 08:58:07AM +0000, Nas Chung wrote:
> Hi, Frank.
>
> >-----Original Message-----
> >From: Frank Li <Frank.li@xxxxxxxxxxx>
> >Sent: Friday, November 20, 2026 5:08 AM
> >To: Nas Chung <nas.chung@xxxxxxxxxxxxxxx>
> >Cc: mchehab@xxxxxxxxxx; hverkuil@xxxxxxxxxx; robh@xxxxxxxxxx;
> >krzk+dt@xxxxxxxxxx; conor+dt@xxxxxxxxxx; Frank.Li@xxxxxxx;
> >s.hauer@xxxxxxxxxxxxxx; linux-media@xxxxxxxxxxxxxxx;
> >devicetree@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> >imx@xxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx;
> >festevam@xxxxxxxxx; kernel@xxxxxxxxxxxxxx; nicolas.dufresne@xxxxxxxxxxxxx;
> >ming.qian@xxxxxxxxxxx; marek.vasut@xxxxxxxxxxx; jackson.lee
> ><jackson.lee@xxxxxxxxxxxxxxx>; lafley.kim <lafley.kim@xxxxxxxxxxxxxxx>
> >Subject: Re: [PATCH v8 02/11] media: chips-media: wave6: Add Wave6 control
> >driver
> >
> >On Thu, Nov 19, 2026 at 05:59:56PM +0900, Nas Chung wrote:
> >> Add the control driver for the Chips&Media Wave6 video codec IP.
> >>
> >> The hardware contains one control register region and four interface
> >> register regions for a shared video processing engine.
> >>
> >> This driver handles the control region and manages shared resources such
> >> as firmware loading, firmware memory allocation, and coordination
> >required
> >> by the interface register regions.
> >>
> >> It also instantiates and coordinates with the `wave6-core` child devices
> >> for firmware and power state management.
> >>
> >> Tested-by: Ming Qian <ming.qian@xxxxxxxxxxx>
> >> Tested-by: Marek Vasut <marek.vasut@xxxxxxxxxxx>
> >> Signed-off-by: Nas Chung <nas.chung@xxxxxxxxxxxxxxx>
> >> ---
> >...
> >> +
> >> +static inline int wave6_vdi_alloc_dma(struct device *dev, struct vpu_buf
> >*vb)
> >> +{
> >> + void *vaddr;
> >> + dma_addr_t daddr;
> >
> >Nit try keep revise christmas order, check others
> >
> >dma_addr_t daddr;
> >void *vaddr;
>
> OK, I'll fix it across the driver.

Needn't reply argee part, only reply what need discuss part to reduce mail
list loading.

Frank