From 40eca2934fb458cdd3d0102097ad80e20620107e Mon Sep 17 00:00:00 2001 From: Yidi Lin Date: Wed, 31 Dec 2025 16:23:16 +0800 Subject: [PATCH] soc/mediatek/common: Track firmware splash screen rendering completion Add timestamp, TS_FIRMWARE_SPLASH_RENDERED, to precisely mark the moment the firmware splash screen has finished displaying. TEST=check cbmem log Change-Id: I5c5c61e03486a5939fdb2753c35326d53277c2b2 Signed-off-by: Yidi Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/90661 Reviewed-by: Hung-Te Lin Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) Reviewed-by: Chen-Tsung Hsieh --- src/soc/mediatek/common/display.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/mediatek/common/display.c b/src/soc/mediatek/common/display.c index 52d6d808f7..08139dfc3d 100644 --- a/src/soc/mediatek/common/display.c +++ b/src/soc/mediatek/common/display.c @@ -14,6 +14,7 @@ #include #include #include +#include static struct panel_serializable_data *get_mipi_cmd_from_cbfs(struct panel_description *desc) { @@ -94,6 +95,8 @@ static void display_logo(struct panel_description *panel, mtk_ddp_ovlsys_start(fb_addr, edid, path); panel_configure_backlight(panel, true); + + timestamp_add_now(TS_FIRMWARE_SPLASH_RENDERED); } int mtk_display_init(void)