[PATCH v3 0/5] Support alpha blending in MTK display driver

From: Hsiao Chien Sung via B4 Relay
Date: Wed Jul 10 2024 - 04:53:12 EST


Support "Pre-multiplied" and "None" blend mode on MediaTek's chips by
adding correct blend mode property when the planes init.
Before this patch, only the "Coverage" mode (default) is supported.

Signed-off-by: Hsiao Chien Sung <shawn.sung@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
---
Changes in v3:
- Remove the Change-Id
- Link to v2: https://lore.kernel.org/r/20240710-alpha-blending-v2-0-d4b505e6980a@xxxxxxxxxxxx

Changes in v2:
- Remove unnecessary codes
- Add more information to the commit message
- Link to v1: https://lore.kernel.org/r/20240620-blend-v1-0-72670072ca20@xxxxxxxxxxxx

---
Hsiao Chien Sung (5):
drm/mediatek: Support "None" blending in OVL
drm/mediatek: Support "None" blending in Mixer
drm/mediatek: Support "Pre-multiplied" blending in OVL
drm/mediatek: Support "Pre-multiplied" blending in Mixer
drm/mediatek: Support alpha blending in display driver

drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 36 +++++++++++++++++++++++++--------
drivers/gpu/drm/mediatek/mtk_ethdr.c | 13 +++++++++---
drivers/gpu/drm/mediatek/mtk_plane.c | 11 ++++++++++
3 files changed, 49 insertions(+), 11 deletions(-)
---
base-commit: 8ad49a92cff4bab13eb2f2725243f5f31eff3f3b
change-id: 20240710-alpha-blending-067295570863

Best regards,
--
Hsiao Chien Sung <shawn.sung@xxxxxxxxxxxx>