diff options
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/lcd-x1000.c')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/lcd-x1000.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_x1000/lcd-x1000.c b/firmware/target/mips/ingenic_x1000/lcd-x1000.c index 193ff082e0..b66359a598 100644 --- a/firmware/target/mips/ingenic_x1000/lcd-x1000.c +++ b/firmware/target/mips/ingenic_x1000/lcd-x1000.c | |||
@@ -457,6 +457,10 @@ void lcd_update(void) | |||
457 | jz_writef(LCD_MCTRL, DMA_START(1), DMA_MODE(1)); | 457 | jz_writef(LCD_MCTRL, DMA_START(1), DMA_MODE(1)); |
458 | } | 458 | } |
459 | 459 | ||
460 | /* We can do partial updates even though the DMA doesn't seem to handle it well, | ||
461 | * due to the fact that this is actually putting it into a buffer, and then | ||
462 | * it gets transferred via DMA to a secondary buffer, which gets transferred in | ||
463 | * its entirety to the LCD through a different DMA process. */ | ||
460 | void lcd_update_rect(int x, int y, int width, int height) | 464 | void lcd_update_rect(int x, int y, int width, int height) |
461 | { | 465 | { |
462 | /* Clamp the coordinates */ | 466 | /* Clamp the coordinates */ |