Show a patch.

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

{
    "id": 26813,
    "url": "https://patchwork.libcamera.org/api/patches/26813/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/26813/",
    "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": "<20260601092806.2745728-1-qi.hou@nxp.com>",
    "date": "2026-06-01T09:28:06",
    "name": "LF-18392 libcamera: software_isp: debayer_egl: Demote unsupported format log to Debug",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "d7ab87b88e2119febda41dcc760a23a4190fcfcf",
    "submitter": {
        "id": 195,
        "url": "https://patchwork.libcamera.org/api/people/195/?format=api",
        "name": "Qi Hou",
        "email": "qi.hou@nxp.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/26813/mbox/",
    "series": [
        {
            "id": 5970,
            "url": "https://patchwork.libcamera.org/api/series/5970/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5970",
            "date": "2026-06-01T09:28:06",
            "name": "LF-18392 libcamera: software_isp: debayer_egl: Demote unsupported format log to Debug",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5970/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/26813/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/26813/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 EBAD1BDCBC\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  1 Jun 2026 09:28:13 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id AE6A262FE8;\n\tMon,  1 Jun 2026 11:28:12 +0200 (CEST)",
            "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5DCFA62FE1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  1 Jun 2026 11:28:11 +0200 (CEST)",
            "from inva020.nxp.com (localhost [127.0.0.1])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id DB2F91A50EC;\n\tMon,  1 Jun 2026 11:28:10 +0200 (CEST)",
            "from aprdc01srsp001v.ap-rdc01.nxp.com\n\t(aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A49911A0910;\n\tMon,  1 Jun 2026 11:28:10 +0200 (CEST)",
            "from lsvm11u0000124.swis.ap-northeast-2.aws.nxp.com\n\t(lsvm11u0000124.swis.ap-northeast-2.aws.nxp.com [10.52.8.111])\n\tby aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id\n\t6A5F1180004C; Mon,  1 Jun 2026 17:28:09 +0800 (+08)"
        ],
        "From": "Qi Hou <qi.hou@nxp.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "nicolas@ndufresne.ca, jared.hu@nxp.com, qi.hou@nxp.com,\n\tjulien.vuillaumier@nxp.com",
        "Subject": "[PATCH] LF-18392 libcamera: software_isp: debayer_egl: Demote\n\tunsupported format log to Debug",
        "Date": "Mon,  1 Jun 2026 18:28:06 +0900",
        "Message-Id": "<20260601092806.2745728-1-qi.hou@nxp.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "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": "From: Hou Qi <qi.hou@nxp.com>\n\nDebayerEGL::getInputConfig() logs at Error level when it encounters an\nunsupported input format. This function is called during format\nenumeration from the simple pipeline handler's tryPipeline(), which\niterates over all pixel formats reported by the video capture device,\nincluding non-Bayer formats such as UYVY and YUYV. The caller already\nhandles the failure gracefully by checking the return value and falling\nback to direct passthrough when the debayer returns no output formats.\n\nSince encountering a non-Bayer format during enumeration is expected\nbehaviour rather than an error condition, demote the log message from\nError to Debug. This aligns with DebayerCpu::getInputConfig(), which\nlogs at Info level in the same situation.\n\nSigned-off-by: Qi Hou <qi.hou@nxp.com>\n---\n src/libcamera/software_isp/debayer_egl.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/src/libcamera/software_isp/debayer_egl.cpp b/src/libcamera/software_isp/debayer_egl.cpp\nindex 8f0c229f..1bd1efae 100644\n--- a/src/libcamera/software_isp/debayer_egl.cpp\n+++ b/src/libcamera/software_isp/debayer_egl.cpp\n@@ -73,7 +73,7 @@ int DebayerEGL::getInputConfig(PixelFormat inputFormat, DebayerInputConfig &conf\n \t\treturn 0;\n \t}\n \n-\tLOG(Debayer, Error)\n+\tLOG(Debayer, Debug)\n \t\t<< \"Unsupported input format \" << inputFormat;\n \n \treturn -EINVAL;\n",
    "prefixes": []
}