Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2274061rwd; Fri, 26 May 2023 04:30:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7PvV82OgjygbBxzPwSTVNI5Hu27DJ10K2Lb/EUT62BpwCB1vLUBBFrT5vsRIgRYQg44KXT X-Received: by 2002:a17:902:d34b:b0:1af:eea0:4f5b with SMTP id l11-20020a170902d34b00b001afeea04f5bmr1637888plk.2.1685100628005; Fri, 26 May 2023 04:30:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685100627; cv=none; d=google.com; s=arc-20160816; b=guMcmJj4WKeUyC2P9/sMHNNLKGGX9ijf9qBBRhw9N+gaQz0JKE8s2nZLXmKvAeTVEY qU4/Az6RXcfX9xoBnFLxq0IHpmBJb615AliQbHGlBkoPCnMfCpAWgl6JGQm9e0+kWPVA kmrhVYFGe8hfEjlHIDPZymj9RyRJJMiqcrKQViyednKhq8U1t/ToFMGVGYQB+Gr8JYVG 2UIbwOc2Dvq8ArMj+Q/fy6hijG4xXhsU7qfSm3P6jHbl33ul5pUQjfkqf11y3EJDSXot 2Os8kdBxwEm1fPd6Mn+2H0Cp1bLFrHNz2FdZop4Qscfya85LMlcFgHRII/sGbMUIEvt6 mv5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lw9KbA+kybVFTgVwtPLqAF021D45H5dsg928UTpzSoE=; b=IrBwYDRLxABaJTVp6vvpBDk5ZidW8Od8+UQAt0QT1FbjOJYM2r9P2SFsHNtOwYSkER 0wU5KR8KRWJcXpSRyT6yN1E/rAa7QdVuQCo85sKwN/MDxWK54YrTnuESCFN7uddVfsxQ chx7EOfrafPq/y84j6//QG9/F/ZqYUhPEb3aZLh418qIzzxPkCJMQ7VzlZEroaH2K9iE sSqTgxSPLWjAW+QFvwgj4nM2uck9UX8FsdldHSHPzb7vG3S5P5DdE0KwLsPDSSIPtvMq jIScRkHk1N4LCeoi9XYs2AyP7zWFUVfbXWTezhgJWIDU1yLBeUz7ewrIdGkW0ssVR1wH qU+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=LJJBDryP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x5-20020a1709028ec500b001a6ee332903si1729175plo.347.2023.05.26.04.30.15; Fri, 26 May 2023 04:30:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=LJJBDryP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242987AbjEZLNG (ORCPT + 99 others); Fri, 26 May 2023 07:13:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229747AbjEZLNE (ORCPT ); Fri, 26 May 2023 07:13:04 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A70BF7; Fri, 26 May 2023 04:13:03 -0700 (PDT) Received: from pendragon.ideasonboard.com (p7097156-ipoefx.ipoe.ocn.ne.jp [153.231.19.155]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4CCF49B4; Fri, 26 May 2023 13:12:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1685099563; bh=d3LVk7G1Bewsb4CigKlj5v/bqNRgnFoj2UDBwuFHOMI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LJJBDryPsmO4a0EUNxBhbiYBZZDze9O9NIh+PJM9FoStv1SGKfyAjotNIItezp733 zZWIftFhn8Tgfq0X4R4fknhuswScC/IRidiRq1JDhWsI8dcDbeteOD53IZJg12RRbn wiSoaSAl5BG1ReGGJo5/qTl6hWvgnCx4fdLwWaHs= Date: Fri, 26 May 2023 14:13:01 +0300 From: Laurent Pinchart To: Muhammad Usama Anjum Cc: Sakari Ailus , Greg KH , Paul Menzel , Wang Yating , Christoph Jechlitschek , Hao Yao , Andy Yeh , Bingbu Cao , Tianshu Qiu , linux-media@vger.kernel.org, Mark Pearson , Dell.Client.Kernel@dell.com, linux-kernel@vger.kernel.org, Guenter Roeck , Sergey Senozhatsky , Andy Whitcroft , Kai-Heng Feng , Christian Schaller , Wouter Bolsterlee , Miguel Palhas , it+linux-media@molgen.mpg.de Subject: Re: Missing MIPI IPU6 camera driver for Intel Alder Lake laptops Message-ID: <20230526111301.GA19530@pendragon.ideasonboard.com> References: <52c87d91-422d-fca0-4dd5-bbaa559c81b6@molgen.mpg.de> <88033d6a-b1d6-a77d-cab7-1401d97ae8e2@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <88033d6a-b1d6-a77d-cab7-1401d97ae8e2@collabora.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 26, 2023 at 03:51:36PM +0500, Muhammad Usama Anjum wrote: > On 9/22/22 6:06 PM, Sakari Ailus wrote: > > On Thu, Aug 11, 2022 at 05:02:40PM +0200, Greg KH wrote: > >> On Thu, Aug 11, 2022 at 04:54:53PM +0300, Laurent Pinchart wrote: > >>> For the time being, I agree with your recommendation to not buy these > >>> devices if you care about camera support. > >> > >> I second this, don't buy these devices if the vendor is not willing to > >> get their drivers upstreamed properly. > > > > I can now confirm that IPU6 driver upstreaming is now planned, with IPU6 > > input system driver to be upstreamed first. The intent is that we would > > have patches for review on LMML around the end of the year. > > Is there any update on IPU6 driver? Probably it hasn't been sent upstream yet? The IPU6 requires multiple drivers. The "easy" part (the IPU6 input system) has been submitted to the linux-media mailing list (see [1]). That driver will allow capturing raw frames from the camera sensors (assuming drivers for the sensors in your particular device are available). Another driver has also be submitted to setup the IVSC (a chip present in some systems between the camera sensor and the IPU6), see [2]. The hard part (the IPU6 processing system) will still take time, and once a driver for that is available, the userspace implementation in libcamera will also take time. [1] https://lore.kernel.org/linux-media/20230413100429.919622-1-bingbu.cao@intel.com/ [2] https://lore.kernel.org/linux-media/1685022434-24609-1-git-send-email-wentong.wu@intel.com/ > > The processing system driver will need more work to replace the custom > > interface. For a fully functional camera stack, also libcamera support for > > IPU6 will be needed. > > > > I think I can say a major factor for why we're here is that the original > > intent was to use a different interface for upstream but as we don't have > > one yet and probably won't for quite some time, this doesn't really seem > > like a viable option anymore. > > > > So I'm afraid I can't promise a quick fix but at the same time I can say > > work is being done to address this. -- Regards, Laurent Pinchart