Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4801570ybv; Wed, 26 Feb 2020 03:21:32 -0800 (PST) X-Google-Smtp-Source: APXvYqxxGiimzFnBco8URDtkmCvAioVAv/49u53nYQtnwZr1r6Kg/x518QpqQaDV9XW5arAb79Sb X-Received: by 2002:aca:eccd:: with SMTP id k196mr2497564oih.95.1582716092172; Wed, 26 Feb 2020 03:21:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582716092; cv=none; d=google.com; s=arc-20160816; b=LIK7wr+GRuA9PF6zcOPzA6xXXHTS7kSWgY/k6b69fl/Dl1N+gw3W1rX2jxHkxm/YLh wgQg+dizb9PgVti3MMNnxQNouOWk/x+MnayCgz0Zgs2OV9yk4Y0MFRUxC+sB7l7U2gQU omGEDQALDxU99z2c+FR7uvKY0r46dTkiFKiLK7hGAbBw2sOm0IFTwhyd7SasMhiBf/vx WTtwIHMY49rBqdjVT2D8Bd8oa34PKV+6zfjs85rxa2y5/Qlbc64GKrvlKasZHQbNbBJr KiDhZ1ct1wd8t/dlB90C4x1K7JrappoEfKUbb2AyuNQNjA5SS4iWPOLbZDQKkVBdLoqj DH0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lpgAvuPyR+sIWKoxcdeHfSe+jlWLnLYfyv35onaZuX8=; b=q6uqJV7+0I8KyPwIrdTzXeSKvzOf+fwAzLaouZJY4exvJtxe/gFQRMRpBNCx+Rfh75 bMepbuwh0nVz+nr4DXgYcAAtJWNCV2WOawn4NdxjZAMwZAfdt2n+cQlBu1+eNlLwscxe g3RXc61OWPjcMBEb7fOihe5Elv7XyBhtL/BL6cdM9Yd3sv0nKjYv8wy+zzDpmiIbdJQ0 vxr7atjgoiWx05uHZJPZ2bfIfaWQpQoxRuzA2oH4UQK9DELiFXHd1LRFgG3fdOSCsxiH LS44e80cRnJBqMlMtS7az5CMaDuvHKqeMxVIqxsRGCuOAFQ+eyGSHKja0YNT233Uksji ly2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gekNFchE; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9si941023oie.22.2020.02.26.03.21.20; Wed, 26 Feb 2020 03:21:32 -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=@chromium.org header.s=google header.b=gekNFchE; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728157AbgBZLUK (ORCPT + 99 others); Wed, 26 Feb 2020 06:20:10 -0500 Received: from mail-pl1-f181.google.com ([209.85.214.181]:35393 "EHLO mail-pl1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728073AbgBZLUK (ORCPT ); Wed, 26 Feb 2020 06:20:10 -0500 Received: by mail-pl1-f181.google.com with SMTP id g6so1184958plt.2 for ; Wed, 26 Feb 2020 03:20:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=lpgAvuPyR+sIWKoxcdeHfSe+jlWLnLYfyv35onaZuX8=; b=gekNFchEUC62KpMCt7uhWCQm7h6h7a4P0NUThEDpEDbnovP+eRJQ0VInNsQ+oczXxD HaNJLwgjxUvfhAnJ1UKI99IXO4n2UWXfRg379ENygO+QRmWPIla38U7oGIftDffZFLEv 5pBkH2tl43gBa0dxl54ytvAkppd0NHDJn1MKc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=lpgAvuPyR+sIWKoxcdeHfSe+jlWLnLYfyv35onaZuX8=; b=iJnqSf1ihAwQSZioB2pkgZ7BIEHM4S6yG1SnL79/LpmE/3M9h+GXyI+CVQBF+Nduxd NixtuL+f/jKYbkdqcyPZAUpG+UYTugxHnxs2Jdr+FL26z9oseM3W4OHHfuhnpNCbwodN p7ry10PHDdiVIG8L/qP0cIn1HUwDVuLU68mlNwqmpa88U9goXdNtXoAPqYb0TgbJ6p6M mm6oy14VS7OHx0XbiInVFoo8zvp8yvWUAfQijEuCYAw+nKOS9Fez0hGrkkFpZlNBjmDx bpJxBPoW9grQskXkFeNiLsHSQnDBCbiwpN0Wm0tTdQfXExyzxs2CvhAyfyYC/Ed5JPQL etgg== X-Gm-Message-State: APjAAAVG07J4G98T7aWNo9wJLveXUsEDT8r/W8lUHTIpdp7xoeWV42bS qDl4osgMVgqmvR/X3xn8ftwWLQ== X-Received: by 2002:a17:902:b417:: with SMTP id x23mr3735687plr.9.1582716007630; Wed, 26 Feb 2020 03:20:07 -0800 (PST) Received: from localhost ([2401:fa00:8f:203:5bbb:c872:f2b1:f53b]) by smtp.gmail.com with ESMTPSA id e6sm2572658pfh.32.2020.02.26.03.20.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 03:20:06 -0800 (PST) Date: Wed, 26 Feb 2020 20:20:04 +0900 From: Sergey Senozhatsky To: Hans Verkuil Cc: Sergey Senozhatsky , Hans Verkuil , Tomasz Figa , Mauro Carvalho Chehab , Kyungmin Park , Marek Szyprowski , Sakari Ailus , Laurent Pinchart , Pawel Osciak , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC][PATCHv2 00/12] Implement V4L2_BUF_FLAG_NO_CACHE_* flags Message-ID: <20200226112004.GH122464@google.com> References: <20200204025641.218376-1-senozhatsky@chromium.org> <35d43107-3c1c-3bf8-20e5-6569605643c3@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35d43107-3c1c-3bf8-20e5-6569605643c3@xs4all.nl> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (20/02/19 09:53), Hans Verkuil wrote: [..] > This is starting to look pretty good. I think you can drop the RFC > for the next time you post this. OK! > One thing I would like to see as well is test code in v4l2-compliance, > specifically for testing the various flags and capabilities. I.e., > if V4L2_BUF_CAP_SUPPORTS_CACHE_HINTS, then it should test that it can > set the cache flags and the NON_CONSISTENT flag. If it is not set, > then those flags should be cleared when attempting to set them. > > Also code in v4l2-ctl and common/v4l2-info.cpp to support the new > flags, both reporting them, but also setting them. I do have two trivial patches - "sync videobuf kernel header" and "add new capability to common/v4l2-info.cpp". But v4l2-ctl and v4l2-compliance will require much more time, I think. So I, hopefully, will do it sometime later. -ss