Skip to content

Commit

Permalink
display: move framebuffer to SRAM to avoid cache line contention
Browse files Browse the repository at this point in the history
  • Loading branch information
hodefoting authored and MatthewWilkes committed Jun 17, 2024
1 parent 05aeda4 commit ea515cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gc9a01/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ea515cb

Please sign in to comment.