Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp8600ybv; Wed, 5 Feb 2020 00:00:15 -0800 (PST) X-Google-Smtp-Source: APXvYqwtRmk4oU1gaetMngMmll1cNRfdT6Mn97UDfA1PrF3lDcNpH6/+JJ2o1PCi42W7ZPCya12J X-Received: by 2002:aca:3542:: with SMTP id c63mr2037235oia.135.1580889615480; Wed, 05 Feb 2020 00:00:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580889615; cv=none; d=google.com; s=arc-20160816; b=G4QiJeQpOEkjYtsS912RijWaF2vPsXt3TNWvPTvMCmmlRF0QsI7PXy3MyoVDe1wm8o QaF/emiFPJQs1pAfWvDb940Mngktsi5TCNjuE/YYP10/QobYOTSeUGIbUSFCx0jMcQmM +Nyhh0Q9MKQHgD1ZY5uQ0Gt+oOgeJW+xw1dMrVxJnM5yObF3piAx4P0ROI+sT1Vl3SfE isopzrkeu6jMYqhHIVha9FeNP3pOAzxi3JAXnOeuHEGk5JtACOlsKJzGq3tzjXEEJkz/ atgUb7lNatKXCgSSEs8T6OjGSMVlWJ8BToRzbZnLZrYZfnJrAS++/2WYOjkHnA4k49gc BzOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Zon7+wQq6Y/OezBpVLpCFEKggV/uB8j1JtLlS5DUs4g=; b=y3cJsdQyJVezb+D6WefT66zX3MRd1366Ol9MtnD3a+U1+RfMETQhiBf1/jDN7+++c/ x1c8XpSF/V649yu+hGcPZseutRvp1KhiSounD7DJZNcrt6NStFGdNF8K9m6Wh3Zt2vTo iM6pKthSzfqgUAvgzSrVMdIKNjwv6mCbUFhna+CY5xnZxCwwTyOIiL1V9rmMJlyMxXbi V+B26VKr82wPxsAqORIiuoUrqSgOH1/O3eXJ7ZNoTT00I3f3kfhEMMxT0fxJLUibJcoo QUVat9/cQGpyXzSPLfXllKRlwB+DnqCe/bGHfoYAJfMlZ5blyCsU4Lcz6DKdKaA+Qqlp d/Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xs4all.nl header.s=s1 header.b=PnO+Ao1a; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12si14612643otk.215.2020.02.05.00.00.03; Wed, 05 Feb 2020 00:00:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xs4all.nl header.s=s1 header.b=PnO+Ao1a; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728053AbgBEH5j (ORCPT + 99 others); Wed, 5 Feb 2020 02:57:39 -0500 Received: from lb1-smtp-cloud7.xs4all.net ([194.109.24.24]:57095 "EHLO lb1-smtp-cloud7.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727231AbgBEH5j (ORCPT ); Wed, 5 Feb 2020 02:57:39 -0500 Received: from [192.168.2.10] ([46.9.235.248]) by smtp-cloud7.xs4all.net with ESMTPA id zFYyiXwsAVuxOzFZ2iON1x; Wed, 05 Feb 2020 08:57:36 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1; t=1580889456; bh=Zon7+wQq6Y/OezBpVLpCFEKggV/uB8j1JtLlS5DUs4g=; h=Subject:To:From:Message-ID:Date:MIME-Version:Content-Type:From: Subject; b=PnO+Ao1a3gALRFP16EWuypfaSxiI7wukdAi3iV3IIWqREdBDN7WXancubsZigZSN7 X8mxQQFiffs8g+r2999nlcv5oUAr9m4AFQFdII0t2WrzSNJMuqfoJf6U0av7WijK+x EHzH9yIie35y4NhBsiSp7yZhp+RCOWldqUbXEsiEnCOLmuoZTYFRVwgjuG4pB6LPcE vu2SlFcnLHOfzPDD2kThZIyFJAfNL+SJ8zVp2nOFm7OWYPeyzIBRivmUbIy4oCsfnJ ZWQr4en4ylqmG3qiXQgwhpcAG+PxoayH0BvocyYMvNdrIBmVMqZDT5BfVNXlC4tHRF RhlD0UODDFkHQ== Subject: Re: [RFC PATCH v1 0/5] Add Tegra driver for video capture To: Sowjanya Komatineni , thierry.reding@gmail.com, jonathanh@nvidia.com, frankc@nvidia.com Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <1580235801-4129-1-git-send-email-skomatineni@nvidia.com> <098ac46f-fe13-f215-b9a4-aa8d01395592@xs4all.nl> <6c3d2557-8982-37bf-810a-6d9faad9e5a4@nvidia.com> <9c4775f2-8188-43f4-1de1-56620fad2e7c@xs4all.nl> From: Hans Verkuil Message-ID: <474ca8c5-4735-1707-d6f6-cf541bfeb525@xs4all.nl> Date: Wed, 5 Feb 2020 08:57:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfH6omILRaT9sm0XhO0Kb85QAqiu7fDEbkga/0I8tPf5vU6is6YciSTeryOxUEvcb/d73otPRnDpn20BZCasUvUtOy4YajrmKQk5Qm/2MDHevnv0NuUlN 1CzI4nx3arzn/x6o5Nztw1T2zsU2ixteauyiLs1GEATKt4y0IXCL3KUvLQYs1tLIrT0Uu4Uc3c6+yp6vsbS0+Sx99ha7cWYaXbMlGyqcU4aqZjtwPfcVyuSn sGYgbNx07aBlyezqOsgk/rF/QtxMXytLgkl4PwG7i9U1PZdbElzhHdhKtK98TDvwzLT+KTf/cJ+N456YhbDVdedtgv3yTwQMmvoexQhWBS43IBblKdGbY3oG wxdqUfvrzk5arnpPqOihGExs9k7lJ8CWtXLdI6I6gD7nCyNog3+2u8rwj6zaKK5icV2bZCM6Uf69pk9xaSCvvNB54O5XSEBoryFx0tzaDiOry4I3HLw= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/4/20 8:02 PM, Sowjanya Komatineni wrote: >>>> I also noticed that changing the test pattern while streaming did not seem to have >>>> any effect until I stop and restart streaming. Is that a limitation of the HW or of >>>> the driver? >>> Do you mean changing test pattern mode of different channel while other >>> channels are streaming? >> No, from the same channel. E.g. v4l2-ctl --stream-mmap, then do from another >> console 'v4l2-ctl -c test-pattern=1'. >> >> It depends on the hardware whether or not you can change the test pattern >> while streaming. But it is nice for testing if this is possible. > > Test-pattern mode changes during active streaming will not get set as > test-pattern mode is in CSI and mode is set every time during the start > of streaming and then VI keeps capturing the frames. > > basically its during CSI subdevice stream enable. OK. Just add a little comment either at the point the control is created or where the control is set in vi_s_ctrl(). It's just to document that this will only take effect at the next streamon. Regards, Hans