diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-05-20 12:43:23 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-05-20 12:43:23 +0000 |
commit | 9c2ebdf7247f6a2d27dbfc10305f4e92f8bbb801 (patch) | |
tree | 0e3557bcc97f1bbb2c7f8abb132783ab73c92e1a /firmware/target/mips | |
parent | 8bcb4a69715f04886b669d154f58bb2cc38ffd24 (diff) | |
download | rockbox-9c2ebdf7247f6a2d27dbfc10305f4e92f8bbb801.tar.gz rockbox-9c2ebdf7247f6a2d27dbfc10305f4e92f8bbb801.zip |
Speed up LCD driver on Ingenic Jz4740 by doing some sort of partial LCD updates.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20997 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/lcd-jz4740.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/lcd-jz4740.c b/firmware/target/mips/ingenic_jz47xx/lcd-jz4740.c index 44d80e1c58..e3b1bd918b 100644 --- a/firmware/target/mips/ingenic_jz47xx/lcd-jz4740.c +++ b/firmware/target/mips/ingenic_jz47xx/lcd-jz4740.c @@ -71,13 +71,11 @@ bool lcd_active(void) /* Update a fraction of the display. */ void lcd_update_rect(int x, int y, int width, int height) { - /* Currently only do full updates. - * DMA can't handle partial updates and CPU is too slow compared - * to full DMA updates */ + /* Currently only do updates with full LCD width. + * DMA can't handle full partial updates and CPU is too slow compared + * to DMA updates */ x = 0; - y = 0; width = LCD_WIDTH; - height = LCD_HEIGHT; mutex_lock(&lcd_mtx); |