From patchwork Wed Mar 4 07:50:52 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 26253 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 12B35BE086 for ; Wed, 4 Mar 2026 07:51:07 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7D81D623AB; Wed, 4 Mar 2026 08:51:06 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.b="d3gMY//h"; dkim=pass (2048-bit key; unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="ZsjP5ZPX"; dkim-atps=neutral Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A40C0623A8 for ; Wed, 4 Mar 2026 08:51:03 +0100 (CET) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6245ScWr957475 for ; Wed, 4 Mar 2026 07:51:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=EKjThyVT7ep 2go4Ot2fsP1nbs+kragzoyIS371FF1V8=; b=d3gMY//hN//vfK+LnGIYLsQDym1 oxXvV0qY6bv3hGFoI35dkwbkuI59/vbMobs8+l0o/uCj4DExfB1yR553argPBiLj 8Az9ANMdmkL8EP6pbmRpjd8I8MhJfYnRQJZbJwmj4nGkX941EnzLUK/FjWr9JxfI Gw6be3xFX6bBBb5P7eGK4HedHhBWYjs/BCylMu0up5knK4KO735OdwJyh5aDl62d 3tnoAGRKf1jYNwABfzqcf5mJMqbjUUmIzygayDj6NNW6ttb4WcJ9y6HnLpAn68pO vDSKzWzylxlsg6+baeJbzz4v+Jauk2OglMjFAPv35w+HqMMJUbdRD8idPpw== Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cp6qg9xd4-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 04 Mar 2026 07:51:02 +0000 (GMT) Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-89a0796368eso124296866d6.0 for ; Tue, 03 Mar 2026 23:51:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1772610661; x=1773215461; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EKjThyVT7ep2go4Ot2fsP1nbs+kragzoyIS371FF1V8=; b=ZsjP5ZPXIHko0lfkm9XQOvWtTl1A2UFTVpaczKpheBWlwHgbPwwIk0jtI3BaYU/k62 j6NwoDkbl5Fwjl8MQG6RpI3Fyb1FSLqrM1NhKLZN21tbu1A+D/9GvBKfXvP3B6Xag4Tp w2ae8uUZCSSMeR/8jnUFDsYs5gibsUrtc7UhMmMnnGCaeyxQkQVzKS4Zkv9FdgVHThRQ gz9J1RfuRgDqIp+1PlnR9Vf3fSHTBaaTBqVx9/s4l/Pow5bgGvp2cLS5i0JY2HZM+f0H BjKVR/kUHm9yjMBPzPt+TZKiKErhWzYgPLhJpiG07Dzce9cE2hZB9B0RrZnNFVdKHMHJ UDlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772610661; x=1773215461; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=EKjThyVT7ep2go4Ot2fsP1nbs+kragzoyIS371FF1V8=; b=xULXxhQYw6BKf05joe1KcdqRpGbOM6T9M6raRc2akqJnUY84tS0kKNjFTSkCPx4nTr 2H6ttuWue7z9mSj3BPFfpJSZjll1Ub+SnGdXc28L/WidrGggzkU9JAxYUOFInZzrJo47 zH10MCHl8gsfwWJEzTCj6HUt7al7xcTxkT8KQr/kv/RhyuqFhLGd6O4hWZWL4jhZmy94 EZ642yWjHkqkriRp8gkJWhWI0m7SrcMXyu9kdrV+WpmHXxakfH5XbfSfBuTWX5GdCZIY 38ErbVFxsrmnEk0ySOuqBAlnwg05lrpUAAEKxlQEsw0NOESySwgqXxrklGgbSB8NqRpg XM4A== X-Gm-Message-State: AOJu0YyW2ggDz9ONbPwVgy2R8TU3hO1EgUjEC+xir7XXmTVKEVf4Q8k4 sKb79Nocgu9sn5QAbU3b7VJmlDiizoLEfRVYA0qTpWeL4jMTB0K/yrVtFvBifKEOXzsqiFTwVPr tELagQCu111WxMaL9+M3QgNelJmrWR+53j/8PhaKzWHL5Jfi08yQ/WwrQQQFc1tlithK3Ck3q4j javn9JoMfz X-Gm-Gg: ATEYQzyB+W+Y31WE3KJLxy2kME0qdE0tNl6fdtcEtl21o+xsk16DLth3H3yAF490o4E 2qa99HSI3qIkcZKYdqadGKGP7ewq1BrztwxycHg7CqdgQ0WlEFhO8nzK3ZJjPfuy4wqqJU3vBz0 SfPKBCDejmgxhB9g3vaao7kaKq0GC8uJigPVfBiWosNf77ch+72BSIweijJGa8Ty2VeN8S7ESuj 25w3M6acHbWXyQJ9eTEXdH0+BQjBgw9A2v/TTGZgbvI9u7RUO0MJUkOzZB+VU1HRP9vyYJEsTGY VKjyiRXIpdlN+6SZS5YkARbRXjnXxZCS8P4cDI3Ai5nLgaTwMfNNmqV2JxztzzE3hJYjnoYleQn A53WQ+FHnwtdWl8s6FjKNmDn6OUqPN32wVKUDnTCFaGxIgobHlshX65OipR29wMG7HTM5XoFbGu nmPJwu0nUosbBoP6fGaEyfFIhiLVoCaWiiq7e1 X-Received: by 2002:a05:6214:dac:b0:899:f5d3:321c with SMTP id 6a1803df08f44-89a19abc34fmr12214966d6.10.1772610661151; Tue, 03 Mar 2026 23:51:01 -0800 (PST) X-Received: by 2002:a05:6214:dac:b0:899:f5d3:321c with SMTP id 6a1803df08f44-89a19abc34fmr12214796d6.10.1772610660679; Tue, 03 Mar 2026 23:51:00 -0800 (PST) Received: from shalem (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b935ac73a5dsm693263366b.25.2026.03.03.23.50.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Mar 2026 23:50:59 -0800 (PST) From: Hans de Goede To: libcamera-devel@lists.libcamera.org, Milan Zamazal Cc: Hans de Goede Subject: [PATCH v5 5/5] Documentation/runtime_configuration: Add missing software_isp.mode doc Date: Wed, 4 Mar 2026 08:50:52 +0100 Message-ID: <20260304075052.11599-6-johannes.goede@oss.qualcomm.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260304075052.11599-1-johannes.goede@oss.qualcomm.com> References: <20260304075052.11599-1-johannes.goede@oss.qualcomm.com> MIME-Version: 1.0 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzA0MDA2MiBTYWx0ZWRfX4vlH+X+LtLcP 0nejqc7hTLXoXBRxQQIVSDO49ADknqLruCifrkkMj0jwPMf6omKkh1h66Oo/y0KTQDJV77P1xPA V9wlwG4z5MZb/ZrkG6c52DKOW5te96WUKf8bSJJK553eQJiP96Fa/epJ2pIIowywQGSnfIUcJ4c oKqLDmT0JtYCFAYDOXU9i6tpin7KoNAB57CXAACJg5JzCMrCItLOFmjrKVOh8GthjdUZYqjKgxs LAcX6K7RiEomWdmPychaogV8cxChSsMfO+Ez3IAwuCchH3cgTBNLLRwusODYU5xaRSxjNCwFq9v g1a3jLB0LuGsKINaXOtaEgOptNV+plvMqVIntJ4WAJsC0yF2KFFc1xOz6KblvjCGaBlz4QbTKuB FeUdVc2meJmMa5QMVvB7NrACiQht4d0eMjQH9h8n2S/BxwtXjF6qv8CESMTsYdfVxHbaCUMe0tK VzxGf6Rzed1PqXFZiHg== X-Authority-Analysis: v=2.4 cv=UJ3Q3Sfy c=1 sm=1 tr=0 ts=69a7e466 cx=c_pps a=7E5Bxpl4vBhpaufnMqZlrw==:117 a=xqWC_Br6kY4A:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=AwfkMlB2NLtm-T6jQ-oA:9 a=pJ04lnu7RYOZP9TFuWaZ:22 X-Proofpoint-ORIG-GUID: 4RD2Mqa6JB22PgtSvdklarNQtamQfJ6p X-Proofpoint-GUID: 4RD2Mqa6JB22PgtSvdklarNQtamQfJ6p X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293, Aquarius:18.0.1121, Hydra:6.1.51, FMLib:17.12.100.49 definitions=2026-03-04_02,2026-03-03_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 priorityscore=1501 clxscore=1015 malwarescore=0 spamscore=0 adultscore=0 bulkscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2603040062 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" The software_isp.mode setting was missing from the runtime_configuration documentation, add it. Signed-off-by: Hans de Goede Reviewed-by: Milan Zamazal --- Changes in v5: - New patch in v5 of this series --- Documentation/runtime_configuration.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/runtime_configuration.rst b/Documentation/runtime_configuration.rst index 651929a4d..e34321ee0 100644 --- a/Documentation/runtime_configuration.rst +++ b/Documentation/runtime_configuration.rst @@ -51,6 +51,7 @@ file structure: measure: skip: # non-negative integer, frames to skip initially number: # non-negative integer, frames to measure + mode: # cpu/gpu threads: # integer >= 1, number of render threads to use, default 2 Configuration file example @@ -85,6 +86,7 @@ Configuration file example measure: skip: 50 number: 30 + mode: gpu threads: 2 List of variables and configuration options @@ -169,6 +171,16 @@ software_isp.measure.skip, software_isp.measure.number Example `number` value: ``30`` +software_isp.mode + Select if the software ISP should use GPU or CPU image processsing, + one of ``cpu`` or ``gpu``. When set to ``gpu`` and EGL is not available + the software ISP will automatically fall back to the CPU. + + This can be overridden through the ``LIBCAMERA_SOFTISP_MODE`` environment + variable. + + Example value: ``gpu`` + software_isp.threads Number of render threads the software ISP uses when using the CPU. This must be between 1 and 8 and the default is 2.