Files
pmaports-rtwo/temp/libcamera/0001-libcamera-simple-Enable-softISP-for-the-Pinephone.patch
T
Robert Mader cc9831c0a9 temp/libcamera: upgrade to 0.7.0
https://gitlab.freedesktop.org/camera/libcamera/-/releases/v0.7.0

This release notably comes with the long awaited GPU-ISP, improving
performance and quality in various ways.

Also:
1. Drop upstreamed or superseded patches.
2. Update entries in tuning files.
3. Sync dependencies to alpine package.
4. Enable the virtual pipeline for easier testing on devices without
   working cameras (see /usr/share/libcamera/pipeline/virtual/virtual.yaml.example).

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7867>
2026-01-29 13:47:42 +01:00

35 lines
1.3 KiB
Diff

From 91b13b6c3b596775a80cdb661259fbd90b4189b2 Mon Sep 17 00:00:00 2001
From: Robert Mader <robert.mader@collabora.com>
Date: Wed, 1 May 2024 18:12:02 +0200
Subject: [PATCH 1/3] libcamera: simple: Enable softISP for the Pinephone
In theory the PP should be able to use the actual HW ISP, however in
practice this does not work well yet - especially as the driver for the
front camera in Megi differs heavily from the upstream one.
Thus enable the swISP to make both cameras work reliably for now. This
is essentially what Megapixels does as well. If the HW ISP situation
improves, this can be dropped again.
Signed-off-by: Robert Mader <robert.mader@collabora.com>
---
src/libcamera/pipeline/simple/simple.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp
index 4a0b9f58d..8a3bc14fa 100644
--- a/src/libcamera/pipeline/simple/simple.cpp
+++ b/src/libcamera/pipeline/simple/simple.cpp
@@ -264,7 +264,7 @@ static const SimplePipelineInfo supportedDevices[] = {
{ "mtk-seninf", { { "mtk-mdp", 3 } }, false },
{ "mxc-isi", {}, false },
{ "qcom-camss", {}, true },
- { "sun6i-csi", {}, false },
+ { "sun6i-csi", {}, true },
};
bool isRaw(const StreamConfiguration &cfg)
--
2.52.0