From 709cff2d807dcfabe083d9992007ba6877e98b66 Mon Sep 17 00:00:00 2001 From: vhaudiquet Date: Sun, 30 Aug 2026 18:00:02 +0200 Subject: [PATCH] krane: override get_page_table_size for dynamic scanout mappings --- board/mediatek/mt8183/mt8183.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/board/mediatek/mt8183/mt8183.c b/board/mediatek/mt8183/mt8183.c index 04a6e2ee8ad..6198bfe6986 100644 --- a/board/mediatek/mt8183/mt8183.c +++ b/board/mediatek/mt8183/mt8183.c @@ -77,6 +77,16 @@ int board_late_init(void) } /* end TEMPORARY diagnostics */ +/* + * The krane scanout driver maps the coreboot table and the live + * framebuffer dynamically after relocation (mmu_map_region), which the + * default page-table budget (sized for the static memory map only) + * does not account for. Reserve enough for those mappings. + */ +u64 get_page_table_size(void) +{ + return 0x40000; +} #include #include