summaryrefslogtreecommitdiffstats
path: root/firmware/SOURCES
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2014-12-06 18:37:09 +0100
committerCástor Muñoz <cmvidal@gmail.com>2015-10-07 06:15:03 +0200
commit67b4e7f958f4b6569dce8c50c117b22c9f1f9ca7 (patch)
tree638f9a6141122065f0120cba51bafd7c8ea6f22e /firmware/SOURCES
parentd6ee2c9eafbf5381695d1c7eb01801855c85222b (diff)
downloadrockbox-67b4e7f958f4b6569dce8c50c117b22c9f1f9ca7.tar.gz
rockbox-67b4e7f958f4b6569dce8c50c117b22c9f1f9ca7.tar.bz2
rockbox-67b4e7f958f4b6569dce8c50c117b22c9f1f9ca7.zip
iPod Classic: use new PL080 DMA driver
This patch uses the new pl080 DMA driver for I2S playback and LCD update. I have tried to be as fiel as possible to the current behaviour, algorithms and configurations are the same, but using the new driver. Other modifications: Playback: - CHUNK_SIZE is decreased from 42988 to 8188 bytes, it does not affect normal playback (block size 1024), was tested using metronome (block size 46080). This change is needed because the new code commits d-cache range instead of commiting the whole d-cache, maximum time spent commiting the range should be limited, CHUNK_SIZE can be decreased even more if necessary. - pcm_play_dma_start() calls pcm_play_dma_stop() to stop the channel when it is running (metronome replays the tick sound without stopping the channel). - pcm_play_dma_get_peak_buffer(): same as actual SVN function but returns samples count instead of bytes count. TODO: AFAIK, actually this function is not used in RB. Not tested, but probably this function will fail because it returns pointers to the internal double buffer. LCD update: - suppresses lcd_wakeup semaphore and uses yield() Change-Id: I79b8aa47a941e0dd91847150618f3f7f676c26ef
Diffstat (limited to 'firmware/SOURCES')
-rw-r--r--firmware/SOURCES1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index 17f6ad7e0a..adfedcb212 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -1599,6 +1599,7 @@ target/arm/s5l8702/kernel-s5l8702.c
target/arm/s5l8702/system-s5l8702.c
target/arm/s5l8702/gpio-s5l8702.c
target/arm/s5l8702/pl080.c
+target/arm/s5l8702/dma-s5l8702.c
target/arm/s5l8702/ipod6g/lcd-ipod6g.c
target/arm/s5l8702/ipod6g/lcd-asm-ipod6g.S
#if 0 //TODO