{"id":8835,"url":"https://patchwork.libcamera.org/api/1.1/covers/8835/?format=json","web_url":"https://patchwork.libcamera.org/cover/8835/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20200717001518.20285-1-laurent.pinchart@ideasonboard.com>","date":"2020-07-17T00:15:16","name":"[libcamera-devel,v3,0/2] Replace Raspberry Pi VCSM CMA with DMA heaps","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/1.1/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/8835/mbox/","series":[{"id":1113,"url":"https://patchwork.libcamera.org/api/1.1/series/1113/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1113","date":"2020-07-17T00:15:16","name":"Replace Raspberry Pi VCSM CMA with DMA heaps","version":3,"mbox":"https://patchwork.libcamera.org/series/1113/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/8835/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 0273CC2E7A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 17 Jul 2020 00:15:35 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 78FE860925;\n\tFri, 17 Jul 2020 02:15:34 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3CC3A60498\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 17 Jul 2020 02:15:33 +0200 (CEST)","from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi\n\t[81.175.216.236])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id AAD892B7;\n\tFri, 17 Jul 2020 02:15:32 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"fdjoyFyg\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1594944932;\n\tbh=ZJnNQqKko5vW0SSFavlxCstbLWrnsUDch9xZrGKuqAw=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=fdjoyFygQF9LjD/fPkQbA3hyemBjQXhH20N+tpBvPns8xdC9txn6Gc+GVaBRwaN2P\n\t4tQ125Ot157K79C/pseeNUS4mmAjjVqFAkwttOGEkiuYxTs5zaI7BzE/Rm9U0ObOeH\n\tp2yJZMJyUF9jVuJtt9NKHuWZvNKUhwqAxFYZcQ/E=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"Naushir Patuck <naush@raspberrypi.com>","Date":"Fri, 17 Jul 2020 03:15:16 +0300","Message-Id":"<20200717001518.20285-1-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.27.0","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v3 0/2] Replace Raspberry Pi VCSM CMA with\n\tDMA heaps","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Cc":"libcamera-devel@lists.libcamera.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi Naush,\n\nI'm posting a v3 of your patches as I've rebased them on top of the\nIPAInterface::configure() series that was recently merged. This version\ncontains the few changes I mentioned in the review of v2. Would you be\nable to give it a last round of review ?\n\nFeel free to push the kernel changes whenever is convenient, and notify\nme when it will be done. I'll push this series right after.\n\nNaushir Patuck (2):\n  include: linux: Add dma-buf.h and dma-heap.h UAPI headers\n  libcamera: pipeline: ipa: raspberrypi: Use dma heap allocs for LS\n    tables\n\n include/linux/bcm2835-isp.h                   |   4 +-\n include/linux/dma-buf.h                       |  50 ++++++\n include/linux/dma-heap.h                      |  53 +++++++\n include/linux/vc_sm_cma_ioctl.h               | 135 ----------------\n src/ipa/raspberrypi/raspberrypi.cpp           |  28 +++-\n .../pipeline/raspberrypi/dma_heaps.cpp        |  84 ++++++++++\n .../pipeline/raspberrypi/dma_heaps.h          |  31 ++++\n .../pipeline/raspberrypi/meson.build          |   1 +\n .../pipeline/raspberrypi/raspberrypi.cpp      |  49 ++----\n src/libcamera/pipeline/raspberrypi/vcsm.h     | 149 ------------------\n 10 files changed, 257 insertions(+), 327 deletions(-)\n create mode 100644 include/linux/dma-buf.h\n create mode 100644 include/linux/dma-heap.h\n delete mode 100644 include/linux/vc_sm_cma_ioctl.h\n create mode 100644 src/libcamera/pipeline/raspberrypi/dma_heaps.cpp\n create mode 100644 src/libcamera/pipeline/raspberrypi/dma_heaps.h\n delete mode 100644 src/libcamera/pipeline/raspberrypi/vcsm.h"}