mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
rk27xx lcd code rework
Use DMA engine for fullscreen updates and bypass mode for partial
updates. This gives major boost on rk27generic:
default ARM:AHB:APB 200💯50
HEAD 1/1: 26.3fps 1/4: 105.0fps
patched 1/1: 116.5fps 1/4: 249.5fps
with freq scalling NORMAL mode ARM:AHB:APB 50:50:50
HEAD 1/1: 13.1fps 1/4: 52.5fps
patched 1/1: 54.5fps 1/4: 119.0fps
Tested on rk27generic noname DAP and on Hifimans.
Change-Id: Id9dd4d2d61542c7ea6b5c6336b170d6357cefde9
This commit is contained in:
parent
f636aa07df
commit
84134f737f
8 changed files with 352 additions and 137 deletions
|
|
@ -6,11 +6,12 @@ enum lcdif_mode_t {
|
|||
LCDIF_18BIT
|
||||
};
|
||||
|
||||
unsigned int lcd_data_transform(unsigned int data);
|
||||
|
||||
void lcd_cmd(unsigned int cmd);
|
||||
void lcd_data(unsigned int data);
|
||||
void lcd_write_reg(unsigned int reg, unsigned int val);
|
||||
void lcdif_init(enum lcdif_mode_t mode);
|
||||
void lcdctrl_bypass(unsigned int on_off);
|
||||
void lcd_display_init(void);
|
||||
|
||||
void lcd_set_gram_area(int x, int y, int width, int height);
|
||||
|
||||
#endif /* _LCDIF_RK27XX_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue