Fuze & e200v2: Put lcd framebuffer into iram, which saves 77k normal ram and gives 2.6%/7.6% (unboosted/boosted) lcd update speed up
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20682 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
aeddacbd14
commit
464e6a1405
4 changed files with 14 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
|||
/* plugins common to all models */
|
||||
test_fps.c
|
||||
chessclock.c
|
||||
credits.c
|
||||
cube.c
|
||||
|
|
|
@ -349,12 +349,19 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
#endif
|
||||
backlight_force_on(); /* backlight control in lib/helper.c */
|
||||
|
||||
log_text("Main LCD Update");
|
||||
rb->cpu_boost(false);
|
||||
log_text("Main LCD Update unboosted");
|
||||
time_main_update();
|
||||
rb->cpu_boost(true);
|
||||
log_text("Main LCD Update boosted");
|
||||
time_main_update();
|
||||
rb->cpu_boost(false);
|
||||
/*
|
||||
#ifdef HAVE_LCD_COLOR
|
||||
log_text("Main LCD YUV");
|
||||
time_main_yuv();
|
||||
#endif
|
||||
*/
|
||||
#if LCD_DEPTH < 4
|
||||
log_text("Greyscale library");
|
||||
time_greyscale();
|
||||
|
|
|
@ -66,7 +66,8 @@
|
|||
/* define this if you can invert the colours on your LCD */
|
||||
#define HAVE_LCD_INVERT
|
||||
|
||||
/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
|
||||
/* put the lcd frame buffer in IRAM */
|
||||
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR
|
||||
|
||||
#define CONFIG_KEYPAD SANSA_E200_PAD
|
||||
|
||||
|
|
|
@ -70,7 +70,9 @@
|
|||
#define HAVE_SW_TONE_CONTROLS
|
||||
|
||||
#endif /* !BOOTLOADER */
|
||||
/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
|
||||
|
||||
/* put the lcd frame buffer in IRAM */
|
||||
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR
|
||||
|
||||
#define CONFIG_KEYPAD SANSA_FUZE_PAD
|
||||
|
||||
|
|
Loading…
Reference in a new issue