Re: [PATCH 03/11] drm/mediatek: ovl: Add supports_plane_colorops flag
From: AngeloGioacchino Del Regno
Date: Fri Feb 06 2026 - 05:07:49 EST
Il 23/12/25 20:44, Nícolas F. R. A. Prado ha scritto:
Add a supports_plane_colorops flag to the driver data to allow SoCs that
support per-plane color operations to enable support for it in the
driver.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>
You should merge this patch [03/11] with [05/11] - so that you introduce the member
in the same commit where you use it.
This patch is a one-liner and it's not doing anything complicated at all :-)
Cheers,
Angelo
---
drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c
index 8e20b45411fc..46238c21b0ac 100644
--- a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c
+++ b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c
@@ -150,6 +150,7 @@ struct mtk_disp_ovl_data {
const u32 *formats;
size_t num_formats;
bool supports_clrfmt_ext;
+ bool supports_plane_colorops;
};
/*