From ea515cbca057f666dbc70a2e1939cc1b6aeb7390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Mon, 17 Jun 2024 21:19:35 +0100 Subject: [PATCH] display: move framebuffer to SRAM to avoid cache line contention --- drivers/gc9a01/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gc9a01/display.c b/drivers/gc9a01/display.c index 372900a..618a825 100644 --- a/drivers/gc9a01/display.c +++ b/drivers/gc9a01/display.c @@ -30,7 +30,7 @@ static MP_DEFINE_CONST_FUN_OBJ_0(get_fps_obj, get_fps); #define TILDAGON_DISPLAY_WIDTH 240 #define TILDAGON_DISPLAY_HEIGHT 240 -EXT_RAM_BSS_ATTR +//EXT_RAM_BSS_ATTR static uint8_t tildagon_fb[TILDAGON_DISPLAY_WIDTH * TILDAGON_DISPLAY_HEIGHT * 2]; static Ctx *tildagon_ctx = NULL;