From patchwork Tue Mar 2 20:16:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 11469 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id E1ABFBD1F1 for ; Tue, 2 Mar 2021 20:16:37 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5DC8C68A99; Tue, 2 Mar 2021 21:16:37 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="f9cMfsXM"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E552760106 for ; Tue, 2 Mar 2021 21:16:35 +0100 (CET) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 53F7845D; Tue, 2 Mar 2021 21:16:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1614716195; bh=OPwjH1+t2+NhoISqPxfS6ug1mmlPfjEsIGpWOjLYru4=; h=From:To:Cc:Subject:Date:From; b=f9cMfsXMgaVEAFeVtKkie5N0FEeKMulKNQeIrnm76GWmK9aIG/OEo1OeOouuGyvNh yFDwI6B1mu8XespDvlwaHehvgKwTK+PTyMcCZS5jl7xpv0TaW45Z+d224gbjILP0U3 tDDMTWJqARGoTHt23lrLabq6ChgXRCNuoqf309fo= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 2 Mar 2021 22:16:01 +0200 Message-Id: <20210302201603.21566-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/2] libcamera: Update kernel headers to v5.12-rc1 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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(-)