diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2012-02-02 11:20:00 +0100 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2012-02-02 11:20:00 +0100 |
| commit | 3511435ee321b38c0d9d86d88d0c6e6a25a1c427 (patch) | |
| tree | 5024eacf874973b35b2da63d3850c12e44061c71 | |
| parent | ac4d648958a2d26738f0ebf118c5b287020d4f73 (diff) | |
| download | rockbox-3511435ee321b38c0d9d86d88d0c6e6a25a1c427.zip rockbox-3511435ee321b38c0d9d86d88d0c6e6a25a1c427.tar.gz rockbox-3511435ee321b38c0d9d86d88d0c6e6a25a1c427.tar.bz2 rockbox-3511435ee321b38c0d9d86d88d0c6e6a25a1c427.tar.xz | |
fuze+: don't use the DCP to copy the framebuffer since it can yield and then several lcd udpates could run concurrently with undefined behaviour
Change-Id: I39167188f354859fc8e4f9f979c97343b40beb7d
| -rw-r--r-- | firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c index 6ce3e37..36084af 100644 --- a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c +++ b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c @@ -531,8 +531,7 @@ void lcd_update_rect(int x, int y, int w, int h) */ if(w == LCD_WIDTH) { - imx233_dcp_memcpy_ex(lcd_dcp_channel, false, &lcd_framebuffer[y][x], - (void *)FRAME, h * w * sizeof(fb_data)); + memcpy((void *)FRAME, &lcd_framebuffer[y][x], w * h * sizeof(fb_data)); } else { |