[ipu6-camera-hal] Update /lib/modprobe.d/intel_ipu6_isys.conf for newer versions of
by jwrdegoede
commit a7a108b0478f9bd4573be499968ec9f7e9f582e2
Author: Hans de Goede <hdegoede(a)redhat.com>
Date: Tue Oct 10 17:55:45 2023 +0200
Update /lib/modprobe.d/intel_ipu6_isys.conf for newer versions of
intel-ipu6-kmod creating up to 8 /dev/video# nodes
intel_ipu6_isys.conf | 2 +-
ipu6-camera-hal.spec | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/intel_ipu6_isys.conf b/intel_ipu6_isys.conf
index cf290c8..0ea144d 100644
--- a/intel_ipu6_isys.conf
+++ b/intel_ipu6_isys.conf
@@ -1,3 +1,3 @@
# Move the special isys /dev/video# node out of the way of
# normal v4l2 devices such as v4l2loopback
-options intel_ipu6_isys video_nr=7
+options intel_ipu6_isys video_nr=8,9,10,11,12,13,14,15
diff --git a/ipu6-camera-hal.spec b/ipu6-camera-hal.spec
index f4a1e1b..19053ea 100644
--- a/ipu6-camera-hal.spec
+++ b/ipu6-camera-hal.spec
@@ -9,7 +9,7 @@ Name: ipu6-camera-hal
Summary: Hardware abstraction layer for Intel IPU6
URL: https://github.com/intel/ipu6-camera-hal
Version: 0.0
-Release: 15.%{commitdate}git%{shortcommit}%{?dist}
+Release: 16.%{commitdate}git%{shortcommit}%{?dist}
License: Apache-2.0
Source0: https://github.com/intel/%{name}/archive/%{commit}/%{name}-%{shortcommit}...
@@ -114,6 +114,10 @@ fi
%changelog
+* Tue Oct 10 2023 Hans de Goede <hdegoede(a)redhat.com> - 0.0-16.20230208git884b81a
+- Update /lib/modprobe.d/intel_ipu6_isys.conf for newer versions of
+ intel-ipu6-kmod creating up to 8 /dev/video# nodes
+
* Tue Aug 08 2023 Kate Hsuan <hpa(a)redhat.com> - 0.0-15.20230208git884b81a
- Updated to commit 884b81aae0ea19a974eb8ccdaeef93038136bdd4
1 year, 1 month
[intel-ipu6-kmod/f37: 7/7] Merge remote-tracking branch 'origin/master' into f37
by jwrdegoede
commit 19ea242501a8dc0ab4823cbe56bbede6f496b6b0
Merge: 2cf77bb ff26834
Author: Hans de Goede <hdegoede(a)redhat.com>
Date: Tue Oct 10 17:50:39 2023 +0200
Merge remote-tracking branch 'origin/master' into f37
.gitignore | 1 +
0001-ipu6-Fix-compilation-with-kernels-6.6.0.patch | 178 +++++++++++++++++++--
intel-ipu6-kmod.spec | 20 ++-
sources | 2 +-
4 files changed, 183 insertions(+), 18 deletions(-)
---
1 year, 1 month
[intel-ipu6-kmod/f38: 9/9] Merge remote-tracking branch 'origin/master' into f38
by jwrdegoede
commit f675908d55e1b3e8f2c2a61e9e4394e4a38d3588
Merge: 4beb7a1 ff26834
Author: Hans de Goede <hdegoede(a)redhat.com>
Date: Tue Oct 10 17:47:19 2023 +0200
Merge remote-tracking branch 'origin/master' into f38
.gitignore | 1 +
0001-ipu6-Fix-compilation-with-kernels-6.6.0.patch | 178 +++++++++++++++++++--
intel-ipu6-kmod.spec | 20 ++-
sources | 2 +-
4 files changed, 183 insertions(+), 18 deletions(-)
---
1 year, 1 month
[intel-ipu6-kmod/f39: 5/5] Merge remote-tracking branch 'origin/master' into f39
by jwrdegoede
commit a5ee71d0bb80932c6d4d4441cd1ffab65ee4c5ce
Merge: 5744b2d ff26834
Author: Hans de Goede <hdegoede(a)redhat.com>
Date: Tue Oct 10 17:42:39 2023 +0200
Merge remote-tracking branch 'origin/master' into f39
.gitignore | 1 +
0001-ipu6-Fix-compilation-with-kernels-6.6.0.patch | 178 +++++++++++++++++++--
intel-ipu6-kmod.spec | 11 +-
sources | 2 +-
4 files changed, 177 insertions(+), 15 deletions(-)
---
1 year, 1 month
[intel-ipu6-kmod] Updated ivsc-driver to commit e8ea8b825217091fa91c9b3cb68cee4101d416e2
by jwrdegoede
commit ff268349761b85e0553d2c9a0f8bc7e5f0da9e0f
Author: Hans de Goede <hdegoede(a)redhat.com>
Date: Tue Oct 10 17:03:04 2023 +0200
Updated ivsc-driver to commit e8ea8b825217091fa91c9b3cb68cee4101d416e2
This fixes the camera not working on some Dell laptops
Update patch to fix building against 6.6 kernels
.gitignore | 1 +
0001-ipu6-Fix-compilation-with-kernels-6.6.0.patch | 178 +++++++++++++++++++--
intel-ipu6-kmod.spec | 11 +-
sources | 2 +-
4 files changed, 177 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f3a36f6..c6287a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/ivsc-driver-c8db12b.tar.gz
/ipu6-drivers-8e41080.tar.gz
/ivsc-driver-cce4377.tar.gz
+/ivsc-driver-e8ea8b8.tar.gz
diff --git a/0001-ipu6-Fix-compilation-with-kernels-6.6.0.patch b/0001-ipu6-Fix-compilation-with-kernels-6.6.0.patch
index 9f448f8..d187ae2 100644
--- a/0001-ipu6-Fix-compilation-with-kernels-6.6.0.patch
+++ b/0001-ipu6-Fix-compilation-with-kernels-6.6.0.patch
@@ -1,4 +1,4 @@
-From 931ceecc44e2aec6e703cc1ecd1a281114678756 Mon Sep 17 00:00:00 2001
+From 6d44fd57f373ea12f4f8d47883be29f749ab1704 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede(a)redhat.com>
Date: Mon, 28 Aug 2023 17:05:16 +0200
Subject: [PATCH] ipu6: Fix compilation with kernels >= 6.6.0
@@ -8,16 +8,169 @@ Kernel 6.6 has made some significant changes to how v4l2-async
Signed-off-by: Hans de Goede <hdegoede(a)redhat.com>
---
+ drivers/media/i2c/gc5035.c | 4 +
+ drivers/media/i2c/hi556.c | 4 +
+ drivers/media/i2c/hm11b1.c | 4 +
+ drivers/media/i2c/hm2170.c | 4 +
+ drivers/media/i2c/ov01a10.c | 4 +
+ drivers/media/i2c/ov01a1s.c | 4 +
+ drivers/media/i2c/ov02c10.c | 4 +
+ drivers/media/i2c/ov2740.c | 4 +
+ drivers/media/i2c/ov8856.c | 4 +
drivers/media/pci/intel/ipu-isys.c | 78 +++++++++++++++++++-
drivers/media/pci/intel/ipu6/ipu6-isys-phy.c | 14 +++-
include/media/ipu-isys.h | 5 ++
- 3 files changed, 94 insertions(+), 3 deletions(-)
+ 12 files changed, 130 insertions(+), 3 deletions(-)
+diff --git a/drivers/media/i2c/gc5035.c b/drivers/media/i2c/gc5035.c
+index b46fd5474..25f08ccf4 100644
+--- a/drivers/media/i2c/gc5035.c
++++ b/drivers/media/i2c/gc5035.c
+@@ -2188,7 +2188,11 @@ static struct i2c_driver gc5035_i2c_driver = {
+ .acpi_match_table = ACPI_PTR(gc5035_acpi_ids),
+ .of_match_table = gc5035_of_match,
+ },
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0)
+ .probe_new = gc5035_probe,
++#else
++ .probe = gc5035_probe,
++#endif
+ .remove = gc5035_remove,
+ };
+ module_i2c_driver(gc5035_i2c_driver);
+diff --git a/drivers/media/i2c/hi556.c b/drivers/media/i2c/hi556.c
+index 574eb3f14..658a8aab8 100644
+--- a/drivers/media/i2c/hi556.c
++++ b/drivers/media/i2c/hi556.c
+@@ -1220,7 +1220,11 @@ static struct i2c_driver hi556_i2c_driver = {
+ .pm = &hi556_pm_ops,
+ .acpi_match_table = ACPI_PTR(hi556_acpi_ids),
+ },
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0)
+ .probe_new = hi556_probe,
++#else
++ .probe = hi556_probe,
++#endif
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 0)
+ .remove = hi556_remove_bp,
+ #else
+diff --git a/drivers/media/i2c/hm11b1.c b/drivers/media/i2c/hm11b1.c
+index 071cb0607..9bfc51d69 100644
+--- a/drivers/media/i2c/hm11b1.c
++++ b/drivers/media/i2c/hm11b1.c
+@@ -1228,7 +1228,11 @@ static struct i2c_driver hm11b1_i2c_driver = {
+ .pm = &hm11b1_pm_ops,
+ .acpi_match_table = ACPI_PTR(hm11b1_acpi_ids),
+ },
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0)
+ .probe_new = hm11b1_probe,
++#else
++ .probe = hm11b1_probe,
++#endif
+ .remove = hm11b1_remove,
+ };
+
+diff --git a/drivers/media/i2c/hm2170.c b/drivers/media/i2c/hm2170.c
+index 0c55a78ae..3660d1bc0 100644
+--- a/drivers/media/i2c/hm2170.c
++++ b/drivers/media/i2c/hm2170.c
+@@ -1307,7 +1307,11 @@ static struct i2c_driver hm2170_i2c_driver = {
+ .pm = &hm2170_pm_ops,
+ .acpi_match_table = hm2170_acpi_ids,
+ },
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0)
+ .probe_new = hm2170_probe,
++#else
++ .probe = hm2170_probe,
++#endif
+ .remove = hm2170_remove,
+ };
+
+diff --git a/drivers/media/i2c/ov01a10.c b/drivers/media/i2c/ov01a10.c
+index 9b12fbc2e..ddd36d9f4 100644
+--- a/drivers/media/i2c/ov01a10.c
++++ b/drivers/media/i2c/ov01a10.c
+@@ -989,7 +989,11 @@ static struct i2c_driver ov01a10_i2c_driver = {
+ .pm = &ov01a10_pm_ops,
+ .acpi_match_table = ACPI_PTR(ov01a10_acpi_ids),
+ },
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0)
+ .probe_new = ov01a10_probe,
++#else
++ .probe = ov01a10_probe,
++#endif
+ .remove = ov01a10_remove,
+ };
+
+diff --git a/drivers/media/i2c/ov01a1s.c b/drivers/media/i2c/ov01a1s.c
+index d46f895a5..15481b572 100644
+--- a/drivers/media/i2c/ov01a1s.c
++++ b/drivers/media/i2c/ov01a1s.c
+@@ -1131,7 +1131,11 @@ static struct i2c_driver ov01a1s_i2c_driver = {
+ .pm = &ov01a1s_pm_ops,
+ .acpi_match_table = ACPI_PTR(ov01a1s_acpi_ids),
+ },
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0)
+ .probe_new = ov01a1s_probe,
++#else
++ .probe = ov01a1s_probe,
++#endif
+ .remove = ov01a1s_remove,
+ };
+
+diff --git a/drivers/media/i2c/ov02c10.c b/drivers/media/i2c/ov02c10.c
+index 9fe5e9127..da31e4104 100644
+--- a/drivers/media/i2c/ov02c10.c
++++ b/drivers/media/i2c/ov02c10.c
+@@ -1405,7 +1405,11 @@ static struct i2c_driver ov02c10_i2c_driver = {
+ .pm = &ov02c10_pm_ops,
+ .acpi_match_table = ACPI_PTR(ov02c10_acpi_ids),
+ },
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0)
+ .probe_new = ov02c10_probe,
++#else
++ .probe = ov02c10_probe,
++#endif
+ .remove = ov02c10_remove,
+ };
+
+diff --git a/drivers/media/i2c/ov2740.c b/drivers/media/i2c/ov2740.c
+index 293c1b693..8d22688ff 100644
+--- a/drivers/media/i2c/ov2740.c
++++ b/drivers/media/i2c/ov2740.c
+@@ -1583,7 +1583,11 @@ static struct i2c_driver ov2740_i2c_driver = {
+ .pm = &ov2740_pm_ops,
+ .acpi_match_table = ov2740_acpi_ids,
+ },
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0)
+ .probe_new = ov2740_probe,
++#else
++ .probe = ov2740_probe,
++#endif
+ .remove = ov2740_remove,
+ };
+
+diff --git a/drivers/media/i2c/ov8856.c b/drivers/media/i2c/ov8856.c
+index 07b4d16e7..b1e938e67 100644
+--- a/drivers/media/i2c/ov8856.c
++++ b/drivers/media/i2c/ov8856.c
+@@ -1308,7 +1308,11 @@ static struct i2c_driver ov8856_i2c_driver = {
+ .pm = &ov8856_pm_ops,
+ .acpi_match_table = ACPI_PTR(ov8856_acpi_ids),
+ },
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0)
+ .probe_new = ov8856_probe,
++#else
++ .probe = ov8856_probe,
++#endif
+ .remove = ov8856_remove,
+ .id_table = ov8856_id_table,
+ };
diff --git a/drivers/media/pci/intel/ipu-isys.c b/drivers/media/pci/intel/ipu-isys.c
-index 5cab1bb1b68c..de68e3a381e8 100644
+index d4a76f0f4..4089141ad 100644
--- a/drivers/media/pci/intel/ipu-isys.c
+++ b/drivers/media/pci/intel/ipu-isys.c
-@@ -725,7 +725,11 @@ static int isys_iwake_watermark_cleanup(struct ipu_isys *isys)
+@@ -720,7 +720,11 @@ static int isys_iwake_watermark_cleanup(struct ipu_isys *isys)
/* The .bound() notifier callback when a match is found */
static int isys_notifier_bound(struct v4l2_async_notifier *notifier,
struct v4l2_subdev *sd,
@@ -29,7 +182,7 @@ index 5cab1bb1b68c..de68e3a381e8 100644
{
struct ipu_isys *isys = container_of(notifier,
struct ipu_isys, notifier);
-@@ -741,7 +745,11 @@ static int isys_notifier_bound(struct v4l2_async_notifier *notifier,
+@@ -736,7 +740,11 @@ static int isys_notifier_bound(struct v4l2_async_notifier *notifier,
static void isys_notifier_unbind(struct v4l2_async_notifier *notifier,
struct v4l2_subdev *sd,
@@ -41,7 +194,7 @@ index 5cab1bb1b68c..de68e3a381e8 100644
{
struct ipu_isys *isys = container_of(notifier,
struct ipu_isys, notifier);
-@@ -765,6 +773,7 @@ static const struct v4l2_async_notifier_operations isys_async_ops = {
+@@ -760,6 +768,7 @@ static const struct v4l2_async_notifier_operations isys_async_ops = {
.complete = isys_notifier_complete,
};
@@ -49,7 +202,7 @@ index 5cab1bb1b68c..de68e3a381e8 100644
static int isys_fwnode_parse(struct device *dev,
struct v4l2_fwnode_endpoint *vep,
struct v4l2_async_subdev *asd)
-@@ -777,6 +786,7 @@ static int isys_fwnode_parse(struct device *dev,
+@@ -772,6 +781,7 @@ static int isys_fwnode_parse(struct device *dev,
return 0;
}
@@ -57,7 +210,7 @@ index 5cab1bb1b68c..de68e3a381e8 100644
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 16, 0) && LINUX_VERSION_CODE != KERNEL_VERSION(5, 15, 71)
static int isys_notifier_init(struct ipu_isys *isys)
-@@ -819,7 +829,7 @@ static void isys_notifier_cleanup(struct ipu_isys *isys)
+@@ -814,7 +824,7 @@ static void isys_notifier_cleanup(struct ipu_isys *isys)
v4l2_async_notifier_unregister(&isys->notifier);
v4l2_async_notifier_cleanup(&isys->notifier);
}
@@ -66,7 +219,7 @@ index 5cab1bb1b68c..de68e3a381e8 100644
static int isys_notifier_init(struct ipu_isys *isys)
{
struct ipu_device *isp = isys->adev->isp;
-@@ -852,7 +862,73 @@ static int isys_notifier_init(struct ipu_isys *isys)
+@@ -847,7 +857,73 @@ static int isys_notifier_init(struct ipu_isys *isys)
return ret;
}
@@ -141,7 +294,7 @@ index 5cab1bb1b68c..de68e3a381e8 100644
{
v4l2_async_nf_unregister(&isys->notifier);
diff --git a/drivers/media/pci/intel/ipu6/ipu6-isys-phy.c b/drivers/media/pci/intel/ipu6/ipu6-isys-phy.c
-index c26780106c78..d2f4f74b67ee 100644
+index c26780106..d2f4f74b6 100644
--- a/drivers/media/pci/intel/ipu6/ipu6-isys-phy.c
+++ b/drivers/media/pci/intel/ipu6/ipu6-isys-phy.c
@@ -504,11 +504,16 @@ int ipu6_isys_phy_common_init(struct ipu_isys *isys)
@@ -182,7 +335,7 @@ index c26780106c78..d2f4f74b67ee 100644
cfg.port = s_asd->csi2.port;
cfg.nlanes = s_asd->csi2.nlanes;
diff --git a/include/media/ipu-isys.h b/include/media/ipu-isys.h
-index b75febf80fc2..0b0caab1b10f 100644
+index b75febf80..0b0caab1b 100644
--- a/include/media/ipu-isys.h
+++ b/include/media/ipu-isys.h
@@ -6,6 +6,7 @@
@@ -205,3 +358,6 @@ index b75febf80fc2..0b0caab1b10f 100644
struct ipu_isys_csi2_config csi2;
};
+--
+2.40.1
+
diff --git a/intel-ipu6-kmod.spec b/intel-ipu6-kmod.spec
index bcb9dd7..f5efaa2 100644
--- a/intel-ipu6-kmod.spec
+++ b/intel-ipu6-kmod.spec
@@ -7,8 +7,8 @@
%global ipu6_commitdate 20230622
%global ipu6_shortcommit %(c=%{ipu6_commit}; echo ${c:0:7})
-%global ivsc_commit cce4377f1539f3e7e8d8b45fbe23e87828ed1deb
-%global ivsc_commitdate 20230621
+%global ivsc_commit e8ea8b825217091fa91c9b3cb68cee4101d416e2
+%global ivsc_commitdate 20231009
%global ivsc_shortcommit %(c=%{ivsc_commit}; echo ${c:0:7})
%global prjname intel-ipu6
@@ -16,7 +16,7 @@
Name: %{prjname}-kmod
Summary: Kernel module (kmod) for %{prjname}
Version: 0.0
-Release: 8.%{ipu6_commitdate}git%{ipu6_shortcommit}%{?dist}
+Release: 9.%{ipu6_commitdate}git%{ipu6_shortcommit}%{?dist}
License: GPLv2+
URL: https://github.com/intel
@@ -100,6 +100,11 @@ done
%changelog
+* Tue Oct 10 2023 Hans de Goede <hdegoede(a)redhat.com> - 0.0-9.20230622git8e41080
+- Updated ivsc-driver to commit e8ea8b825217091fa91c9b3cb68cee4101d416e2
+- This fixes the camera not working on some Dell laptops
+- Update patch to fix building against 6.6 kernels
+
* Thu Aug 31 2023 Kate Hsuan <hpa(a)redhat.com> - 0.0-8.20230622git8e41080
- Support for 6.6 kernel
diff --git a/sources b/sources
index 3f22bae..c427ed3 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
SHA512 (ipu6-drivers-8e41080.tar.gz) = 53ea2da2d34e6a046aafe4ac2bb66e9330b727332dcefeebb00bc0727995b6bfeaa43b9e8d93008b67b3b2e18b8fc4a79d843ea4a440cde74bcb1d3d8d78c2fc
-SHA512 (ivsc-driver-cce4377.tar.gz) = 7b7a434908f30601f086cfc4f50ba194caa32d8b8f9bf3f7ef0c68d2fad173df461c1bb9febfd00ddd7d2db05ac5411d074a1018ceebb94537a73589f6b4c66f
+SHA512 (ivsc-driver-e8ea8b8.tar.gz) = 95eca44ecff6e657abd861a7ca63312d134110f6ec62fd8941d6b94040291d54f97dfd01775fa41f6487eb2adb9a69afdc1a6bba7ece0d491c050ba263fa041d
1 year, 1 month
[telegram-desktop] Rebuild with new Qt 6.
by Vasiliy Glazov
commit 5319c8ccc074bb3a76cb04e808fdc0fe5ab5d61b
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Tue Oct 10 12:09:32 2023 +0300
Rebuild with new Qt 6.
telegram-desktop.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 0dbf0bb..4fdb7f6 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -6,7 +6,7 @@
Name: telegram-desktop
Version: 4.10.3
-Release: 1%{?dist}
+Release: 2%{?dist}
# Application and 3rd-party modules licensing:
# * Telegram Desktop - GPL-3.0-or-later with OpenSSL exception -- main tarball;
@@ -164,6 +164,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_metainfodir}/*.metainfo.xml
%changelog
+* Tue Oct 10 2023 Vasiliy Glazov <vascom2(a)gmail.com> - 4.10.3-2
+- Rebuild with new Qt 6
+
* Tue Oct 03 2023 Vasiliy Glazov <vascom2(a)gmail.com> - 4.10.3-1
- Update to 4.10.3
1 year, 1 month