aboutsummaryrefslogtreecommitdiffci
path: root/kernel-surface.spec
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
authorGravatar Saya Andy <saya.andy@posteo.com> 2026-09-07 04:46:01 +0700
committerGravatar Saya Andy <saya.andy@posteo.com> 2026-09-07 04:46:01 +0700
commitfbbe093a4d07ee6b6370101f5161c0eef2865e50 (patch)
treec3aa25070126e7de61af062dd4af91b07f2f14ea /kernel-surface.spec
parent551cf11d2d3475996ef499358644486ccfec8e0a (diff)
downloadkernel-surface-fbbe093a4d07ee6b6370101f5161c0eef2865e50.tar.gz
kernel-surface-fbbe093a4d07ee6b6370101f5161c0eef2865e50.zip
feat: add local patches for fixing libcamera color pattern issue + irisfedora-45-kernel-7.2.3-patchset-2
decoder sign misfit
Diffstat (limited to 'kernel-surface.spec')
-rw-r--r--kernel-surface.spec18
1 files changed, 17 insertions, 1 deletions
diff --git a/kernel-surface.spec b/kernel-surface.spec
index 5acf949..e238be7 100644
--- a/kernel-surface.spec
+++ b/kernel-surface.spec
@@ -17,7 +17,7 @@
# Bumped whenever the patch tarball changes without the upstream version moving.
%if %{undefined patchset_ver}
-%global patchset_ver 1
+%global patchset_ver 2
%endif
# rpm gives - to the version-release separator, so it cannot appear in Version
@@ -143,6 +143,18 @@ for patchdir in patches/*/; do
done
rm -rf patches
+# The camera series calls devm_phy_get_by_of_node(), which only the phy series
+# adds -- and the overlay's own 7.2.3 ebuild left phy out of its loop while
+# shipping the camera patch that needs it. Applying one without the other
+# compiles for twenty-odd minutes before failing in camss-csiphy.c, so assert
+# the declaration is here while it is still cheap to say so.
+grep -q 'devm_phy_get_by_of_node' include/linux/phy/phy.h || {
+ echo "ERROR: include/linux/phy/phy.h does not declare devm_phy_get_by_of_node."
+ echo "The camera patches need the phy ones; check phy is in patch-order.txt"
+ echo "and that it exists at the pinned overlay commit."
+ exit 1
+}
+
# Fold the -rcN suffix into the package release instead of carrying it in
# uname -r, so the module directory is named the way Fedora names it.
sed -i 's/^EXTRAVERSION[[:space:]]*=.*/EXTRAVERSION =/' Makefile
@@ -234,5 +246,9 @@ fi
%ghost %attr(0644,root,root) /boot/vmlinuz-%{kverrel}
%changelog
+* Sun Sep 06 2026 Saya Andy 7.2.3-2
+- Local camera patch: report the right bayer order when mirrored (fixes the black-green monochrome output issue)
+- Local surface patch: point iris at the OEM video firmware (fixes error -22 for video encoding/decoding)
+
* Sun Sep 06 2026 Saya Andy 7.2.3-1
- Initial package: vanilla 7.2.3 with the overlay's Surface Pro 12" patch set