From patchwork Fri Dec 4 03:18:52 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Remy Alipoursafari X-Patchwork-Id: 29157 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 2B955C3300 for ; Fri, 4 Dec 2026 03:20:08 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B7A5C6AB56; Fri, 4 Dec 2026 04:20:06 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=coolgi.dev header.i=@coolgi.dev header.b="ZYSCnUx3"; dkim=pass (2048-bit key; unprotected) header.d=coolgi.dev header.i=@coolgi.dev header.b="fxo3kXcu"; dkim-atps=neutral Received: from mail.coolgi.dev (mail.coolgi.dev [185.193.17.204]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3F9606AB37 for ; Fri, 4 Dec 2026 04:20:05 +0100 (CET) From: Remy Alipoursafari DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coolgi.dev; s=rsa-2026-08; t=1796354399; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cgoYUJx2rgjbv2ObujkN9soyKDmC3NonHDV5/vz+Efc=; b=ZYSCnUx3LynzxK3EXdcmzB9mvcfkgeKH0KRzaabYBhCnEQd5K8Mo9dxuVL1VpseTqnviGC hG9nXpoPGUmvZ6p/hZtXGz9Q3JWq1FlGLX220odEHHLhRvsG0BOag/FiR4GA1P4NA9j/8s TTc+sfqbrULAyvS49ncoRg4TZrmURbUTUlSYMIe6edcxOtN7Vd8N6ahXD6fJ5B+8KdKSy+ CE0Cz8lHEDkuyOo0QwEMhu2p+epooYaRTzWCrSLBycrD0mAVw872gTQ01EPUzNqMC5kQUJ IiqWYa1YzR8cIi/amaOKG+WRGbFXi1SRhh3/OmL7K6xEddQYSxsQmNns/ASCfQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coolgi.dev; s=rsa-2026-11; t=1796354399; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cgoYUJx2rgjbv2ObujkN9soyKDmC3NonHDV5/vz+Efc=; b=fxo3kXcupGzZBu8IxcMxfSCbyVai1+8oZpYRPI39bmUqN9+7vSu2amOhpUUrJWTJ5GYlol 8UJRIVOICtCZfGtwZ5/gUQqIbU0EFLlqFW3j9uJIVbOvmebDduAfytrGol+XqOX+lE+o9g AnoiZ7JVe3P/zvVJkMDlOp663vX/GOmqM6jGZ8g3NXus9gjaCCga7MUsXeMFl0uLm2CKcW Ui2csI2Eu4DGLxVUbnyQw0ExQ9VvV+W1mSmwtjAR1qSWVSetKLjEr2JicyWFNr8ugInyws LRAY38jR3K5s+uqDN1no6XiO55oqsP+pocSDvfy8UUUfNW+51K6MUo5IH7bSyQ== To: libcamera-devel@lists.libcamera.org Cc: Remy Alipoursafari , =?utf-8?q?Lo?= =?utf-8?q?=C3=AFc_Molinari?= , Robert Mader Subject: [PATCH v2 0/6] dd GPU benchmarking to SoftISP eGL Date: Fri, 4 Dec 2026 16:18:52 +1300 Message-ID: <20261204031914.117401-1-me@coolgi.dev> 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 From: Remy Alipoursafari Hi All, This is v2 of the patchset allowing GPU benchmarking (v1 at [1]). It addresses the feedback given by Barnabás Pőcze on the original patchset. Collabora is currently having issues with sending mail to the libcamera mailing list, so this email was sent through rather than . I'll move back to the other email once the issue is resolved. Thanks in advance for the reviews! [1]: https://lists.libcamera.org/pipermail/libcamera-devel/2026-November/thread.html#:~:text=P%C5%91cze-,[PATCH%200%2F6,Alipoursafari Loïc Molinari (2): libcamera: egl: Add GL extension & version checks libcamera: software_isp: debayer_egl: Check GL_RG support Remy Alipoursafari (4): libcamera: egl: Ensure required extensions are supported libcamera: egl: Separate proc address search into its own function software_isp: benchmark: Make benchmark into an abstract class software_isp: benchmark: Add GPU benchmarking include/libcamera/internal/egl.h | 28 +++ .../internal/software_isp/benchmark.h | 18 +- .../internal/software_isp/benchmark_cpu.h | 37 +++ .../internal/software_isp/benchmark_egl.h | 43 ++++ .../internal/software_isp/meson.build | 3 +- .../internal/software_isp/swstats_cpu.h | 5 +- src/libcamera/egl.cpp | 232 ++++++++++++++++-- src/libcamera/software_isp/benchmark.cpp | 108 ++++++-- src/libcamera/software_isp/benchmark_cpu.cpp | 74 ++++++ src/libcamera/software_isp/benchmark_egl.cpp | 98 ++++++++ src/libcamera/software_isp/debayer.h | 4 +- src/libcamera/software_isp/debayer_cpu.cpp | 1 + src/libcamera/software_isp/debayer_egl.cpp | 46 +++- src/libcamera/software_isp/debayer_egl.h | 4 +- src/libcamera/software_isp/meson.build | 2 + src/libcamera/software_isp/swstats_cpu.cpp | 1 + 16 files changed, 644 insertions(+), 60 deletions(-) create mode 100644 include/libcamera/internal/software_isp/benchmark_cpu.h create mode 100644 include/libcamera/internal/software_isp/benchmark_egl.h create mode 100644 src/libcamera/software_isp/benchmark_cpu.cpp create mode 100644 src/libcamera/software_isp/benchmark_egl.cpp