[Bug 2031412] Re: Support mipi camera on Intel Meteor Lake platform
Launchpad Bug Tracker
2031412 at bugs.launchpad.net
Wed Nov 8 22:38:27 UTC 2023
This bug was fixed in the package ipu6-drivers -
0~git202310180730.3f813580-0ubuntu0.24.04.1
---------------
ipu6-drivers (0~git202310180730.3f813580-0ubuntu0.24.04.1) noble; urgency=low
[ Hao Yao ]
* New upstream 20230802_1500_mtl_plat release.
* New upstream 20230911_0620_mtl_plat_pv release.
[ Hans de Goede ]
* Fix compilation with kernels >= 6.5.0 (LP: #2026402)
- ipu-psys: Fix compilation with kernels >= 6.5.0
- ipu6: Fix compilation with kernels >= 6.6.0
- ipu6: Fix sensor driver compilation with kernels >= 6.6.0
[ You-Sheng Yang ]
* Support mipi camera on Intel Meteor Lake platform (LP: #2031412)
- debian: refresh patches
* dkms: add CONFIG_VIDEO_V4L2_I2C to BUILD_EXCLUSIVE_CONFIG (LP: #2012407)
* debian: add modaliases (LP: #2021740)
* UBUNTU: SAUCE: i2c: compile omitted sensor drivers
-- You-Sheng Yang <vicamo.yang at canonical.com> Fri, 01 Sep 2023
17:51:53 +0800
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2031412
Title:
Support mipi camera on Intel Meteor Lake platform
Status in HWE Next:
New
Status in ipu6-drivers package in Ubuntu:
Fix Released
Status in ivsc-driver package in Ubuntu:
Fix Released
Status in linux package in Ubuntu:
Triaged
Status in linux-firmware package in Ubuntu:
Fix Released
Status in linux-oem-6.5 package in Ubuntu:
Invalid
Status in ipu6-drivers source package in Jammy:
Won't Fix
Status in ivsc-driver source package in Jammy:
Won't Fix
Status in linux source package in Jammy:
Won't Fix
Status in linux-firmware source package in Jammy:
Fix Released
Status in linux-oem-6.5 source package in Jammy:
Fix Committed
Status in ipu6-drivers source package in Mantic:
Triaged
Status in ivsc-driver source package in Mantic:
Triaged
Status in linux source package in Mantic:
Fix Committed
Status in linux-firmware source package in Mantic:
Fix Released
Status in linux-oem-6.5 source package in Mantic:
Invalid
Status in ipu6-drivers source package in Noble:
Fix Released
Status in ivsc-driver source package in Noble:
Fix Released
Status in linux source package in Noble:
Triaged
Status in linux-firmware source package in Noble:
Fix Released
Status in linux-oem-6.5 source package in Noble:
Invalid
Bug description:
[SRU Justification]
========== ipu6-driver ==========
[Impact]
Missing Intel MIPI firmware for Meteor Lake platform.
[Fix]
Based on upstream tag
https://github.com/intel/ipu6-drivers/releases/tag/Release_20231019,
and an additional patch to enable/fix compilation of additional sensor
modules.
[Test Case]
This is verified on MTL Lattice and VSC platforms, as well as previous
generations e.g. TGL and ADL.
To actually verify the camera framework:
```
$ sudo add-apt-repository ppa:oem-solutions-group/intel-ipu6
$ sudo add-apt-repository ppa:canonical-hwe-team/intermediate-kernel
$ sudo apt install linux-oem-22.04d-exp
$ sudo apt install linux-modules-ipu6-oem-22.04d-exp
$ sudo apt install linux-modules-ivsc-oem-22.04d-exp
$ sudo apt install linux-modules-usbio-oem-22.04d-exp
$ sudo apt install gstreamer1.0-icamera v4l2-relayd
```
And then browse https://webcamtests.com/ for testing.
[Where problems could occur]
This is a new platform. We've been verifying its functions and features, and
are still polishing it.
[Other Info]
While Intel Meteor Lake is only supported by linux-oem-6.5/jammy and
linux/mantic and on, and yet the lastest stable driver was verified after Mantic was released, it's being proposed to Noble instead.
========== ivsc-driver ==========
[Impact]
Missing Intel MIPI firmware for Meteor Lake platform.
[Fix]
4 commits from the latest trunk branch on upstream repository
https://github.com/intel/ivsc-driver.
[Test Case]
With all other changes in position, Intel VSC driver modules are to be
loaded as a soft dependency of some selected camera sensor modules.
LJCA modules should be loaded automatically on MTL platforms as well.
To actually verify the camera framework:
```
$ sudo add-apt-repository ppa:oem-solutions-group/intel-ipu6
$ sudo add-apt-repository ppa:canonical-hwe-team/intermediate-kernel
$ sudo apt install linux-oem-22.04d-exp
$ sudo apt install linux-modules-ipu6-oem-22.04d-exp
$ sudo apt install linux-modules-ivsc-oem-22.04d-exp
$ sudo apt install linux-modules-usbio-oem-22.04d-exp
$ sudo apt install gstreamer1.0-icamera v4l2-relayd
```
And then browse https://webcamtests.com/ for testing.
[Where problems could occur]
While it changes how LJCA modules match from ACPI ID, it's also tested
and verified on previous generations using IVSC, e.g. TGL, ADL.
[Other Info]
While Intel Meteor Lake is only supported by linux-oem-6.5/jammy and
linux/mantic and on, and yet the lastest stable driver was verified after Mantic was released, it's being proposed to Noble instead.
========== linux/linux-oem-6.5 ==========
[Impact]
Need kernel driver fixes for int3472/iommu for Intel IPU6 platform on
MTL.
[Fix]
Two fixes in need. One, we need IOMMU passthrough for MTL platform.
The other, fix is for handshake pin support for Lattice MIPI
aggregator.
The Intel IPU6 camera drivers are not yet all upstreamed yet. So far
Intel VSC, LJCA (the previous MIPI aggregator for ADL/RPL platforms) are
in v6.6 already, and IPU6 ISYS is under upstream review. More components
to come according to Intel.
These two fixes are therefore for related components for not-yet fully
upstreamed IPU6 as needed for out-of-tree dkms drivers.
[Test Case]
```
$ sudo dmesg | grep "Passthrough IOMMU for integrated Intel IPU"
$ sudo dmesg | grep int3472
# should have no "int3472-discrete INT3472:0c: GPIO type 0x12 unknown; the sensor may not work"
```
[Where problems could occur]
IOMMU Passthrough as necessary to enable IPU6 on Intel platforms, and
it has been patching a few generations e.g. Bug 1989041 for Raptor
Lake, Bug 1958004 for TGL and ADL. As IPU is not an external facing
device which is not risky.
For INT3472, the proposed patch might receive further updates per
current upstream reviewers' opinions.
[Other Info]
Nominated for linux/mantic and oem-6.5/jammy as they're for MTL.
========== linux-firmware ==========
[Impact]
Missing Intel MIPI firmware for Meteor Lake platform.
[Fix]
Firmware blobs from upstream ipu6-camera-bins repository.
[Test Case]
With firmware loaded correctly, there should be firmware version
printed:
intel-ipu6 intel-ipu: FW version: 20220510
For camera functions, we'll need also updates in the ipu6-drivers, ivsc-drivers
dkms as well.
[Where problems could occur]
This is a new platform. We've been verifying its functions and features, and
are still polishing it.
[Other Info]
While Intel Meteor Lake is only supported by linux-oem-6.5/jammy and
linux/mantic, so only Jammy/Mantic are nominated.
To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2031412/+subscriptions
More information about the Ubuntu-sponsors
mailing list