LWN.net Logo

i.MX31: dmaengine and framebuffer drivers

From:  Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To:  linux-arm-kernel@lists.arm.linux.org.uk
Subject:  [PATCH 0/4 v8] i.MX31: dmaengine and framebuffer drivers
Date:  Thu, 8 Jan 2009 19:04:04 +0100 (CET)
Message-ID:  <Pine.LNX.4.64.0901081850280.6387@axis700.grange>
Cc:  Sascha Hauer <s.hauer@pengutronix.de>, Dan Williams <dan.j.williams@intel.com>, linux-fbdev-devel@lists.sourceforge.net, adaplas@gmail.com, linux-kernel@vger.kernel.org
Archive-link:  Article, Thread

Hi,

This is version 8 of dmaengine and framebuffer drivers for i.MX31.

Changes since version 7: updated to today's Linus git with pulled patches 
from async_tx tree (dmaengine)

Changes since version 6: fixed compiler warnings, compilation breakage for 
CONFIG_MX3_IPU not defined

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 Linus' git commit 9e42d0cf5020aaf217433cad1a224745241d212a
plus git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx.git next

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds