From: Jason-JH.Lin <jason-jh.lin@mediatek.com>
To: Adam Thiede <me@adamthiede.com>,
Yassine Oudjana <yassine.oudjana@gmail.com>,
Chun-Kuang Hu <chunkuang.hu@kernel.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Cc: Shawn Sung <shawn.sung@mediatek.com>,
Alper Nebi Yasak <alpernebiyasak@gmail.com>,
<dri-devel@lists.freedesktop.org>,
<linux-mediatek@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
"Jason-JH . Lin" <jason-jh.lin@mediatek.com>,
Singo Chang <singo.chang@mediatek.com>,
"Nancy Lin" <nancy.lin@mediatek.com>,
<Project_Global_Chrome_Upstream_Group@mediatek.com>
Subject: [PATCH v11 0/5] Fix degradation problem of alpha blending series
Date: Wed, 9 Oct 2024 11:46:41 +0800 [thread overview]
Message-ID: <20241009034646.13143-1-jason-jh.lin@mediatek.com> (raw)
Some SoCs do not support the ignore_pixl_alpha flag, which breaks the
XRGB8888 format. Some SoCs do not support pre-multiplied pixel formats
and extending configuration of OVL pre-multiplied color formats,
such as MT8173.
Fix the SoC degradation problem by this series.
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
---
Change in v11:
Fix typo in commit message.
Change in v10:
1. Fix the commit message and comment for OVL_CON_AEN
Change in v9:
1. Add the fix patch for the XRGB8888 downgrade issue of MT8173
2. Add the refine patch for ignore_pixel_alpha statement
Change in v8:
Remove blend_modes for not supported pre-multiplied SoCs to fix the
return error from drm_plane_create_blend_mode_property().
Change in v7:
1. Add the remove color format comment patch for OVL
2. Fix warning: 'const' type qualifier on return type has no effect
Chnage in v6:
1. Use blend_modes instead of function pointer in OVL
2. Use ethdr instead of mdp_rdma to get blend_modes
3. Add 0 checking for adding blend_mode property for mtk_plane
Change in v5:
Add fix patch for mtk_plane
Change in v4:
Add lost cases of mtk_ovl_fmt_convert_with_blend
Change in v3:
Change MACRO approach to function pointer in driver data
Change in v2:
Fix build error and typo
Change in v1:
Add fix patch for OVL unsupport color format settings by driver data
---
Jason-JH.Lin (5):
drm/mediatek: ovl: Fix XRGB format breakage for blend_modes
unsupported SoCs
drm/mediatek: ovl: Refine ignore_pixel_alpha comment and placement
drm/mediatek: ovl: Remove the color format comment for
ovl_fmt_convert()
drm/mediatek: ovl: Add blend_modes to driver data
drm/mediatek: Add blend_modes to mtk_plane_init() for different SoCs
drivers/gpu/drm/mediatek/mtk_crtc.c | 1 +
drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 2 +
drivers/gpu/drm/mediatek/mtk_ddp_comp.h | 10 +++
drivers/gpu/drm/mediatek/mtk_disp_drv.h | 2 +
drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 70 ++++++++++++++-----
.../gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 7 ++
drivers/gpu/drm/mediatek/mtk_ethdr.c | 7 ++
drivers/gpu/drm/mediatek/mtk_ethdr.h | 1 +
drivers/gpu/drm/mediatek/mtk_plane.c | 15 ++--
drivers/gpu/drm/mediatek/mtk_plane.h | 4 +-
10 files changed, 92 insertions(+), 27 deletions(-)
--
2.43.0
next reply other threads:[~2024-10-09 3:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-09 3:46 Jason-JH.Lin [this message]
2024-10-09 3:46 ` [PATCH v11 1/5] drm/mediatek: ovl: Fix XRGB format breakage for blend_modes unsupported SoCs Jason-JH.Lin
2024-10-09 10:01 ` AngeloGioacchino Del Regno
2024-10-09 3:46 ` [PATCH v11 2/5] drm/mediatek: ovl: Refine ignore_pixel_alpha comment and placement Jason-JH.Lin
2024-10-09 3:46 ` [PATCH v11 3/5] drm/mediatek: ovl: Remove the color format comment for ovl_fmt_convert() Jason-JH.Lin
2024-10-09 10:01 ` AngeloGioacchino Del Regno
2024-10-09 3:46 ` [PATCH v11 4/5] drm/mediatek: ovl: Add blend_modes to driver data Jason-JH.Lin
2024-10-09 3:46 ` [PATCH v11 5/5] drm/mediatek: Add blend_modes to mtk_plane_init() for different SoCs Jason-JH.Lin
2024-10-22 12:58 ` [PATCH v11 0/5] Fix degradation problem of alpha blending series Chun-Kuang Hu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241009034646.13143-1-jason-jh.lin@mediatek.com \
--to=jason-jh.lin@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=alpernebiyasak@gmail.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunkuang.hu@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=me@adamthiede.com \
--cc=nancy.lin@mediatek.com \
--cc=shawn.sung@mediatek.com \
--cc=singo.chang@mediatek.com \
--cc=yassine.oudjana@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®