Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1722621ybb; Thu, 9 Apr 2020 07:51:46 -0700 (PDT) X-Google-Smtp-Source: APiQypL9rYS7GQaj5GTiQXJNuR08Qo2GSde2F6JZpCk9J+iuxb+MPS1Qs2KGJ26XDwc4rk/fhez/ X-Received: by 2002:a0c:b905:: with SMTP id u5mr364792qvf.125.1586443906099; Thu, 09 Apr 2020 07:51:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586443906; cv=none; d=google.com; s=arc-20160816; b=VBdB9n31v54quc2fBb4AOywhhqVtYfSbTQILf/oqR/V1qpHUQHz+kwGrRIxu1h4GiC WtVPfcNjgJZzEJFS6uTcSulrwLtT4WfKXO/I5k09Z4xH/YD7clF3N0AUxTW6A6cNDYhc baqGBWdrMGOJhoQukdrNiBhqiOJoupefpZQWhN64Cxjnquc9A/MBN29bz7DPsVaJMeCI /jX+FR1/pJflD7Qr+e61swSZKR0tw6Hlb9sGQdTstt81Auc8ctzOSy55YTU0mwWULgnl ub0s4yjRqAVddlFn8KpAzoS8OAbi5i3sO7kjDbzzbOyWH870b7lCgPolBzMTUDKrzsu8 2alg== 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=Q4v9rUwodHK+n75mx+eCJ7ZwO8R88Mb5/tApAMFDSTo=; b=o6MuVV1/1kvocs9yMFWRSD2T8KBrLhYeYzEUFOY/F8fZfz3Mrlvuj63vdzNjywMMET b9cedNk889i0lh9Qru0Quvu2tVTcZjAuCbcgpszqToJQOrIzAGhXqQqXRcSLaRi8yUEC Gl4+Nkn1+MckJjuDtqBQbGQqRIroNsGvrN7jLXWb9O4eTyek1240yiFfrS3tbcixhO8q A+HrrGm4IgMuCcRMMBWDF1BbLMPWmW8pnIN9e5wug17iwpX3nKefzn1PopRfOK0J+fih Lhk6ZEC5VAutV9nyk+d573Hq4OIc/CaRtWdVMYlFZCTc+zfWyKdRkYr0EDW5z4yMSJyj 9Sog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dmyAeQgY; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c14si5743347qtq.302.2020.04.09.07.51.30; Thu, 09 Apr 2020 07:51:46 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=dmyAeQgY; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727771AbgDIOup (ORCPT + 99 others); Thu, 9 Apr 2020 10:50:45 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:44620 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726977AbgDIOuo (ORCPT ); Thu, 9 Apr 2020 10:50:44 -0400 Received: by mail-lj1-f196.google.com with SMTP id z26so7632072ljz.11; Thu, 09 Apr 2020 07:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Q4v9rUwodHK+n75mx+eCJ7ZwO8R88Mb5/tApAMFDSTo=; b=dmyAeQgYSO/YZrU6CKasyEg8GJab178Tx6rckPt9JWLNY9a4QkaZM+cqAiqM9s1djC DktV8Mn+KCvHzRA7EuCsF29x4HCJcZrTULzOwwfI0AOfwQZNUXuWPKn1KvHmGXhy+Pty iQRnOr+a5uZabgG+xV4bAgW/XrpFmeVNuNduBk/4u73QF9WfPdC38tgHAtS1EbuNlDBG 57t//ZhHWTbnVyzm3wkVU3yRajomcKKsVbzQG3bkFPdb1jXLMspmn9QdN0/OEu+3vCcJ ZFtqMHMMwjlkRX1Mw5KHvKkEZp3xJLEfcRMuOuPPKglrPVAQoKgUe5+k9i0y/Em9DfLn d9dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Q4v9rUwodHK+n75mx+eCJ7ZwO8R88Mb5/tApAMFDSTo=; b=Uq7+0zNPMUsGYeFxcB84PMXjGou22ZMVFMi3jS3zG9Uu4ljpXyWI8zjbSZNb86t7av PGe7fRM+kfcIU5/RFz1uZiYmyD5RboYktthRuaLA/mCbV0IJmZgQneCHD4BEsbw1i16p g/EhH4pgCflD1BE4NuzE4DLrHXIMVCGBtg0kYnVCP3AkbdegELHqTOonDJ/oCN49VhTm wciUMQAXUIVLl97BdLkkYm0oZ78Bg2Wjn43YVWI+0hYptIktrnBMAFLTB1vidPyYROQH IjEvnwe7o5E6X8sj1eo4ctK21qYhK6JL83fa5w68mkUYUltXwArb8Lls1jknoCN06jvc 1y6g== X-Gm-Message-State: AGi0PuYz34ZOIP8/X8phJBQA/iqqEVhBHSsRR/tzsyt+tUfYKPWmd55u tdjYuiu+xS35Ug1QhrySsHGEPvsy X-Received: by 2002:a2e:905a:: with SMTP id n26mr119665ljg.58.1586443840801; Thu, 09 Apr 2020 07:50:40 -0700 (PDT) Received: from [192.168.2.145] (ppp91-78-208-152.pppoe.mtu-net.ru. [91.78.208.152]) by smtp.googlemail.com with ESMTPSA id u7sm1243199lfg.20.2020.04.09.07.50.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Apr 2020 07:50:40 -0700 (PDT) Subject: Re: [RFC PATCH v6 6/9] media: tegra: Add Tegra210 Video input driver To: Sowjanya Komatineni , thierry.reding@gmail.com, jonathanh@nvidia.com, frankc@nvidia.com, hverkuil@xs4all.nl, sakari.ailus@iki.fi, helen.koike@collabora.com Cc: sboyd@kernel.org, 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: <1585963507-12610-1-git-send-email-skomatineni@nvidia.com> <760d071e-0cbc-b3eb-9231-fb9f9ecb44a6@nvidia.com> <9e317f65-8a02-3b15-cfec-8e0d8374130e@gmail.com> <97b35910-4c93-123a-43a0-eb14476ed0f3@nvidia.com> <84ad4e2d-6ac1-e1f4-1c55-5edaae850631@nvidia.com> <15a879b3-8fb9-6821-3cdc-104ba583ac12@gmail.com> <0c425505-347f-7418-af7e-d121fe0d06dc@nvidia.com> <1a31cd60-739f-0660-1c45-31487d2f2128@nvidia.com> <603084a5-249a-4fe2-3646-e9335ef9ab43@nvidia.com> <7895b9c6-f27d-8939-73d7-67d785e1a8b7@nvidia.com> <15d8b525-67b5-b437-f7fd-89f80cd0d9f6@nvidia.com> From: Dmitry Osipenko Message-ID: <7288cacd-badc-cb01-1f4c-286dd024ca10@gmail.com> Date: Thu, 9 Apr 2020 17:50:39 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 09.04.2020 06:38, Sowjanya Komatineni пишет: ... > Tested with 3 buffers and by checking outstanding buffers in process by > VI hw and holding to start capture till one outstanding buffer in > process by HW. > Also tested with 2 buffers without checking for outstanding buffers. > > In both cases, I see same %CPU for the kthreads and is < 1% > I don't see where buffers queue max limit is set to 3 in the code, but should be okay if CPU isn't getting hogged. Looking forward to v7.