From patchwork Mon May 4 00:04:31 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 26609 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id CCACDBE173 for ; Mon, 4 May 2026 00:04:47 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 70DBF6302B; Mon, 4 May 2026 02:04:47 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="iGWo9g3c"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 7EAAC62E6A for ; Mon, 4 May 2026 02:04:41 +0200 (CEST) Received: from killaraus.ideasonboard.com (2001-14ba-703d-e500--2a1.rev.dnainternet.fi [IPv6:2001:14ba:703d:e500::2a1]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 042819C for ; Mon, 4 May 2026 02:04:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1777853080; bh=aYRz9AUEzXycGeLA1DV3qAh6bKuNlOMxqd7bZZXwzHU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iGWo9g3cgINtNVNdWyae/1wwVPoBTSdWL7x3BWUuG7LZCRcNGNJAjbKNzQeAwXSqO nAYmgv7mNXrpiZrEmnNXyEMNIgzefqWUe6eBDZEB/3k7FHawUHf+zbdgMAj/dcTeSv 1irXgG7zd3SB5XwiTg3tr1U7IxJv8PWuGe/ExGBQ= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH 6/6] libcamera: egl: Don't depend on libdrm Date: Mon, 4 May 2026 03:04:31 +0300 Message-ID: <20260504000431.1340150-7-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260504000431.1340150-1-laurent.pinchart@ideasonboard.com> References: <20260504000431.1340150-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" egl.cpp includes libdrm/drm_fourcc.h, creating an implicit dependency on libdrm that is not declared in meson.build. This is a leftover from GBM usage, which was dropped in commit 7350d6cc5dd1 and ensured that libdrm was present. We could add an explicit dependency on libdrm, but this is not required as drm_fourcc.h is also present in the Linux kernel headers. Replace libdrm/drm_fourcc.h with linux/drm_fourcc.h. Fixes: 7350d6cc5dd1 ("Revert "libcamera: software_isp: gbm: Add a GBM helper class for GPU surface access"") Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Barnabás Pőcze --- src/libcamera/egl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libcamera/egl.cpp b/src/libcamera/egl.cpp index f659294709f2..357918711e83 100644 --- a/src/libcamera/egl.cpp +++ b/src/libcamera/egl.cpp @@ -16,11 +16,10 @@ #include #include +#include #include -#include - namespace libcamera { LOG_DEFINE_CATEGORY(eGL)