From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754820AbbIHM0a (ORCPT ); Tue, 8 Sep 2015 08:26:30 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:54572 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754263AbbIHM0Q (ORCPT ); Tue, 8 Sep 2015 08:26:16 -0400 Subject: Re: [PATCH] dmaengine: omap-dma: Add support for memcpy To: Laurent Pinchart References: <1429688069-31765-1-git-send-email-peter.ujfalusi@ti.com> <3187470.tKXzQaPa1m@avalon> CC: , , , , , , , From: Peter Ujfalusi X-Enigmail-Draft-Status: N1110 Message-ID: <55EED3BD.1080605@ti.com> Date: Tue, 8 Sep 2015 15:25:33 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <3187470.tKXzQaPa1m@avalon> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Laurent, On 09/08/2015 02:24 PM, Laurent Pinchart wrote: > Hi Peter, > > Thank you for the patch. > > While trying to port the omap_vout driver to the DMA engine API I noticed that > the driver makes use of double-indexed transfers, which are not supported by > the omap-dma driver. I haven't checked in details what would be required, but > the interleaved API might be a good candidate for this. Do you have any plan > to add support for double-indexed transfers to the omap-dma driver ? If double-indexed transfer support is needed by drivers still using the legacy/direct sDMA API, then I don't think we have other options.. So far I have not looked at that part and where it would fit. I'll try to find time to look at this. I hope not in the distant future ;) > On Wednesday 22 April 2015 10:34:29 Peter Ujfalusi wrote: >> The sDMA controller is capable of performing memory copy operation. It need >> to be configured to software triggered mode and without HW synchronization. >> The sDMA can copy data which is aligned to 8, 16 or 32 bits. >> >> Signed-off-by: Peter Ujfalusi >> --- >> drivers/dma/omap-dma.c | 51 +++++++++++++++++++++++++++++++++++++++++++++-- >> 1 file changed, 49 insertions(+), 2 deletions(-) > -- Péter