summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8195/ddp.c
diff options
context:
space:
mode:
authorYidi Lin <yidilin@chromium.org>2024-01-09 11:50:27 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-01-10 14:21:20 +0000
commitc4e14c2929c9b510c05ac7e54a9d0c441056f5e5 (patch)
treec5d9c2a80eeec2bfb028a6b6868b3daf6429fc98 /src/soc/mediatek/mt8195/ddp.c
parentcb7c4fdbd6c75d4ce9a2a5136b45f887bcf21d15 (diff)
mb/google/cherry: Use common mtk_display_init()
TEST=check FW screen on dojo Change-Id: Ie870899226588ac2a2e80f77e434455f4913d387 Signed-off-by: Yidi Lin <yidilin@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79778 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/mt8195/ddp.c')
-rw-r--r--src/soc/mediatek/mt8195/ddp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8195/ddp.c b/src/soc/mediatek/mt8195/ddp.c
index 6277fa4caf..2bd95a2fac 100644
--- a/src/soc/mediatek/mt8195/ddp.c
+++ b/src/soc/mediatek/mt8195/ddp.c
@@ -150,7 +150,7 @@ void mtk_ddp_init(void)
write32((void *)(SMI_LARB0 + SMI_LARB_PORT_L0_OVL_RDMA0), 0);
}
-void mtk_ddp_mode_set(const struct edid *edid)
+void mtk_ddp_mode_set(const struct edid *edid, enum disp_path_sel path)
{
u32 fmt = OVL_INFMT_RGBA8888;
u32 bpp = edid->framebuffer_bits_per_pixel / 8;