1
0
Fork 0
forked from len0rd/rockbox

Gigabeat S: There's no reason to pause the LCD DMA when changing the framebuffer address.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26054 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2010-05-15 14:58:16 +00:00
parent e73a175d6d
commit e34c0593e7

View file

@ -50,10 +50,8 @@ void lcd_init_device(void)
/* Only do this once to avoid flicker */
memset(FRAME, 0x00, FRAME_SIZE);
#endif
IPU_IDMAC_CHA_EN &= ~(1ul << MAIN_LCD_IDMAC_CHANNEL);
IPU_IMA_ADDR = ((0x1 << 16) | (MAIN_LCD_IDMAC_CHANNEL << 4)) + (1 << 3);
IPU_IMA_DATA = FRAME_PHYS_ADDR;
IPU_IDMAC_CHA_EN |= (1ul << MAIN_LCD_IDMAC_CHANNEL);
}
/* Update a fraction of the display. */