[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240925101927.17042-1-jason-jh.lin@mediatek.com>
Date: Wed, 25 Sep 2024 18:19:25 +0800
From: Jason-JH.Lin <jason-jh.lin@...iatek.com>
To: Alper Nebi Yasak <alpernebiyasak@...il.com>, Chun-Kuang Hu
<chunkuang.hu@...nel.org>, AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
CC: Shawn Sung <shawn.sung@...iatek.com>, <dri-devel@...ts.freedesktop.org>,
<linux-mediatek@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, "Jason-JH . Lin"
<jason-jh.lin@...iatek.com>, Singo Chang <singo.chang@...iatek.com>, "Nancy
Lin" <nancy.lin@...iatek.com>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>, Jason-jh Lin
<jason-jh.lin@...iatek.corp-partner.google.com>
Subject: [PATCH v5 0/2] Fix degradation problem of alpha blending series
From: Jason-jh Lin <jason-jh.lin@...iatek.corp-partner.google.com>
Some SoCs 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 sreies.
---
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 (2):
drm/mediatek: ovl: Add fmt_convert function pointer 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 | 3 +
drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 93 +++++++++++++++++--
.../gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 7 ++
drivers/gpu/drm/mediatek/mtk_mdp_rdma.c | 8 ++
drivers/gpu/drm/mediatek/mtk_plane.c | 9 +-
drivers/gpu/drm/mediatek/mtk_plane.h | 4 +-
9 files changed, 122 insertions(+), 15 deletions(-)
--
2.43.0
Powered by blists - more mailing lists