Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp637170rwr; Thu, 20 Apr 2023 04:35:50 -0700 (PDT) X-Google-Smtp-Source: AKy350YZHGLF8slVz4FiCuswXEmwnmom2x9IVA9zqcqiug4VslOJSE/Hm5fQ7Ekj3fG/QsPp7MNI X-Received: by 2002:a17:902:f292:b0:1a6:b247:4316 with SMTP id k18-20020a170902f29200b001a6b2474316mr1083864plc.62.1681990550190; Thu, 20 Apr 2023 04:35:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681990550; cv=pass; d=google.com; s=arc-20160816; b=aavwHeKSdyzI9ZJWJqJaaV0GR/EaPd+eoq4eY0CYh18mltTieifEJII0O1y/xYIyB/ fImrMP6RVWDgGdR/+xm0CrVx/8Tada+NEQOCMqjGNO1/fUOCGcNRHTyv9Afkp9DtvwHG /Swu6KlszZfLNSRrk9Sy92k4NI6jDsveLE/kY8GeGVhv/vyy1CtPn9fe+s95P9ONX986 J3JdBJy3om3eRdlHypFpnItEFpT7ZubqqtDWt3R0PUSgDp2yDZ8TnScy8kpDovUVweD8 IH+ii8u6oG/Wb2Xp0nYOMxVCTTEQWw7hwfMmpUA9Z7IH+dE4soblFYzIjbFEljYL7BUB 9RJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zsLinTlvXAXU45xFIxQli/nqVvDOe/04/ylvRuhqZ/0=; b=UvosXwFr7QKXZXHlGQa0Rq17bUi4Ct0AQhdAjw2LRXpD14FWXNenyXo8jSomGrNGxj 5ehWUI3Sod7w0X/HY3Rz9vEY2wE+6jC031BM1GcHbVkBRTS2kWQUvYFNgLjMqYIA1xoc ZOxWDMijdl4uLqU0Y0wNke0Wl9D+IV2LQJPoSQZ8pGQ3OpRCrDnEvyrva9FJD2R3bYP/ /aQvTKi4fF+ragUgw+tTMn+jY3Ps0Huo+VpNzlvx4lWmHucQcpV5l+ZoR6OZWd35JRcr K1MtsSH6Lu26hqfAmv/CM0jgQbjNta8IuxCFBOOWyTxnzc7MzpQoviVOrVC1zUXqK4l2 sIbg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@iki.fi header.s=meesny header.b=i3NaB9xX; arc=pass (i=1); 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 h8-20020a170902680800b001a67ffb3546si1596145plk.231.2023.04.20.04.35.33; Thu, 20 Apr 2023 04:35:50 -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 header.i=@iki.fi header.s=meesny header.b=i3NaB9xX; arc=pass (i=1); 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 S234708AbjDTLcZ (ORCPT + 99 others); Thu, 20 Apr 2023 07:32:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234725AbjDTLcC (ORCPT ); Thu, 20 Apr 2023 07:32:02 -0400 Received: from meesny.iki.fi (meesny.iki.fi [IPv6:2001:67c:2b0:1c1::201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E13D5E6; Thu, 20 Apr 2023 04:31:36 -0700 (PDT) Received: from hillosipuli.retiisi.eu (82-181-192-243.bb.dnainternet.fi [82.181.192.243]) (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) (Authenticated sender: sailus) by meesny.iki.fi (Postfix) with ESMTPSA id 4Q2Fq82h42zybD; Thu, 20 Apr 2023 14:31:32 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1681990294; 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: in-reply-to:in-reply-to:references:references; bh=zsLinTlvXAXU45xFIxQli/nqVvDOe/04/ylvRuhqZ/0=; b=i3NaB9xXUHuQ8f6/NKYnl8A7KcKinYwIGH/LJAMR+X1iXg6DTQ6WciaoQXi2JAcjkEwbUc m2sT0pWdNkPfe5vtiAoFocN76Hv8gdmTDBIwSAUe4o59fV+xPyU5ypT24Q4jzv7gdcxP4+ W6/HXcMxIj3FRAtg5+oFMg8Q8Vnw1iQ= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1681990294; a=rsa-sha256; cv=none; b=S3GwtXKIN/dseSlPdRxnSrGNGA3HkmJZdQqi7FPng080G8oJ/LrGADli1Yf6v2TwFQuWuI n+v72xa62H09BM6T2RF3iGXOQEqAodog+jlJfY1k5mg3z3eRiAQ02Ckul0Gibnrkf4+jAF TYblEvt3mfLc22MYL84oYc931XkpQb0= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=sailus smtp.mailfrom=sakari.ailus@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1681990294; 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: in-reply-to:in-reply-to:references:references; bh=zsLinTlvXAXU45xFIxQli/nqVvDOe/04/ylvRuhqZ/0=; b=Hexr+dlAhwGIYnUonUqtsyk8Yy+LNpcl3FfC1kidHpE6I5LKaDb+KNc7X3EdjZvC4f8qnk GO6TmtKY1KaPg5gA2d9bQTCjPC/s+Yh6c2nxy5XTHPoHydubRSH+1jCcC12a6Ki0plwotz EqoYV37cENh3dds95D6Nd9QsPRBs2YY= Received: from valkosipuli.retiisi.eu (valkosipuli.localdomain [192.168.4.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hillosipuli.retiisi.eu (Postfix) with ESMTPS id 15187634C91; Thu, 20 Apr 2023 14:27:50 +0300 (EEST) Date: Thu, 20 Apr 2023 14:27:49 +0300 From: Sakari Ailus To: Dmitry Perchanov Cc: linux-media@vger.kernel.org, laurent.pinchart@ideasonboard.com, mchehab@kernel.org, linux-kernel@vger.kernel.org, evgeni.raikhel@intel.com, demisrael@gmail.com Subject: Re: [PATCH v3] media: uvcvideo: Enable Intel RealSense metadata for devices. Message-ID: References: <5587a4f1a0a7f3e2bd0ce886bb4ee3bcbf8f522a.camel@intel.com> <7fe1b7ab73842ad8ee430cb171b6a59e3d6003bb.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7fe1b7ab73842ad8ee430cb171b6a59e3d6003bb.camel@intel.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 Hi Dmitry, On Thu, Apr 20, 2023 at 02:26:53PM +0300, Dmitry Perchanov wrote: > Hi Sakari, > > On Thu, 2023-04-20 at 12:24 +0300, Sakari Ailus wrote: > > Hi Dmitry, > > > > On Thu, Apr 20, 2023 at 12:06:55PM +0300, Dmitry Perchanov wrote: > > > Intel RealSense UVC Depth cameras produce metadata in a > > > vendor-specific format that is already supported by the uvcvideo driver. > > > Enable handling of this metadata for 7 additional RealSense devices. > > > > > > Co-developed-by: Yu MENG > > > Co-developed-by: Evgeni Raikhel > > > Signed-off-by: Dmitry Perchanov > > > > Thanks for the update. > > > > Is the D4XX format on these devices the same that's documented in > > Documentation/userspace-api/media/v4l/pixfmt-meta-d4xx.rst ? I.e. there are > > no additional fields or differences, and the version of the format is the > > same? > We verified the document and found it generally correct. > Although, we expanded number of fields and I can update this document. > > > > The format documentation doesn't say which version number even the current > > devices use (just refers to "xxx"). > The document compatible with all D4xx/D5xx devices so far. > We dropped all obsolete incompatible cameras from support. > > > > Should I submit another patch with extended structures? Please do. If some of the fields are only available on certain devices, it'd be good to document which fields and which devices, or whether it's struct version dependent (and then what that depends on). -- Regards, Sakari Ailus