Show a patch.

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

{
    "id": 25146,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/25146/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/25146/",
    "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": "<20251120233347.5046-23-bryan.odonoghue@linaro.org>",
    "date": "2025-11-20T23:33:46",
    "name": "[v4,22/23] ipa: software_isp: Call createSelfEnumeratingAlgorithm() to statically instantiate CCM algo",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "456124d7e5a2ae1cec72fff163a10b5a08f1577e",
    "submitter": {
        "id": 175,
        "url": "https://patchwork.libcamera.org/api/1.1/people/175/?format=api",
        "name": "Bryan O'Donoghue",
        "email": "bryan.odonoghue@linaro.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/25146/mbox/",
    "series": [
        {
            "id": 5600,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5600/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5600",
            "date": "2025-11-20T23:33:24",
            "name": "Add GLES 2.0 GPUISP to libcamera",
            "version": 4,
            "mbox": "https://patchwork.libcamera.org/series/5600/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/25146/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/25146/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 02647BD80A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 20 Nov 2025 23:34:37 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C2A4960AB1;\n\tFri, 21 Nov 2025 00:34:36 +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 9553060AB7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 21 Nov 2025 00:34:34 +0100 (CET)",
            "by mail-wm1-x336.google.com with SMTP id\n\t5b1f17b1804b1-47796a837c7so9457975e9.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 20 Nov 2025 15:34:34 -0800 (PST)",
            "from inspiron14p-linux.ht.home (188-141-3-146.dynamic.upc.ie.\n\t[188.141.3.146]) by smtp.gmail.com with ESMTPSA id\n\tffacd0b85a97d-42cb7fa3a81sm7984139f8f.26.2025.11.20.15.34.31\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 20 Nov 2025 15:34:32 -0800 (PST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"O+esMvw8\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1763681674; x=1764286474;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=9VmQKr/hU7sWeTMeG+xxd0aodCmXF/U2cLs3hX39Jp0=;\n\tb=O+esMvw8DoJa4Ad5w6GI2J4Cw74dWsI8u/1n1nBMt/A3lbs5OUZdlBp5e6lKd4zERo\n\txafg4ErPIzhfBxIOOO5rUuETOw6Hv0x3lCJcPKG5AnLvoqM4CeLDojQdyO73eU4Pd0ev\n\t+dAKc9IN3Sr1nHs8kFncNLc9pOBc8xpg20ynK8IebG1DFihndLsNrc1rAAHrZ/aDQper\n\tay4MLkYsVmaejusNyKxuNV+WOj5RTvhDA74DJwCErIOk1KL9DyYVuDS7IAI19QJN0xTN\n\t878YdtP9KTl1sGWqbZpbG2OUNXO24bjnZQl3MhWvPqsRtnbE70tV/s4wOAttaa8987E8\n\tU7FQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1763681674; x=1764286474;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n\t:to:cc:subject:date:message-id:reply-to;\n\tbh=9VmQKr/hU7sWeTMeG+xxd0aodCmXF/U2cLs3hX39Jp0=;\n\tb=NADtWQ9tNsAPQjrwlCUwmPKrHysskzxJQffjbFHW46ODdPyJpdX2F9sBbxRu36DlZh\n\tc72DbONkqp5nPcEBClrjNNYjkonY8490MhSYxZxz55GMCLRTnu3cpvDj3aoYbAOcjJrV\n\tk3aYM3RH8Qr7MCaVyhG7Y0ZkXjZALXa9qxGPWyZkfeT260MbAH4rVbTZB1Dz2O2pibzo\n\tDDmh0XdQ04vB5WnrIcVCeGl1GiowoiCg9+tgGJPufAJ+w1D+ajdO5Ey8DOPYE+DRPjdF\n\tkGuBVca2zZ7GZupIihJu4xBJh7LCZ9TuyCjksKRjK/zDPOhqIwQcpkckLDEw7kjrJy++\n\tB5mQ==",
        "X-Gm-Message-State": "AOJu0YyIlz333xZkKvzpOSBe1rjFb2+du5OdmAFN9gLA5cmdtAfhgWmc\n\tu3DbcTxLArxs1HJlAagtjKkMcK9fjP4fKXsvj8Vv2mJAFEXqxhvTVvEFeLyIJPPeaPzZX/3HT7C\n\trsDLlUKU=",
        "X-Gm-Gg": "ASbGncvMVW0IhwXRGpKP/D+Q1K/qdbQLpILDW7MQVyGtrqAWhxygv0jJow0/jcnEX+m\n\tOfD4JGOqVEGUVswnHpNGzzELy6EcgGnWgTonrDfCwkIKevVbTeE5mtZJ7S2IsAcraxWVY/3DHSy\n\tKu8klagBbAoomuFx9Mv7WNfMss3PM+c1RqQwKfkIJ0RljR3ozMdGDkcKZPJBmD0NCIYwMIj6uVy\n\t7uJhzj6Ukz537dpXKLe+9hHdkRM+PNFAodPp6vFM43O0T/zSFqSgmZtC1lKBDbJ9FhH3pbOqRPG\n\tr0za/kDuD7ihrtEv/nXBTit9Wh7O7C85Z9wBDmxQksY2rRP/FJszzRt0Cay6zXcjhYevMs9L0ii\n\tJy3Nbx+t3R0JuINjH56fYHvGrT2xJt8lRViO66NoQ+ZJTwpKuXqNSwbC2eivlvM14iNlMM2AEV9\n\tuz44hnB2PvIYi8eaj4FPz2oI3/15nSYsWMfvKaVNrqEN7lvCvcZ6HDbsdCvzkQCts/uHA=",
        "X-Google-Smtp-Source": "AGHT+IEdgNne4FiVJ6M/NsFGwXj2YPXV913UW8VzRNforkkTL5WJWBQstKvle9TfhCDFzu1SU55xUQ==",
        "X-Received": "by 2002:a05:600c:1d0e:b0:477:89d5:fdb2 with SMTP id\n\t5b1f17b1804b1-477c017d9damr3359855e9.14.1763681673929; \n\tThu, 20 Nov 2025 15:34:33 -0800 (PST)",
        "From": "Bryan O'Donoghue <bryan.odonoghue@linaro.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "pavel@ucw.cz,\n\tBryan O'Donoghue <bryan.odonoghue@linaro.org>",
        "Subject": "[PATCH v4 22/23] ipa: software_isp: Call\n\tcreateSelfEnumeratingAlgorithm() to statically instantiate CCM algo",
        "Date": "Thu, 20 Nov 2025 23:33:46 +0000",
        "Message-ID": "<20251120233347.5046-23-bryan.odonoghue@linaro.org>",
        "X-Mailer": "git-send-email 2.51.2",
        "In-Reply-To": "<20251120233347.5046-1-bryan.odonoghue@linaro.org>",
        "References": "<20251120233347.5046-1-bryan.odonoghue@linaro.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n src/ipa/simple/soft_simple.cpp | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/src/ipa/simple/soft_simple.cpp b/src/ipa/simple/soft_simple.cpp\nindex 523ff07b3..ddfc14c67 100644\n--- a/src/ipa/simple/soft_simple.cpp\n+++ b/src/ipa/simple/soft_simple.cpp\n@@ -137,6 +137,12 @@ int IPASoftSimple::init(const IPASettings &settings,\n \tif (ret)\n \t\treturn ret;\n \n+\tif (context_.gpuIspEnabled && !data->contains(\"ccm\")) {\n+\t\tret = createSelfEnumeratingAlgorithm(context_, std::string(\"Ccm\"));\n+\t\tif (ret)\n+\t\t\treturn ret;\n+\t}\n+\n \t*ccmEnabled = context_.ccmEnabled;\n \n \tparams_ = nullptr;\n",
    "prefixes": [
        "v4",
        "22/23"
    ]
}