[{"id":38326,"web_url":"https://patchwork.libcamera.org/comment/38326/","msgid":"<177262558706.1693075.11243995192483949071@ping.linuxembedded.co.uk>","date":"2026-03-04T11:59:47","subject":"Re: [PATCH v6] Documentation/runtime_configuration: Add missing\n\tsoftware_isp.mode doc","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Quoting Hans de Goede (2026-03-04 11:02:46)\n> The software_isp.mode setting was missing from the runtime_configuration\n> documentation, add it.\n\nI guess this was part of another series ? Anyway lets just merge it!\n\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\n> \n> Reviewed-by: Milan Zamazal <mzamazal@redhat.com>\n> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>\n> ---\n> Changes in v6:\n> - Use \"LIBCAMERA_SOFTISP_MODE, software_isp.mode\" as item title\n> - Add Milan's Reviewed-by\n> - Send out as standalone patch, v5 of rest of series is ready as is\n> \n> Changes in v5:\n> - New patch in v5 of this series\n> ---\n>  Documentation/runtime_configuration.rst | 9 +++++++++\n>  1 file changed, 9 insertions(+)\n> \n> diff --git a/Documentation/runtime_configuration.rst b/Documentation/runtime_configuration.rst\n> index 651929a4d..a95de2f43 100644\n> --- a/Documentation/runtime_configuration.rst\n> +++ b/Documentation/runtime_configuration.rst\n> @@ -51,6 +51,7 @@ file structure:\n>        measure:\n>          skip: # non-negative integer, frames to skip initially\n>          number: # non-negative integer, frames to measure\n> +      mode: # cpu/gpu\n>        threads: # integer >= 1, number of render threads to use, default 2\n>  \n>  Configuration file example\n> @@ -85,6 +86,7 @@ Configuration file example\n>         measure:\n>           skip: 50\n>           number: 30\n> +       mode: gpu\n>         threads: 2\n>  \n>  List of variables and configuration options\n> @@ -141,6 +143,13 @@ LIBCAMERA_<NAME>_TUNING_FILE\n>  \n>     Example value: ``/usr/local/share/libcamera/ipa/rpi/vc4/custom_sensor.json``\n>  \n> +LIBCAMERA_SOFTISP_MODE, software_isp.mode\n> +   Select if the software ISP should use GPU or CPU image processsing,\n> +   one of ``cpu`` or ``gpu``. When set to ``gpu`` and EGL is not available\n> +   the software ISP will automatically fall back to the CPU.\n> +\n> +   Example value: ``gpu``\n> +\n>  pipelines.simple.supported_devices.driver, pipelines.simple.supported_devices.software_isp\n>     Override whether software ISP is enabled for the given driver.\n>  \n> -- \n> 2.52.0\n>","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 C1B5CBE086\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  4 Mar 2026 11:59:52 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E45AE6239A;\n\tWed,  4 Mar 2026 12:59:51 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F405162380\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  4 Mar 2026 12:59:49 +0100 (CET)","from monstersaurus.ideasonboard.com\n\t(cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 6D44F9A6;\n\tWed,  4 Mar 2026 12:58:47 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"MDLFs0Zw\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1772625527;\n\tbh=5KPdnRyVf3wmaOSjOSGOSrjS8GfTRZKMl8DFfN4TPhs=;\n\th=In-Reply-To:References:Subject:From:Cc:To:Date:From;\n\tb=MDLFs0ZwlG+CDHJhvH8qa52q7L4NPujU5yRTAJa5+uM/CAn2ZUC3ciPfBNjCeFutD\n\ttnp1W02b2Km+BpBsuQifuu0y3AtLA+8POgtY3AG/Zh/T5AHg5Cl8r95vloTcx/czjH\n\tLWN36/aHUkgS8Fd7HxyZf3yIshHoaQvWGsR6lICs=","Content-Type":"text/plain; charset=\"utf-8\"","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<20260304110246.15191-1-johannes.goede@oss.qualcomm.com>","References":"<20260304110246.15191-1-johannes.goede@oss.qualcomm.com>","Subject":"Re: [PATCH v6] Documentation/runtime_configuration: Add missing\n\tsoftware_isp.mode doc","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Cc":"Milan Zamazal <mzamazal@redhat.com>,\n\tHans de Goede <johannes.goede@oss.qualcomm.com>","To":"Hans de Goede <johannes.goede@oss.qualcomm.com>,\n\tlibcamera-devel@lists.libcamera.org","Date":"Wed, 04 Mar 2026 11:59:47 +0000","Message-ID":"<177262558706.1693075.11243995192483949071@ping.linuxembedded.co.uk>","User-Agent":"alot/0.9.1","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>"}},{"id":38328,"web_url":"https://patchwork.libcamera.org/comment/38328/","msgid":"<185fe14b-b604-4102-abe3-751aa1f896cc@oss.qualcomm.com>","date":"2026-03-04T12:19:15","subject":"Re: [PATCH v6] Documentation/runtime_configuration: Add missing\n\tsoftware_isp.mode doc","submitter":{"id":242,"url":"https://patchwork.libcamera.org/api/people/242/","name":"Hans de Goede","email":"johannes.goede@oss.qualcomm.com"},"content":"Hi,\n\nOn 4-Mar-26 12:59 PM, Kieran Bingham wrote:\n> Quoting Hans de Goede (2026-03-04 11:02:46)\n>> The software_isp.mode setting was missing from the runtime_configuration\n>> documentation, add it.\n> \n> I guess this was part of another series ? Anyway lets just merge it!\n\nYes this was patch 5/5 of \"[PATCH v5 0/5] software_isp: debayer_cpu: Add\nmulti-threading support\" as also mentioned in the changelog below\nthe cut-line :)\n\nNote this will not apply cleanly without first applying 1-4 of\n\nhttps://patchwork.libcamera.org/project/libcamera/list/?series=5817\n\nAll 4 of those have a Reviewed-by from Milan, so from my pov those are\nready for merging too.\n\nRegards,\n\nHans\n\n\n\n> \n> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n> \n>>\n>> Reviewed-by: Milan Zamazal <mzamazal@redhat.com>\n>> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>\n>> ---\n>> Changes in v6:\n>> - Use \"LIBCAMERA_SOFTISP_MODE, software_isp.mode\" as item title\n>> - Add Milan's Reviewed-by\n>> - Send out as standalone patch, v5 of rest of series is ready as is\n>>\n>> Changes in v5:\n>> - New patch in v5 of this series\n>> ---\n>>  Documentation/runtime_configuration.rst | 9 +++++++++\n>>  1 file changed, 9 insertions(+)\n>>\n>> diff --git a/Documentation/runtime_configuration.rst b/Documentation/runtime_configuration.rst\n>> index 651929a4d..a95de2f43 100644\n>> --- a/Documentation/runtime_configuration.rst\n>> +++ b/Documentation/runtime_configuration.rst\n>> @@ -51,6 +51,7 @@ file structure:\n>>        measure:\n>>          skip: # non-negative integer, frames to skip initially\n>>          number: # non-negative integer, frames to measure\n>> +      mode: # cpu/gpu\n>>        threads: # integer >= 1, number of render threads to use, default 2\n>>  \n>>  Configuration file example\n>> @@ -85,6 +86,7 @@ Configuration file example\n>>         measure:\n>>           skip: 50\n>>           number: 30\n>> +       mode: gpu\n>>         threads: 2\n>>  \n>>  List of variables and configuration options\n>> @@ -141,6 +143,13 @@ LIBCAMERA_<NAME>_TUNING_FILE\n>>  \n>>     Example value: ``/usr/local/share/libcamera/ipa/rpi/vc4/custom_sensor.json``\n>>  \n>> +LIBCAMERA_SOFTISP_MODE, software_isp.mode\n>> +   Select if the software ISP should use GPU or CPU image processsing,\n>> +   one of ``cpu`` or ``gpu``. When set to ``gpu`` and EGL is not available\n>> +   the software ISP will automatically fall back to the CPU.\n>> +\n>> +   Example value: ``gpu``\n>> +\n>>  pipelines.simple.supported_devices.driver, pipelines.simple.supported_devices.software_isp\n>>     Override whether software ISP is enabled for the given driver.\n>>  \n>> -- \n>> 2.52.0\n>>","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 341F1C0DA4\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  4 Mar 2026 12:19:21 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7F8676239C;\n\tWed,  4 Mar 2026 13:19:20 +0100 (CET)","from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com\n\t[205.220.180.131])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A513E62380\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  4 Mar 2026 13:19:19 +0100 (CET)","from pps.filterd (m0279871.ppops.net [127.0.0.1])\n\tby mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n\t6249KddS1455844 for <libcamera-devel@lists.libcamera.org>;\n\tWed, 4 Mar 2026 12:19:18 GMT","from mail-qk1-f199.google.com (mail-qk1-f199.google.com\n\t[209.85.222.199])\n\tby mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cpj180h4r-1\n\t(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 04 Mar 2026 12:19:18 +0000 (GMT)","by mail-qk1-f199.google.com with SMTP id\n\taf79cd13be357-8ca3ef536ddso1227782985a.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 04 Mar 2026 04:19:18 -0800 (PST)","from [10.40.99.10] ([78.108.130.194])\n\tby smtp.gmail.com with ESMTPSA id\n\ta640c23a62f3a-b935ac84863sm745317266b.29.2026.03.04.04.19.15\n\t(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n\tWed, 04 Mar 2026 04:19:16 -0800 (PST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=qualcomm.com header.i=@qualcomm.com\n\theader.b=\"OEn959iI\"; dkim=pass (2048-bit key;\n\tunprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n\theader.b=\"RW/ZOzPf\"; dkim-atps=neutral","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n\tcc:content-transfer-encoding:content-type:date:from:in-reply-to\n\t:message-id:mime-version:references:subject:to; s=qcppdkim1; bh=\n\tnyql0NZV2gMbOtzQYm9sv5V2Li9GxFl4ZElyE7qSPHQ=; b=OEn959iIwkqtfUtB\n\tGjn4Vgbn+XUMbKqQNoOiWv4JBQxtP1jiP3n1TIf7tEGve54OzO5Bsxllq7hXNa3q\n\tHsYjfevBJynJZH71/nkAdps2ByGYb8dasBT4atpSVQYj/7X8wQOA4jyYl91K20Av\n\t2vmiPeETZixiJgL5zWcY43GVoLI643Od9K/VZSKGuUkBx4nk/gr48IHTx2Jmt6oJ\n\tontDO8GHI3X8x9DKFNO6utf/K97N/rakcpQYt5Zp+6ri4XVOkIggTwCMbE1A6Qfi\n\tTZNxOcOr4nr0EWB3eBgV5FcoeuGIF2nWEcCsrBEvNskbtNwln5B1m4eLiXOiGXfr\n\tIHlO5Q==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=oss.qualcomm.com; s=google; t=1772626758; x=1773231558;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:in-reply-to:content-language:references\n\t:cc:to:subject:from:user-agent:mime-version:date:message-id:from:to\n\t:cc:subject:date:message-id:reply-to;\n\tbh=nyql0NZV2gMbOtzQYm9sv5V2Li9GxFl4ZElyE7qSPHQ=;\n\tb=RW/ZOzPf5+N8MAFHG8q1wkR87Vywwmof6pAqKXkrdf06vTA5nwF4KO/ZAlCP30vuA5\n\t0q0VxjiShZcHXDLNA+vaAN6Amc33gsn1jlLBaZS+HxdEt73srzXmDEzAGtHlabMvqycy\n\ttVc8kiXqnI5vYYLfKabd66bqCdumuy0peV18UFs4yYxPJNCuinao0Uw/8aoWkfV4aP8z\n\tNvDzWdqt0uTHNJMvOfJBAxTt6MmW0rwxH5//dII+nqIlKx5ivSRkD/LoKGHLvj0sX1xh\n\toinZLnfu01yUJ1F/e59MsgZwjDXioPYFhNSadKx0bTBRqVnNrd3+iQ0ZJKEHog/WqTDj\n\t2NLQ=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1772626758; x=1773231558;\n\th=content-transfer-encoding:in-reply-to:content-language:references\n\t:cc:to:subject:from:user-agent:mime-version:date:message-id:x-gm-gg\n\t:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n\tbh=nyql0NZV2gMbOtzQYm9sv5V2Li9GxFl4ZElyE7qSPHQ=;\n\tb=BlsIbhTSPxN2lO4msa7rDDUO2jD48ezvISPYAhe1RxoqTwHVFRMNCJ92HRt4sYeiEn\n\tKDLSKnDrhEAk5AHeCRLpvAL1d/q76b6/89n6Yzm/t4C45fqEFDvul62PaahKVxkn3uzO\n\t0VZwqv/RMCjCKx3HbIZCFgj8+TzLfk3sN/INeND6RplF5oyuy5GnEaFLkrV9S5/8U0GI\n\tCNWWCSpr8E0Igj2dPW0uCqmSZ4tjkZEksajG8V3sKE4rrBHZwlI96S74grUsm1ZmqFdU\n\tdBSJbpACINsYdU4mJ2s4mbqPMhmfHctGJKqpCGe2E/dJ7m+OWem31zJb8IFZzOywpfz4\n\tUR9A==","X-Forwarded-Encrypted":"i=1;\n\tAJvYcCXUhnbwDp20GX+mCw6rowG6k+NSADK8QaguNF7BOsAhdG6nYZJEjdUL+o6EXWDaD3WfiLUkkHiiQs84LoQddaI=@lists.libcamera.org","X-Gm-Message-State":"AOJu0Yx/2xdOGM4+uTiHx1Gt9d5Feze4K75FuIUwHdPVkg3s4sXM7uTD\n\tXLqBInUo2im18OJuWa3vyfewlWuWS7uBtmczsXpBK8lpt/GeG1c5IMtRgUsr3jIHGLEtK3saIuK\n\tgF35JiO9lFOaVkaMyI5dEVtEBvK6OAciYd55lOFBiy4dlHsjxQDutprFMy1gN8gfi+pbsZDjdR9\n\thi","X-Gm-Gg":"ATEYQzzcAAL4hWFJfthe0LyPToQ/Vi805XiG4TRAhKCw7bfSrK/yMS8qWf30HSz0IAO\n\t2PTdUNP3kdGcHB40w/ZAocxIt1Ib9Z0ya0a3gIRZPN2JwEbGmd6gIaS/w//3xIFHpYIYZuYIrVK\n\tEoAwwnJm1BriGSFWKHS3wP7zVuu1o3zF67WcDGRIoVPqNADGI4eRk/HbvvDcFjRNbnPe3atMrjr\n\tKkhM9ws0sOywCDnIbu/6G3MBNB7XQyh2Helt7Iw5FslZe8dt9sSxHxz/5uvRZGTIdk8zkkJ5N/7\n\tmCoE5hIMSYE8ufEj687HSTlYtfs0nKwoGM/KTit6d1qGDd7TQ/Puh8kGd/B/eR28nzNPsarzRRG\n\tq3R8H2kKZLZt+V901jNQDJ4h+L5HdYu/uE3RLQttd","X-Received":["by 2002:a05:620a:7082:b0:8b2:d26f:14b1 with SMTP id\n\taf79cd13be357-8cd5aeca689mr182045685a.8.1772626757815; \n\tWed, 04 Mar 2026 04:19:17 -0800 (PST)","by 2002:a05:620a:7082:b0:8b2:d26f:14b1 with SMTP id\n\taf79cd13be357-8cd5aeca689mr182041285a.8.1772626757171; \n\tWed, 04 Mar 2026 04:19:17 -0800 (PST)"],"Message-ID":"<185fe14b-b604-4102-abe3-751aa1f896cc@oss.qualcomm.com>","Date":"Wed, 4 Mar 2026 13:19:15 +0100","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","From":"Hans de Goede <johannes.goede@oss.qualcomm.com>","Subject":"Re: [PATCH v6] Documentation/runtime_configuration: Add missing\n\tsoftware_isp.mode doc","To":"Kieran Bingham <kieran.bingham@ideasonboard.com>,\n\tlibcamera-devel@lists.libcamera.org","Cc":"Milan Zamazal <mzamazal@redhat.com>","References":"<20260304110246.15191-1-johannes.goede@oss.qualcomm.com>\n\t<177262558706.1693075.11243995192483949071@ping.linuxembedded.co.uk>","Content-Language":"en-US, nl","In-Reply-To":"<177262558706.1693075.11243995192483949071@ping.linuxembedded.co.uk>","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"7bit","X-Proofpoint-GUID":"OPmgvC5Y9GQ4QHtTSoXiv89rtukZbLeI","X-Proofpoint-ORIG-GUID":"OPmgvC5Y9GQ4QHtTSoXiv89rtukZbLeI","X-Authority-Analysis":"v=2.4 cv=Ed7FgfmC c=1 sm=1 tr=0 ts=69a82346 cx=c_pps\n\ta=HLyN3IcIa5EE8TELMZ618Q==:117 a=rrvG0T/C2D967D07Ol03YQ==:17\n\ta=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10\n\ta=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22\n\ta=3WHJM1ZQz_JShphwDgj5:22\n\ta=YAyIRdgMAAAA:8 a=P1BnusSwAAAA:8 a=20KFwNOVAAAA:8 a=EUspDBNiAAAA:8\n\ta=4ymvyIbXLmNVcOBzB6kA:9 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22\n\ta=o1rO4XtwZBNj6n05oSJ_:22 a=D0XLA9XvdZm18NrgonBM:22","X-Proofpoint-Spam-Details-Enc":"AW1haW4tMjYwMzA0MDA5NyBTYWx0ZWRfX4/ciXDd9fAVO\n\tvBfenSauL/Fm9jNBz1RNjRV6YRsMyGcEe0H8WGUVuzLXVNBZRTXxjVHMAIJiu51gnHIlAzIGDR7\n\twX5J9i6Wd2DYtSJdIAWa7UD9XnMMHIb2J/ShMbMpqA6u4pmZ17idZIgAFDT3nsodfobTPUxsw1J\n\tO8oPXSMJZaZIx97/wz+5gKCYpnBJVry8XjJqhVBRgrRH8zdIvgv6S3cf7MrfeMS5ODT7h94y7Ds\n\tIe1zWNoKQ/j/YOysrK7vjg+a38EtR6QQrG/RwpGr5xsU+YNDQL8d+HwL3vypmykL5imNKRq5zlB\n\tAmupWb9Y5Kpe5yEUsRSRNORuirLgqMDCkdoIit0LovF1GgoNJZlfSAUezM4aEJWpyZ7VoEq3nJn\n\t26L0gGh3ZfOoZaPTrKkKdf7DXTAr4946eR7Y34J+Uc6AQGxdqgTvbBJz776itk1yL+GYVN8RDwK\n\t0yXLvm73w9xqOUOY/yw==","X-Proofpoint-Virus-Version":"vendor=baseguard\n\tengine=ICAP:2.0.293, Aquarius:18.0.1143, Hydra:6.1.51,\n\tFMLib:17.12.100.49\n\tdefinitions=2026-03-04_05,2026-03-03_01,2025-10-01_01","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n\tbulkscore=0 suspectscore=0 spamscore=0 adultscore=0\n\tlowpriorityscore=0\n\tclxscore=1015 malwarescore=0 impostorscore=0 priorityscore=1501\n\tphishscore=0\n\tclassifier=typeunknown authscore=0 authtc= authcc= route=outbound\n\tadjust=0\n\treason=mlx scancount=1 engine=8.22.0-2602130000\n\tdefinitions=main-2603040097","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>"}},{"id":38329,"web_url":"https://patchwork.libcamera.org/comment/38329/","msgid":"<177262753164.1693075.7207324636584670047@ping.linuxembedded.co.uk>","date":"2026-03-04T12:32:11","subject":"Re: [PATCH v6] Documentation/runtime_configuration: Add missing\n\tsoftware_isp.mode doc","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Quoting Hans de Goede (2026-03-04 12:19:15)\n> Hi,\n> \n> On 4-Mar-26 12:59 PM, Kieran Bingham wrote:\n> > Quoting Hans de Goede (2026-03-04 11:02:46)\n> >> The software_isp.mode setting was missing from the runtime_configuration\n> >> documentation, add it.\n> > \n> > I guess this was part of another series ? Anyway lets just merge it!\n> \n> Yes this was patch 5/5 of \"[PATCH v5 0/5] software_isp: debayer_cpu: Add\n> multi-threading support\" as also mentioned in the changelog below\n> the cut-line :)\n> \n> Note this will not apply cleanly without first applying 1-4 of\n> \n> https://patchwork.libcamera.org/project/libcamera/list/?series=5817\n> \n> All 4 of those have a Reviewed-by from Milan, so from my pov those are\n> ready for merging too.\n\nAha, I missed that - but Ack.\n--\nKieran\n\n> \n> Regards,\n> \n> Hans\n> \n> \n> \n> > \n> > Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n> > \n> >>\n> >> Reviewed-by: Milan Zamazal <mzamazal@redhat.com>\n> >> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>\n> >> ---\n> >> Changes in v6:\n> >> - Use \"LIBCAMERA_SOFTISP_MODE, software_isp.mode\" as item title\n> >> - Add Milan's Reviewed-by\n> >> - Send out as standalone patch, v5 of rest of series is ready as is\n> >>\n> >> Changes in v5:\n> >> - New patch in v5 of this series\n> >> ---\n> >>  Documentation/runtime_configuration.rst | 9 +++++++++\n> >>  1 file changed, 9 insertions(+)\n> >>\n> >> diff --git a/Documentation/runtime_configuration.rst b/Documentation/runtime_configuration.rst\n> >> index 651929a4d..a95de2f43 100644\n> >> --- a/Documentation/runtime_configuration.rst\n> >> +++ b/Documentation/runtime_configuration.rst\n> >> @@ -51,6 +51,7 @@ file structure:\n> >>        measure:\n> >>          skip: # non-negative integer, frames to skip initially\n> >>          number: # non-negative integer, frames to measure\n> >> +      mode: # cpu/gpu\n> >>        threads: # integer >= 1, number of render threads to use, default 2\n> >>  \n> >>  Configuration file example\n> >> @@ -85,6 +86,7 @@ Configuration file example\n> >>         measure:\n> >>           skip: 50\n> >>           number: 30\n> >> +       mode: gpu\n> >>         threads: 2\n> >>  \n> >>  List of variables and configuration options\n> >> @@ -141,6 +143,13 @@ LIBCAMERA_<NAME>_TUNING_FILE\n> >>  \n> >>     Example value: ``/usr/local/share/libcamera/ipa/rpi/vc4/custom_sensor.json``\n> >>  \n> >> +LIBCAMERA_SOFTISP_MODE, software_isp.mode\n> >> +   Select if the software ISP should use GPU or CPU image processsing,\n> >> +   one of ``cpu`` or ``gpu``. When set to ``gpu`` and EGL is not available\n> >> +   the software ISP will automatically fall back to the CPU.\n> >> +\n> >> +   Example value: ``gpu``\n> >> +\n> >>  pipelines.simple.supported_devices.driver, pipelines.simple.supported_devices.software_isp\n> >>     Override whether software ISP is enabled for the given driver.\n> >>  \n> >> -- \n> >> 2.52.0\n> >>\n>","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 D0A58BE086\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  4 Mar 2026 12:32:17 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 12D3E623A6;\n\tWed,  4 Mar 2026 13:32:17 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EEA6462380\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  4 Mar 2026 13:32:14 +0100 (CET)","from monstersaurus.ideasonboard.com\n\t(cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 39F8F838;\n\tWed,  4 Mar 2026 13:31:12 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"XHwwVb85\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1772627472;\n\tbh=VoHpBBUK0LNimPcnDTsr4K80bO7A78N2FAwKoL51mgs=;\n\th=In-Reply-To:References:Subject:From:Cc:To:Date:From;\n\tb=XHwwVb85/3XLEPMsN/mBPaARnRq6P/RKS/nq/J/ZElgtSzsL6m2jO2satvYWL7/88\n\tvhTM6G4mfVlPbgb5bl6ZF+5Fwfb9xyLu4N9Ba84EvJ249TPBl5eXdLhMnkpmGKxA4A\n\tGGmTpTUyVIYAZdrohOptLqeXGfMiNqQ7hM3yz2PE=","Content-Type":"text/plain; charset=\"utf-8\"","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<185fe14b-b604-4102-abe3-751aa1f896cc@oss.qualcomm.com>","References":"<20260304110246.15191-1-johannes.goede@oss.qualcomm.com>\n\t<177262558706.1693075.11243995192483949071@ping.linuxembedded.co.uk>\n\t<185fe14b-b604-4102-abe3-751aa1f896cc@oss.qualcomm.com>","Subject":"Re: [PATCH v6] Documentation/runtime_configuration: Add missing\n\tsoftware_isp.mode doc","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Cc":"Milan Zamazal <mzamazal@redhat.com>","To":"Hans de Goede <johannes.goede@oss.qualcomm.com>,\n\tlibcamera-devel@lists.libcamera.org","Date":"Wed, 04 Mar 2026 12:32:11 +0000","Message-ID":"<177262753164.1693075.7207324636584670047@ping.linuxembedded.co.uk>","User-Agent":"alot/0.9.1","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>"}}]