diff options
| author | Dave Chapman <dave@dchapman.com> | 2006-02-16 21:15:05 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2006-02-16 21:15:05 +0000 |
| commit | 72ea4f38baf7a806536ef4b3e99110615e1ed027 (patch) | |
| tree | 8feb3063815b2fcfa0791a6f19a3dd558fd169e5 | |
| parent | a4504bc276497aa7d30098446a71775045dbd16a (diff) | |
| download | rockbox-72ea4f38baf7a806536ef4b3e99110615e1ed027.zip rockbox-72ea4f38baf7a806536ef4b3e99110615e1ed027.tar.gz rockbox-72ea4f38baf7a806536ef4b3e99110615e1ed027.tar.bz2 rockbox-72ea4f38baf7a806536ef4b3e99110615e1ed027.tar.xz | |
iPod 5G: Put lcd_update_rect function in IRAM - increases speed from 52fps to 54fps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8708 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/drivers/lcd-ipodvideo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-ipodvideo.c b/firmware/drivers/lcd-ipodvideo.c index d73d9c3..8c404c8 100644 --- a/firmware/drivers/lcd-ipodvideo.c +++ b/firmware/drivers/lcd-ipodvideo.c @@ -131,7 +131,7 @@ static unsigned lcd_bcm_read32(unsigned address) { return inw(0x30000000) | inw(0x30000000) << 16; } -static void lcd_bcm_finishup(void) { +static inline void lcd_bcm_finishup(void) { unsigned data; outw(0x31, 0x30030000); @@ -148,6 +148,7 @@ static void lcd_bcm_finishup(void) { } /* Update a fraction of the display. */ +void lcd_update_rect(int x, int y, int width, int height) ICODE_ATTR; void lcd_update_rect(int x, int y, int width, int height) { int rect1,rect2,rect3,rect4; |