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

Laurent Pinchart laurent.pinchart at ideasonboard.com
Wed Mar 3 15:35:55 CET 2021


Hi Dafna,

On Wed, Mar 03, 2021 at 03:34:40PM +0100, Dafna Hirschfeld wrote:
> On 02.03.21 21:16, Laurent Pinchart wrote:
> > 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.
> 
> Hi, I'll rebase v3 on top of this patchset, this will save me some work:)

It will save me rebasing on top of your series, so it's good for me too
:-)

Could you review 2/2 ?

> > 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