From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753820AbcHRKX1 (ORCPT ); Thu, 18 Aug 2016 06:23:27 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:54114 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752847AbcHRKXZ (ORCPT ); Thu, 18 Aug 2016 06:23:25 -0400 From: Peter Ujfalusi To: CC: , , , , Subject: [PATCH] [media] v4l: omap_vout: vrfb: Convert to dmaengine Date: Thu, 18 Aug 2016 13:22:59 +0300 Message-ID: <20160818102259.5815-1-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.9.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The dmaengine driver for sDMA now have support for interleaved transfer. This trasnfer type was open coded with the legacy omap-dma API, but now we can move it to dmaengine. Signed-off-by: Peter Ujfalusi --- The dmaengine driver for sDMA now have support for interleaved transfer. This trasnfer type was open coded with the legacy omap-dma API, but now we can move it to dmaengine. Signed-off-by: Peter Ujfalusi --- Hi, I do not have access to any hardware where I could test if the conversion works correctly. I think it should. The dmaengine part looks fine to me - not that this means too much as I have written it ;) Based on debugging the code with starring at it I think the old and the new way would end up setting up the DMA in a same way. However the dmaengine driver will set CSDP_DST_PACKED | CSDP_SRC_PACKED. Laurent: would you be able to test this? Regards, Peter drivers/media/platform/omap/omap_vout_vrfb.c | 133 ++++++++++++++++----------- drivers/media/platform/omap/omap_voutdef.h | 6 +- 2 files changed, 83 insertions(+), 56 deletions(-) diff --git a/drivers/media/platform/omap/omap_vout_vrfb.c b/drivers/media/platform/omap/omap_vout_vrfb.c index b8638e4e1627..957ff7621652 100644 --- a/drivers/media/platform/omap/omap_vout_vrfb.c +++ b/drivers/media/platform/omap/omap_vout_vrfb.c @@ -16,7 +16,6 @@ #include #include -#include #include