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 /firmware/drivers/lcd-ipodvideo.c | |
parent | a4504bc276497aa7d30098446a71775045dbd16a (diff) | |
download | rockbox-72ea4f38baf7a806536ef4b3e99110615e1ed027.tar.gz rockbox-72ea4f38baf7a806536ef4b3e99110615e1ed027.zip |
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
Diffstat (limited to 'firmware/drivers/lcd-ipodvideo.c')
-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 d73d9c3e42..8c404c80e4 100644 --- a/firmware/drivers/lcd-ipodvideo.c +++ b/firmware/drivers/lcd-ipodvideo.c | |||
@@ -131,7 +131,7 @@ static unsigned lcd_bcm_read32(unsigned address) { | |||
131 | return inw(0x30000000) | inw(0x30000000) << 16; | 131 | return inw(0x30000000) | inw(0x30000000) << 16; |
132 | } | 132 | } |
133 | 133 | ||
134 | static void lcd_bcm_finishup(void) { | 134 | static inline void lcd_bcm_finishup(void) { |
135 | unsigned data; | 135 | unsigned data; |
136 | 136 | ||
137 | outw(0x31, 0x30030000); | 137 | outw(0x31, 0x30030000); |
@@ -148,6 +148,7 @@ static void lcd_bcm_finishup(void) { | |||
148 | } | 148 | } |
149 | 149 | ||
150 | /* Update a fraction of the display. */ | 150 | /* Update a fraction of the display. */ |
151 | void lcd_update_rect(int x, int y, int width, int height) ICODE_ATTR; | ||
151 | void lcd_update_rect(int x, int y, int width, int height) | 152 | void lcd_update_rect(int x, int y, int width, int height) |
152 | { | 153 | { |
153 | int rect1,rect2,rect3,rect4; | 154 | int rect1,rect2,rect3,rect4; |