<html><body><p>
<pre>
> > --- a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c
> > +++ b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c
> > @@ -102,12 +102,9 @@ static inline bool is_10bit_rgb(u32 fmt)
> > }
> >
> > static const u32 mt8173_formats[] = {
> > - DRM_FORMAT_XRGB8888,
> > DRM_FORMAT_ARGB8888,
> > - DRM_FORMAT_BGRX8888,
> > DRM_FORMAT_BGRA8888,
> > DRM_FORMAT_ABGR8888,
> > - DRM_FORMAT_XBGR8888,
> > DRM_FORMAT_RGB888,
> > DRM_FORMAT_BGR888,
> > DRM_FORMAT_RGB565,
>
> This is what I get on MT6735:
>
> [ 1.729467] mediatek-drm mediatek-drm.1.auto: [drm] bpp/depth
> value
> of 32/24 not supported
> [ 1.737777] mediatek-drm mediatek-drm.1.auto: [drm] No compatible
> format found
> [ 1.745943] mediatek-drm mediatek-drm.1.auto: [drm] *ERROR*
> fbdev-dma: Failed to setup generic emulation (ret=-22)
>
Hi Adam, Yassine,
Please try the patches below and check if they can fix the downgrade
issue:
[1] Fix degradation problem of alpha blending series
-
https://patchwork.kernel.org/project/linux-mediatek/list/?series=893634
[2] drm/mediatek: Fix XRGB format breakage for blend_modes unsupported
SoCs
-
https://patchwork.kernel.org/project/linux-mediatek/patch/20241005095234.12925-1-jason-jh.lin@mediatek.com/
Regards,
Jason-JH.Lin
> >
> > Regards,
> > Jason-JH.Lin
> >
> >>
> >> - Adam Thiede
>
</pre>
</p></body></html><!--type:text--><!--{--><pre>************* MEDIATEK Confidentiality Notice ********************
The information contained in this e-mail message (including any
attachments) may be confidential, proprietary, privileged, or otherwise
exempt from disclosure under applicable laws. It is intended to be
conveyed only to the designated recipient(s). Any use, dissemination,
distribution, printing, retaining or copying of this e-mail (including its
attachments) by unintended recipient(s) is strictly prohibited and may
be unlawful. If you are not an intended recipient of this e-mail, or believe
that you have received this e-mail in error, please notify the sender
immediately (by replying to this e-mail), delete any and all copies of
this e-mail (including any attachments) from your system, and do not
disclose the content of this e-mail to any other person. Thank you!
</pre><!--}-->