Show a patch.

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

{
    "id": 15074,
    "url": "https://patchwork.libcamera.org/api/patches/15074/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/15074/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/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": "<20211207224512.753979-9-djrscally@gmail.com>",
    "date": "2021-12-07T22:45:11",
    "name": "[libcamera-devel,v3,8/9] libcamera: ipu3: Pass lens controls to config info",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "1f8a95176183ecb5ff6ac7688592ddb3330fe5a5",
    "submitter": {
        "id": 90,
        "url": "https://patchwork.libcamera.org/api/people/90/?format=api",
        "name": "Daniel Scally",
        "email": "djrscally@gmail.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/15074/mbox/",
    "series": [
        {
            "id": 2824,
            "url": "https://patchwork.libcamera.org/api/series/2824/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2824",
            "date": "2021-12-07T22:45:03",
            "name": "Enumerate CameraLens by following sensor's ancillary links",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/2824/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/15074/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/15074/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 C39D5C325A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  7 Dec 2021 22:45:39 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 5460060592;\n\tTue,  7 Dec 2021 23:45:39 +0100 (CET)",
            "from mail-wm1-x336.google.com (mail-wm1-x336.google.com\n\t[IPv6:2a00:1450:4864:20::336])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6AFB16087A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  7 Dec 2021 23:45:34 +0100 (CET)",
            "by mail-wm1-x336.google.com with SMTP id i12so482685wmq.4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 07 Dec 2021 14:45:34 -0800 (PST)",
            "from localhost.localdomain\n\t(cpc141996-chfd3-2-0-cust928.12-3.cable.virginm.net. [86.13.91.161])\n\tby smtp.gmail.com with ESMTPSA id\n\ty12sm980332wrn.73.2021.12.07.14.45.33\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 07 Dec 2021 14:45:33 -0800 (PST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"nOSCQctt\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=uxWeAh8AddECwF8byMMsyWIm2E9jJoMH1ttCbZiwcMk=;\n\tb=nOSCQcttndzAk+ibs/u3xgESsN/qiCxBfybCdJk7xPVPG96Mr1T307Xw4hcYVUVRtl\n\tYSQleA/I7fv7Lz9ti9R3RWNEcRmOcVOIxz3ZOt3+OJlwNMv6jMmtICLH3BctkuVE22No\n\t9pD0Jlh5OXX0gSuO2LwQcMbWqVhWKjKPHC6H150paLVgPraM385J9aiHGBBVX5unc6XS\n\tz4cOFlDiLmCXb5R5AdA4Knmj2VDTy6VRdW8gye4lwFBnrBwac82FRIVzhcj+HcJwrv+3\n\t5HytAJ7+LjnT10ClGCtj3vT6f5L7P5vfTEHBzIEl+8sSRnFz3TMh/6qLVVGIu6y/RxNH\n\tdNJQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\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=uxWeAh8AddECwF8byMMsyWIm2E9jJoMH1ttCbZiwcMk=;\n\tb=bAreTVNL4irYhRtjnWH/KVz0ua26u70HRhBuKdEgsmDYwjBwNzzjMPVxbpdrlt5PwD\n\tnZdZsJY0ZCuhq2pdxhNmkFRZ9kPUmUsdLeOn2gE9ggT2ebjIKkJCpE0ZGwDnl86YfBuf\n\t4IWs8ExAy1rtGYsEH83JfPk35ag+6gBP/3Gt+OI1G5VP6V/TiyxNMzktU0bbuSy0aAx+\n\tAWNFrfpGdFZU8+ebb4rwpD1NkV4WnCvdushtoULRmbR8KmN0BX/tubtIwJQ33mLo46uZ\n\t61qBymajxXwfeRRd5GBMxT9Nk7JnplduP0gb9I6PUdCJUwBFogWRyX9a1/C4xex8ckoA\n\t/FCA==",
        "X-Gm-Message-State": "AOAM532QdPe07BqY6294rXSbp601NrDjA8jVQqBqhYkPSL0mpR+OVvxZ\n\t9diTxswWd4EGG85eKUQFrMgXqlM9iys=",
        "X-Google-Smtp-Source": "ABdhPJzx8ZvVLGVQMCOb6TEL9J+nH6GezH0/CWGKWFYMdMb1TONYIcZF94PWBsxHYOxgnGxqEth3PA==",
        "X-Received": "by 2002:a1c:1dd6:: with SMTP id\n\td205mr10493453wmd.77.1638917134201; \n\tTue, 07 Dec 2021 14:45:34 -0800 (PST)",
        "From": "Daniel Scally <djrscally@gmail.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Tue,  7 Dec 2021 22:45:11 +0000",
        "Message-Id": "<20211207224512.753979-9-djrscally@gmail.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20211207224512.753979-1-djrscally@gmail.com>",
        "References": "<20211207224512.753979-1-djrscally@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v3 8/9] libcamera: ipu3: Pass lens\n\tcontrols to config info",
        "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>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "When configuring the pipeline we want to share the controls for any\nVCM device against the sensor too - pass them to the lensControls\nmember of configInfo\n\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nSigned-off-by: Daniel Scally <djrscally@gmail.com>\n---\nChanges in v3:\n\n\t- None\n\n src/libcamera/pipeline/ipu3/ipu3.cpp | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp\nindex 31322062..03824eee 100644\n--- a/src/libcamera/pipeline/ipu3/ipu3.cpp\n+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp\n@@ -660,6 +660,11 @@ int PipelineHandlerIPU3::configure(Camera *camera, CameraConfiguration *c)\n \n \tipa::ipu3::IPAConfigInfo configInfo;\n \tconfigInfo.sensorControls = data->cio2_.sensor()->controls();\n+\n+\tCameraLens *lens = data->cio2_.sensor()->focusLens();\n+\tif (lens)\n+\t\tconfigInfo.lensControls = lens->controls();\n+\n \tconfigInfo.sensorInfo = sensorInfo;\n \tconfigInfo.bdsOutputSize = config->imguConfig().bds;\n \tconfigInfo.iif = config->imguConfig().iif;\n",
    "prefixes": [
        "libcamera-devel",
        "v3",
        "8/9"
    ]
}