From patchwork Tue Apr 30 17:17:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 19965 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 EECC8BE08B for ; Tue, 30 Apr 2024 17:17:39 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id EF542633FA; Tue, 30 Apr 2024 19:17:38 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.b="VfzHG77G"; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C9CC0633F3 for ; Tue, 30 Apr 2024 19:17:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714497455; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8h/eQ9qcm/wp77MMTc8KMzcY943qMM1GzRsEbY9DHoc=; b=VfzHG77GwwKyLEI2gPuDq5e4x1S5fFGpHHUjtcnVeMnSdkB2kQTehwDZSncAcFwNaEQlqY NKRakHcRK2c46qPxhqt95n4pbggjJ97bq/GIWJqqPybZu93x6j2MK9TUVPzmjJRvewOKk0 +yRPd4jqZsmBnpkBZfj+YqzRNCBKofo= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-563-TLBJ3YcsPVWPdLpf6yAIcw-1; Tue, 30 Apr 2024 13:17:32 -0400 X-MC-Unique: TLBJ3YcsPVWPdLpf6yAIcw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CBD18811002; Tue, 30 Apr 2024 17:17:30 +0000 (UTC) Received: from x1.localdomain.com (unknown [10.39.192.122]) by smtp.corp.redhat.com (Postfix) with ESMTP id AE8DE40BAA2; Tue, 30 Apr 2024 17:17:29 +0000 (UTC) From: Hans de Goede To: libcamera-devel@lists.libcamera.org, Sakari Ailus Cc: Maxime Ripard , Milan Zamazal , Dennis Bonke , Hans de Goede Subject: [PATCH 0/2] libcamera: Make simplepipeline + softisp work with intel-ipu6 Date: Tue, 30 Apr 2024 19:17:26 +0200 Message-ID: <20240430171728.18073-1-hdegoede@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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" Hi All, Now that the now that the IPU6 CSI2 receiver (aka the isys driver) has landed in media_staging/master: https://git.linuxtv.org/media_stage.git/log/ It can be enabled in the simplepipeline handler. The /dev/video# nodes of the IPU6 driver set both V4L2_CAP_VIDEO_CAPTURE and V4L2_CAP_META_CAPTURE capabilities, a small workaround is needed for V4L2VideoDevice to deal with this. This is the first patch in the series and I'm not 100% sure this is the best way to with this, so this patch needs some extra attention when reviewing. Regards, Hans Dennis Bonke (1): libcamera: pipeline: simple: Enable simplepipeline for intel-ipu6 Hans de Goede (1): libcamera: v4l2_videodevice: Fix devices which set both V4L2_CAP_VIDEO and V4L2_CAP_META include/libcamera/internal/v4l2_videodevice.h | 4 ++++ src/libcamera/pipeline/simple/simple.cpp | 1 + 2 files changed, 5 insertions(+)