Re: [PATCH v3 10/17] drm/mediatek: Export OVL formats definitions and format conversion API

CK Hu (胡俊光)
2025-06-17T07:02:49Z

> > +extern const u32 mt8195_ovl_formats[];
>
> Ditto.

Sorry, it need to extern mt8195_ovl_formats for exdma driver.

Regards,
CK

>
> Regards,
> CK
>
> > +extern const size_t mt8195_ovl_formats_len;
> > +
> > +bool mtk_ovl_is_10bit_rgb(unsigned int fmt);
> > +unsigned int mtk_ovl_get_blend_mode(struct mtk_plane_state *state, unsigned int blend_modes);
> > +unsigned int mtk_ovl_fmt_convert(unsigned int fmt, unsigned int blend_mode,
> > + bool fmt_rgb565_is_0, bool color_convert,
> > + u8 clrfmt_shift, u32 clrfmt_man, u32 byte_swap, u32 rgb_swap);
> > +
> > +#endif
>