Show a patch.

GET /api/1.1/patches/8949/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 8949,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/8949/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/8949/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20200724072218.943245-6-naush@raspberrypi.com>",
    "date": "2020-07-24T07:22:13",
    "name": "[libcamera-devel,v5,05/10] libcamera: pipeline: raspberrypi: Increase the number of RAW buffers",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "ee9c461e2dc5e97b912e958e5d93cfb3f5ad0c38",
    "submitter": {
        "id": 34,
        "url": "https://patchwork.libcamera.org/api/1.1/people/34/?format=api",
        "name": "Naushir Patuck",
        "email": "naush@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/8949/mbox/",
    "series": [
        {
            "id": 1132,
            "url": "https://patchwork.libcamera.org/api/1.1/series/1132/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1132",
            "date": "2020-07-24T07:22:08",
            "name": "Zero-copy RAW stream work",
            "version": 5,
            "mbox": "https://patchwork.libcamera.org/series/1132/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/8949/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/8949/checks/",
    "tags": {},
    "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 0B12DBD86F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 24 Jul 2020 07:22:58 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B0ED0611B1;\n\tFri, 24 Jul 2020 09:22:57 +0200 (CEST)",
            "from mail-wm1-x342.google.com (mail-wm1-x342.google.com\n\t[IPv6:2a00:1450:4864:20::342])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2594B6118A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Jul 2020 09:22:54 +0200 (CEST)",
            "by mail-wm1-x342.google.com with SMTP id f18so7327187wml.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Jul 2020 00:22:54 -0700 (PDT)",
            "from naushir-VirtualBox.patuck.local ([88.97.76.4])\n\tby smtp.gmail.com with ESMTPSA id\n\t32sm246595wrn.86.2020.07.24.00.22.51\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 24 Jul 2020 00:22:52 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"l39fHDOK\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=yqI13htY+92+Vw37ymwhyOkF1ISQUQRAuw0AJm1KssI=;\n\tb=l39fHDOKnu362+jI3tjWffOJgOjzBBRNqX96q3gcWxSUlL+zCdKiolFuKvON1I8htv\n\tOTAxWbIgA1G0YUnWIGpXaWarPOe4fqbb3WoRXfnTOQe4WHDiC0ZMc9hNcihohpZJYrQ5\n\tDlsyOBucASgWCwmrFXh1s3yj5sWIrGFx/PIXSNWa0gMV5R1wg1LeKBUeEzQR8pqNj33c\n\t6DF9HzxPExSx5Tw66bsOGbGVGR87CRHdrZNgVFjQiksg6og1qRLXx4w/aa18w486Nprv\n\twe9GYhCRoiqVH80yg59Iprj4mq64A4R3soSmg7EUKQhlddFt6lStCCFn7gndyJfls7xZ\n\tkyUg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=yqI13htY+92+Vw37ymwhyOkF1ISQUQRAuw0AJm1KssI=;\n\tb=EY2NKG8n55ONwhInx55skx3OCY6ECoHp6IIxKXTlYZRU572an3WDp+gktiA7hyihyM\n\tpvidoBzmPyNHbUludzQOQ6ogR2u75r+2rpBotpb5iDnxuw10ddVHSOFKsItQdgFIVs11\n\tTiSH3QDtRCXHrwTyVp8WcvENqoPbAfSDUvYR92n4ZElIUtU12a9tgTCbW+iUDtNwgD/1\n\tjkLDNKrSrX39E4bhQYu+A3Cgqdz2WAs9p3FUjTWqpDtGJvdj/JwM0hgIzxN7CuS5ADV+\n\tLZdmCUbGM+XPdXVXCFH96G8IS/r2LIK5RbEhMNrxUIbvVYWaa878gsGJWeG7z+P18UWQ\n\toaJw==",
        "X-Gm-Message-State": "AOAM530iNykQa6/18dAJ4s78bRFF/FcINLTlc7Z3kP+6PaQ2mXZFNT5b\n\tS4kNAe3lYGZZA9fzqYR0fI0fUlnJfABs+g==",
        "X-Google-Smtp-Source": "ABdhPJzt1FJnAw2upRMu97UQbGJLM0fyMJbffhESdQLAlenHQF29tE/vA4aamRLBCHOe6DNVftawoA==",
        "X-Received": "by 2002:a1c:2e10:: with SMTP id\n\tu16mr7954311wmu.121.1595575372954; \n\tFri, 24 Jul 2020 00:22:52 -0700 (PDT)",
        "From": "Naushir Patuck <naush@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 24 Jul 2020 08:22:13 +0100",
        "Message-Id": "<20200724072218.943245-6-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200724072218.943245-1-naush@raspberrypi.com>",
        "References": "<20200724072218.943245-1-naush@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH v5 05/10] libcamera: pipeline:\n\traspberrypi: Increase the number of RAW buffers",
        "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>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Increase the number of expected RAW buffers in the stream configuration\nto 2. This will avoid dropping Unicam frames when exporting RAW streams.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\nReviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nTested-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/libcamera/pipeline/raspberrypi/raspberrypi.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\nindex 8c7b6341..31e15a45 100644\n--- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n+++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n@@ -379,7 +379,7 @@ CameraConfiguration *PipelineHandlerRPi::generateConfiguration(Camera *camera,\n \t\t\tsensorFormat = findBestMode(fmts, size);\n \t\t\tpixelFormat = sensorFormat.fourcc.toPixelFormat();\n \t\t\tASSERT(pixelFormat.isValid());\n-\t\t\tbufferCount = 1;\n+\t\t\tbufferCount = 2;\n \t\t\trawCount++;\n \t\t\tbreak;\n \n",
    "prefixes": [
        "libcamera-devel",
        "v5",
        "05/10"
    ]
}