[libcamera-devel] [PATCH 0/2] libcamera: Update kernel headers to v5.12-rc1

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue Mar 2 21:16:01 CET 2021


Hello,

For development related to the simple pipeline handler, I need v5.12-rc1
of the media.h header. This series pulls the kernel headers from that
kernel, and update the rkisp1 IPA accordingly as the rkisp1 driver's
UAPI has changed upstream.

There will be a bisection breakage (at runtime, not compile time)
between the two patches. I can squash them together if desired.

Note that Dafna has posted a pstch series to support different hardware
revisions of the rkisp1 (see
https://patchwork.libcamera.org/cover/11383/). This series conflicts
with it, but doesn't take over that work, as it only updates the IPA to
avoid breakages without taking the hardware revision into account.

Dafna, I don't mind merging your series first if you want to post a new
version before these two patches get reviewed, in which case I'll rebase
1/2 and drop 2/2. You can also decide to rebase on top of this and make
it a dependency.

Please also note that this change requires kernel v5.11 or newer for the
rkisp1, or a backport of the rkisp1 driver to an older kernel.

Laurent Pinchart (2):
  include: linux: Update Linux headers to v5.12-rc1
  ipa: rkisp1: Update to kernel header changes

 include/linux/dma-heap.h         |   6 +-
 include/linux/drm_fourcc.h       | 530 +++++++++++++++++-
 include/linux/intel-ipu3.h       |  22 +-
 include/linux/media-bus-format.h |  14 +-
 include/linux/media.h            |   1 +
 include/linux/rkisp1-config.h    |  92 +++-
 include/linux/v4l2-controls.h    | 916 ++++++++++++++++++++++++-------
 include/linux/v4l2-mediabus.h    |  15 +-
 include/linux/v4l2-subdev.h      |  26 +-
 include/linux/videodev2.h        |  99 +++-
 src/ipa/rkisp1/rkisp1.cpp        |   2 +-
 11 files changed, 1445 insertions(+), 278 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list