Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp353407rwb; Thu, 11 Aug 2022 02:46:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Yoin7H1+q/IrUornH/vxLaHrdXnZT9bJwVByOnReb0HEANd9E2PdN/nd+t+dQIMwz8yzT X-Received: by 2002:a63:cf0b:0:b0:419:f140:2876 with SMTP id j11-20020a63cf0b000000b00419f1402876mr9465883pgg.303.1660211168814; Thu, 11 Aug 2022 02:46:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660211168; cv=none; d=google.com; s=arc-20160816; b=G6PKpN6UKuQTLskV0fkyKSGAmTiOdkiaWjZKU9hbM5t6ABxxb7VCLM5JelWYJQXPcc nSghLfc9SfAY7DqrM+2xIO4ohcKbQllNxVzfoEGpE6NJ/d1kk2ofTyHTmUVCAwHB78UE jBODJAntu6leAJDDMdYhf2Ht7J8HO8VyPLEA/a6r7nSyC73VI/gDCH6mUusy+XaOzIwc K9R7RJ2vpKG+lTb+IW76EVyUx58+G1obb8HnTYS4PYo1AkxgiB2kX/CVzdy1mBOigoLM 6WL0+kWIi7xD6o+G367hm92UHklGM7zOFvCRFe9pwFQ8aM65E6fOOl1iL/A7T7wbsoWD El9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:from:to:content-language:user-agent :mime-version:date:message-id; bh=ivcFNPhdTqrvy0xVa2vbEZzKf0UIh6l1ff2BUmLMNAs=; b=xtEILxmQwo3eRkkCeYXsHnixWS3E/8ESEdRV6Sg1FYGzp4ZhqbrOEgfsQBx6KHWlwx seVbFxgbSvBtJPBSMtDbTvuBb9r4WimszWtcLEbAkeKfTDld/P7stXjAoBZDOR6TDc2N IbOsqdlJfb5AtDFuZj3vSe2hc5XFup0PdoboRpMDVzC2M71Q/NZ/hBCo54mOLsnlzWj7 +H9ZLR3lFAvybSn+D2vK3cCyr45VmaMDIbMqCLQJ6PDcnlLW3JBFRB/cd4XkVt80sZKE nNrBWpa2IyLgg7QpBzuAiZQGDOmevdm3kY0KPkQuvk02M1ago6fNdkhp+4NDdC+e59IN rMlQ== ARC-Authentication-Results: i=1; mx.google.com; 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 y23-20020a056a00181700b0052f6911360esi5032419pfa.155.2022.08.11.02.45.54; Thu, 11 Aug 2022 02:46:08 -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; 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 S234394AbiHKIXf (ORCPT + 99 others); Thu, 11 Aug 2022 04:23:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234316AbiHKIXc (ORCPT ); Thu, 11 Aug 2022 04:23:32 -0400 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9ECAB6B161; Thu, 11 Aug 2022 01:23:30 -0700 (PDT) Received: from [192.168.0.2] (ip5f5aea52.dynamic.kabel-deutschland.de [95.90.234.82]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 01C1361EA192C; Thu, 11 Aug 2022 10:23:26 +0200 (CEST) Content-Type: multipart/mixed; boundary="------------N1wXLFsF1u2GW66ii3eT0OJh" Message-ID: <52c87d91-422d-fca0-4dd5-bbaa559c81b6@molgen.mpg.de> Date: Thu, 11 Aug 2022 10:23:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.1 Content-Language: en-US To: Greg KH From: Paul Menzel Cc: Wang Yating , Christoph Jechlitschek , Hao Yao , Andy Yeh , Sakari Ailus , 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: Missing MIPI IPU6 camera driver for Intel Alder Lake laptops X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 This is a multi-part message in MIME format. --------------N1wXLFsF1u2GW66ii3eT0OJh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit [Cc: folks from IPU6 external driver, IPU3 maintainers, Dell, Lenovo, Chromium, Canonical/Ubuntu, Red Hat] Dear Greg, I am writing you, because I remember you – at least – were active several years ago in getting good upstream driver support into the Linux kernel. It looks like the driver for the MIPI IPU6 camera of Intel Alder Lake based laptops, for example, Lenovo ThinkPad X1 Carbon and Dell XPS 13 9315/9320, is not in the upstream Linux kernel. With Ubuntu’s OEM image pre-installed by Dell, and on Google Chromebooks the camera is supposedly working [1]. There is a GitHub project with a repository for the Linux kernel patches [2], but the patches – as expected, and known from other external drivers, and Android drivers – do not build against all Linux kernel versions [3]. A request to upstream the drivers was opened at the end of March [4], and got the reply below in July: > Intel is not ready yet to provide technical support to various Linux > distro and all OEM devices at this moment with Intel IPU6 github. > > Intel is supporting Dell laptop and their MIPI camera functionality > on Ubuntu with release/integration support from Canonical. If you are > using Dell devices, please refer to the devices listed in this link. > (https://wiki.ubuntu.com/Dell) You can learn the latest updates from > the installation guide. The patches were integrated into ChromiumOS’ Linux kernel tree – for specific version, like 5.15 [5], and the same for Ubuntu 22.04 with Linux 5.15 – only in June [6]. A lot of that (redundant) work seems to be done by the Intel developers involved also in the GitHub project. In the last seven or so years Linux upstream driver support worked well for me – especially with Intel hardware –, so I wanted to make you (and others) aware of the situation, and hope, that you could do something about the situation. With the current situation I can only recommend to FLOSS users to *not* buy these devices. Kind regards, Paul PS: The proprietary firmware is also not in the linux-firmware repository [7], and the user space packages [8] are also not packaged yet for some distributions like Debian. PPS: VA-API support also does not work [9]. [1]: https://ubuntu.com/certified/202203-30070 [2]: https://github.com/intel/ipu6-drivers [3]: https://github.com/intel/ipu6-drivers/issues/13 [4]: https://github.com/intel/ipu6-drivers/issues/22 [5]: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3034663 [6]: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy/log/drivers/media/pci/intel [7]: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1955383 [8]: https://launchpad.net/~oem-solutions-group/+archive/ubuntu/intel-ipu6/+packages [9]: https://github.com/intel/media-driver/issues/1371 --------------N1wXLFsF1u2GW66ii3eT0OJh Content-Type: text/plain; charset=UTF-8; name="lspci-nn.txt" Content-Disposition: attachment; filename="lspci-nn.txt" Content-Transfer-Encoding: base64 JCBsc3BjaSAtbm4KMDA6MDAuMCBIb3N0IGJyaWRnZSBbMDYwMF06IEludGVsIENvcnBvcmF0 aW9uIERldmljZSBbODA4Njo0NjAyXSAocmV2IDA2KQowMDowMi4wIFZHQSBjb21wYXRpYmxl IGNvbn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