Patch Detail
Show a patch.
GET /api/1.1/patches/26400/?format=api
{ "id": 26400, "url": "https://patchwork.libcamera.org/api/1.1/patches/26400/?format=api", "web_url": "https://patchwork.libcamera.org/patch/26400/", "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": "<20260331234644.14654-3-bryan.odonoghue@linaro.org>", "date": "2026-03-31T23:46:44", "name": "[2/2] egl: Switch to linux/drm_fourcc.h", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "1e940a0717e4a53beb1f4f4bb1e9dbf8d4424250", "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/26400/mbox/", "series": [ { "id": 5861, "url": "https://patchwork.libcamera.org/api/1.1/series/5861/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5861", "date": "2026-03-31T23:46:42", "name": "Import drm.h and drm_mode.h for egl.cpp to use", "version": 1, "mbox": "https://patchwork.libcamera.org/series/5861/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/26400/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/26400/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 60EB8BEFBE\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 31 Mar 2026 23:46:49 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E50C162D46;\n\tWed, 1 Apr 2026 01:46:48 +0200 (CEST)", "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 CD35F62D17\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 1 Apr 2026 01:46:46 +0200 (CEST)", "by mail-wm1-x336.google.com with SMTP id\n\t5b1f17b1804b1-48557c8ad47so48623665e9.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 31 Mar 2026 16:46:46 -0700 (PDT)", "from inspiron14p-linux ([109.76.57.51])\n\tby smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-4887e80a6ebsm83000225e9.6.2026.03.31.16.46.45\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 31 Mar 2026 16:46:45 -0700 (PDT)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"ET7FxhFu\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1775000806; x=1775605606;\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=jY5uGvX4X9aKCJU0YfJaSxoZcxbEtzGhEyf3/TYMYIc=;\n\tb=ET7FxhFu3ng0tyRn7kkudQwm7QGV8HtThtrl8MMKVFxCSaxD/UTMB6fEDW2WVpQq7Z\n\tJLsomLjqh9if7TjoGQIfF+4BwvlirZXIAk83xF5nX4taWPuRgkx+40Nk3PP5hT5C4xJG\n\tLW6k+HQvFvTzJxuDF7A3EkfxHVo6Mt4ezBYX528qbIoCYwNtdHcpm3I/JwnJV9rQg3nE\n\tMGntH70gfLUPmlYulgG899xTAFmxNKuSVCtvPHpLbQHlbI8qZLMMTW4NEKDPaeS+hpal\n\tyN4kPyIfV/EAB6onXSvjUTk1T5TWgphjTsd2m55ibrEMOwG6x6KeksQBECF4ZsHleBI2\n\t5qZw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20251104; t=1775000806; x=1775605606;\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=jY5uGvX4X9aKCJU0YfJaSxoZcxbEtzGhEyf3/TYMYIc=;\n\tb=PT7u3BZbOjxXyeeQVIN7w1NbSJBhcboc0vYeLXfYJki/1khdBGRS2d05RvYYLvr5RA\n\tuTagvxbu/P1RCBWJB9fxDyygRwOyBXzH59dO2oIIwvLvTFM1tfgtW3G2oUqgBjMqDTo4\n\tJWZbGo0xN65kpc6awCOli85Smu+x/hHAO+UH2vbwK7XymVrwupNawqPa/kcbYqlEbqee\n\tcfo1ndSIeUUnMhVg+9q7luW3nrcr29pAUK2SxyTJRhDlbi9asvyptmN7tK5zit2B4QKh\n\tY3Nd00DyfuaODtnkpfSUYEl7J9VCu9xyLpI68P6VV/wuScufzIHj4Odrfxf9M56Z7vgP\n\tE17Q==", "X-Gm-Message-State": "AOJu0Yx3VU715TyfCsI+HBARi/lC5wsihUT2arIcyp5dbM1omi/0O63m\n\tRYD1j1MARGHUQItoWucK8BijenWC4xFSZIUEEOGd5/RJy2AgpSiv49qZKS62zpAapPHnggz8PmB\n\tygttC", "X-Gm-Gg": "ATEYQzxm+VtsVWRKdpu31vA6jHCYSGUhg1bCLmybHJ5qRW6YlEedp6OLByOdGmrgfti\n\tWYWKZyGB1CsIu9arCuI7bLR51TKvWi/Ci5fZHtsNhUEUVD8f9cUbZnlw1/Y+Oca5MFNkH3CJlx+\n\tFbR2FrQROdckAulyHPFoTh8mF44sPv0uk/aUoVJuLY/aBwOilz9g+An1ax0F550nX/eUgck73DX\n\tRcx4nIO1JKjtQIyPCjWPu8I6aNFKk0CP4FymRrl0r+pRY3pQwdOEICw2+v6TtG+mPtDrcddASvG\n\toatYsw/70/yNhSlmYvuNuq1Q63tNxqb0QdNaOkR4h7DLHu2uaZ0J+l27bbfgA+d6mT1+J6YoJwU\n\tE4lE6vr5mcqX7NtbEkn2Re452JImVPZKyeoXaaJPbACpjRWsKTykW2QX7oKvWPAYgfkn9tzZs/j\n\tj8ePd8kxNqKLREJCC6D0kVX9vTEvw+BjuzqVC0", "X-Received": "by 2002:a05:600c:5303:b0:487:5c0:671f with SMTP id\n\t5b1f17b1804b1-48883562da4mr21615715e9.9.1775000805788; \n\tTue, 31 Mar 2026 16:46:45 -0700 (PDT)", "From": "Bryan O'Donoghue <bryan.odonoghue@linaro.org>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "bryan.odonoghue@linaro.org", "Subject": "[PATCH 2/2] egl: Switch to linux/drm_fourcc.h", "Date": "Wed, 1 Apr 2026 00:46:44 +0100", "Message-ID": "<20260331234644.14654-3-bryan.odonoghue@linaro.org>", "X-Mailer": "git-send-email 2.52.0", "In-Reply-To": "<20260331234644.14654-1-bryan.odonoghue@linaro.org>", "References": "<20260331234644.14654-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": "Take the copy of drm_fourcc.h from th imported kernel headers instead of\nfrom libdrm which may or may not be installed within the build environment.\n\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n src/libcamera/egl.cpp | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)", "diff": "diff --git a/src/libcamera/egl.cpp b/src/libcamera/egl.cpp\nindex 5b9bbf410..a61803396 100644\n--- a/src/libcamera/egl.cpp\n+++ b/src/libcamera/egl.cpp\n@@ -16,11 +16,10 @@\n \n #include <linux/dma-buf.h>\n #include <linux/dma-heap.h>\n+#include <linux/drm_fourcc.h>\n \n #include <libcamera/base/thread.h>\n \n-#include <libdrm/drm_fourcc.h>\n-\n namespace libcamera {\n \n LOG_DEFINE_CATEGORY(eGL)\n", "prefixes": [ "2/2" ] }