From patchwork Wed May 3 11:08:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 9709449 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 479AA6021C for ; Wed, 3 May 2017 11:09:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 396AE285EA for ; Wed, 3 May 2017 11:09:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2CBCA28602; Wed, 3 May 2017 11:09:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 768DF28557 for ; Wed, 3 May 2017 11:09:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751447AbdECLJO (ORCPT ); Wed, 3 May 2017 07:09:14 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:64826 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751010AbdECLJK (ORCPT ); Wed, 3 May 2017 07:09:10 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v43B8oRi009818; Wed, 3 May 2017 06:08:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1493809730; bh=M9161AQlcGIwBxjWm+zQkVkttFpvQ8OwhNZTPst3xF8=; h=From:To:CC:Subject:Date; b=fziO3IaBEd9nQiqaRVzKxbpT/TTT3fQ7GNM5eh6uNjavjsJ+raQ+aUTZXsgvH0ybq p104pnkPpVMB+ldRV+64/Up7UTiNPIdOFhviXKB5mymL4UTgtTdvl1sYvjYFHCuR2c 0LK/XfzDInHqyYa8L1JO3rMcGwkaQUhPMrohC2yI= Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v43B8oZl026001; Wed, 3 May 2017 06:08:50 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Wed, 3 May 2017 06:08:49 -0500 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v43B8kRV031201; Wed, 3 May 2017 06:08:47 -0500 From: Peter Ujfalusi To: CC: , , , , , , Subject: [RESEND v2 PATCH] v4l: omap_vout: vrfb: Convert to dmaengine Date: Wed, 3 May 2017 14:08:51 +0300 Message-ID: <20170503110851.8335-1-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.12.2 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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, changes since RESEND (27.10.2016): - rebased on next-20170503 I can not test it on real HW (still), but I have validated [1] that the change is correct and should not cause any regression. Laurent: can you verify the patch on a real hardware? 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 92c4e1826356..45a553d4f5b2 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