Messages in this thread | | | Date | Fri, 26 Dec 2008 18:11:13 +0100 (CET) | From | Guennadi Liakhovetski <> | Subject | [PATCH 0/4 v6] i.MX31: dmaengine and framebuffer drivers |
| |
Hi,
This is version 6 of dmaengine and framebuffer drivers for i.MX31.
Changes since version 5: as requested by Sascha Hauer switched to dynamic IPU IRQ mapping. Instead of statically allocating 137 irq_desc[] elements, I provide a configuration variable to specify how many interrupt slots should be allocated. The default value is 4, minimum 2, maximum 137. Then these slots are used to dynamically map interrupts upon user requests to available IRQ numbers. Also removed all traces of overlay framebuffer, and removed bogus use of nonstd field from the framebuffer driver, as requested by Geert Uytterhoeven. Thanks to all who commented.
Changes since version 4: addressed comments from Sascha Hauer, apart from: the idmac driver still uses two locks - a mutex and a spinlock, the "ugly" construction like "to_ipu(to_idmac(ichan->dma_chan.device));" is still there, still all 144 IRQs are registered. So now the driver is under drivers/dma, also fixed all docbook comments.
Changes since version 3: fixed idmac_issue_pending() to not reset the current buffer, fixed return value from idmac_tx_submit(), fixed framebuffer panning.
Changes since version 2: now uses a tasklet to clean up completed transaction descriptors, as suggested by Dan Williams.
Changes since version 1: rebased on the updated dmaengine framework.
Aimed at 2.6.29.
Based on linux-next as of commit f0e0e8954d03b414927650a6129ace01d554afdc.
Thanks Guennadi --- Guennadi Liakhovetski
| |