tvl-depot/users/flokli/ipu6-softisp
Florian Klink 41cd3c44d2 chore(users/flokli/ipu6-softisp): inline kernel patches
"media: ov2740: Fix hts value" got backported into linux-stable:

```
commit c5883a8a3676b94fe7cefde97c8eec50bb879eb2
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Mon Dec 4 13:39:42 2023 +0100

    media: ov2740: Fix hts value

    [ Upstream commit 3735228bbe3511f844e03dfcc4003fadb59dde23 ]

    HTS must be more then width, so the 1080 value clearly is wrong,
    this is then corrected with some weird math dividing clocks in
    to_pixels_per_line() which results in the hts getting multiplied by 2,
    resulting in 2160.

    Instead just directly set hts to the correct value of 2160 and
    drop to_pixels_per_line().

    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
    Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
```

So drop that patch from the list of kernel patches to apply (and vendor
in the patches).

Change-Id: I314ccb524d156c0f445ed923ce0600f27b8cc699
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10813
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: flokli <flokli@flokli.de>
2024-02-13 15:37:59 +00:00
..
kernel chore(users/flokli/ipu6-softisp): inline kernel patches 2024-02-13 15:37:59 +00:00
libcamera feat(users/flokli/ipu6-softisp): init 2024-01-30 09:54:24 +00:00
config.nix chore(users/flokli/ipu6-softisp): inline kernel patches 2024-02-13 15:37:59 +00:00
README.md feat(users/flokli/ipu6-softisp): init 2024-01-30 09:54:24 +00:00

ipu6-softisp

This code adds support for the ipu6 webcams via libcamera, based on the work in https://copr.fedorainfracloud.org/coprs/jwrdegoede/ipu6-softisp/.

It's supposed to be included in your NixOS configuration imports, and will:

  • Add some patches to your kernel, which should apply on 6.7.x
  • Add the ipu6-camera-bins firmware (still needed)
  • Enable some kernel config options
  • Add an udev rule so libcamera can do DMABUF things
  • Override services.pipewire.package and services.pipewire.wireplumber.package to use a pipewire built with a libcamera with support for this webcam.

Please make sure you don't have any of the hardware.ipu6 options still enabled, as they use the closed-source userspace stack and will conflict.

The testing instructions from https://copr.fedorainfracloud.org/coprs/jwrdegoede/ipu6-softisp/ still apply.

qcam can be found in libcamera-qcam (pending on https://github.com/NixOS/nixpkgs/pull/284964 to trickle into master).

Thanks to Hans de Goede for helping me bringing this up, as well as to puckipedia for sorting out some pipewire-related confusion.