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 <yidilin@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90661
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Chen-Tsung Hsieh <chentsung@google.com>
This commit is contained in:
Yidi Lin 2025-12-31 16:23:16 +08:00
commit 40eca2934f

View file

@ -14,6 +14,7 @@
#include <soc/mtcmos.h>
#include <stdio.h>
#include <symbols.h>
#include <timestamp.h>
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)