commit 010280e7890dcaeca52e9e9bbd38665a71c07fd2
Author: Hans de Goede <hdegoede(a)redhat.com>
Date: Thu Jun 8 20:55:05 2023 +0200
Add Raptor Lake IPU6EP PCI-id to 60-intel-ipu6.rules
60-intel-ipu6.rules | 26 +++++++++++++++++++++-----
ipu6-camera-hal.spec | 5 ++++-
2 files changed, 25 insertions(+), 6 deletions(-)
---
diff --git a/60-intel-ipu6.rules b/60-intel-ipu6.rules
index 4cd9fc3..123a415 100644
--- a/60-intel-ipu6.rules
+++ b/60-intel-ipu6.rules
@@ -1,8 +1,24 @@
-SUBSYSTEM=="pci", ATTR{vendor}=="0x8086",
ATTR{device}=="0x9a19", RUN+="/bin/ln -sf /usr/lib64/ipu6/libcamhal.so
/run/libcamhal.so"
-SUBSYSTEM=="pci", ATTR{vendor}=="0x8086",
ATTR{device}=="0x465d", RUN+="/bin/ln -sf /usr/lib64/ipu6ep/libcamhal.so
/run/libcamhal.so"
-SUBSYSTEM=="pci", ATTR{vendor}=="0x8086",
ATTR{device}=="0x9a19", RUN+="/bin/ln -sf
/usr/share/defaults/etc/ipu6/v4l2-relayd /run/v4l2-relayd"
-SUBSYSTEM=="pci", ATTR{vendor}=="0x8086",
ATTR{device}=="0x465d", RUN+="/bin/ln -sf
/usr/share/defaults/etc/ipu6ep/v4l2-relayd /run/v4l2-relayd"
+# Tiger Lake
+SUBSYSTEM=="pci", ATTR{vendor}=="0x8086",
ATTR{device}=="0x9a19", GOTO="ipu6"
+# Alder Lake-N
+SUBSYSTEM=="pci", ATTR{vendor}=="0x8086",
ATTR{device}=="0x465d", GOTO="ipu6ep"
+# Alder Lake-P
+SUBSYSTEM=="pci", ATTR{vendor}=="0x8086",
ATTR{device}=="0x462e", GOTO="ipu6ep"
+# Raptor Lake-P
+SUBSYSTEM=="pci", ATTR{vendor}=="0x8086",
ATTR{device}=="0xa75d", GOTO="ipu6ep"
+GOTO="ipu6_end"
-KERNEL=="ipu-psys0", TAG+="uaccess"
+LABEL="ipu6"
+RUN+="/bin/ln -sf /usr/lib64/ipu6/libcamhal.so /run/libcamhal.so"
+RUN+="/bin/ln -sf /usr/share/defaults/etc/ipu6/v4l2-relayd /run/v4l2-relayd"
+GOTO="ipu6_end"
+
+LABEL="ipu6ep"
+RUN+="/bin/ln -sf /usr/lib64/ipu6ep/libcamhal.so /run/libcamhal.so"
+RUN+="/bin/ln -sf /usr/share/defaults/etc/ipu6ep/v4l2-relayd /run/v4l2-relayd"
+GOTO="ipu6_end"
+LABEL="ipu6_end"
+
+KERNEL=="ipu-psys0", TAG+="uaccess"
diff --git a/ipu6-camera-hal.spec b/ipu6-camera-hal.spec
index f519d4f..1de750e 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: 12.%{commitdate}git%{shortcommit}%{?dist}
+Release: 13.%{commitdate}git%{shortcommit}%{?dist}
License: Apache-2.0
Source0:
https://github.com/intel/%{name}/archive/%{commit}/%{name}-%{shortcommit}...
@@ -114,6 +114,9 @@ fi
%changelog
+* Thu Jun 8 2023 Hans de Goede <hdegoede(a)redhat.com> - 0.0-13.20221112gitcc0b859
+- Add Raptor Lake IPU6EP PCI-id to 60-intel-ipu6.rules
+
* Tue May 30 2023 Kate Hsuan <hpa(a)redhat.com> - 0.0-12.20221112gitcc0b859
- Fix 11 and skip udev command for container and rpm-ostree environments