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

CK Hu (胡俊光) ck.hu at mediatek.com
Mon Jun 16 23:47:32 PDT 2025


> > +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
> 



More information about the linux-arm-kernel mailing list