[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTi=otwukcL2RM3P=hdAgzY+QDv99abQh4QXtVuqo@mail.gmail.com>
Date: Mon, 16 Aug 2010 14:27:15 +0200
From: Linus Walleij <linus.ml.walleij@...il.com>
To: Lothar Waßmann <LW@...o-electronics.de>
Cc: Sascha Hauer <s.hauer@...gutronix.de>,
linux-kernel@...r.kernel.org,
Dan Williams <dan.j.williams@...el.com>,
Haavard Skinnemoen <haavard.skinnemoen@...el.com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 1/3] dmaengine: add possibility for cyclic transfers
2010/8/16 Lothar Waßmann <LW@...o-electronics.de>:
> Why not implement this feature using cyclic SG lists (created with
> sg_chain())? This would give you endless DMA transfers without any
> special DMA API extensions.
That would be elegant...
The driver will have to detect that the sglist is chained like an
ouroboros to program the DMAC apropriately, is is easy to
detect if an sglist is chained onto itself?
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists