Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp351057ybv; Wed, 19 Feb 2020 00:45:44 -0800 (PST) X-Google-Smtp-Source: APXvYqx9MRiq5REtuARve/u+08pqPPSPwlI1z8aJT2DbnXYKcTCGBx0SKu8f0P2oswCbLyLnCot8 X-Received: by 2002:a9d:6e0d:: with SMTP id e13mr4340813otr.316.1582101944132; Wed, 19 Feb 2020 00:45:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582101944; cv=none; d=google.com; s=arc-20160816; b=vuh8GULXvga8l1dRVRebuo+qjT0pl6h4Scl1mg0l/ip//EIPRQ0cOSFsFmxZTVZptV M2HTt53J5yN5+0V/10QRK31x3935Ny92SxnShGtmy/a3y6dVxN1tgxvWFMkte21fnvui cm5k/FDg6nLu1UnqtY/QynODRN8VU0B+ue1nOXr52MUqWr9SPyD5/Qz1l0asgc/+R04G EXCP64l5EdOrRspnYnABzw70Lc8yaYOnrFNInpDrtRWFLhdWgX6Oa6o7vYtFPEPe3h2a HS4E6yVvUSI9lHK6zCtRBG+SMbTJgmw3aGKBHwgHcN+jjvHV6/Jaz66HpngoEoAzMeX7 7cvQ== 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=w7YXXPrjv0swolztGRRXXsVERSqdfE5ws09bwwHXbAM=; b=wS24Y+6THG0VCCRr9fck5/rAyXYNAT3g0hiW2pHhS8DtBI6dYoPS22H7pPNLzBx0+W S7yh68Ug4Qkw15GPCc3utzR3YxXgAASvNW4fSj5qJlDrnYwZs3nNQ6uvROVqrddckX3t MaDrUgeLuIZYVmL7rHe6jeTMGltdWtOyWfVy7L7zjDIuWGq+VdZgyVD27oPqlAPo+fUm QvBW8/zvT79H07gE45PvftoNEvjEWBxeiXYufgpxfNCFll3v51wSZrHgzqSKKU665nRX UVhKPBRU1zAvpbrwyMVeKOsWlcJ+VKGpbYjZOyFPNzF3KcyehILev9N1XfWuqXc8Jl3V o5JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AkzCwOOM; 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 j2si711616otr.255.2020.02.19.00.45.32; Wed, 19 Feb 2020 00:45:44 -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=AkzCwOOM; 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 S1726469AbgBSIpZ (ORCPT + 99 others); Wed, 19 Feb 2020 03:45:25 -0500 Received: from mail-pf1-f169.google.com ([209.85.210.169]:40742 "EHLO mail-pf1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726260AbgBSIpY (ORCPT ); Wed, 19 Feb 2020 03:45:24 -0500 Received: by mail-pf1-f169.google.com with SMTP id b185so1829287pfb.7 for ; Wed, 19 Feb 2020 00:45:24 -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=w7YXXPrjv0swolztGRRXXsVERSqdfE5ws09bwwHXbAM=; b=AkzCwOOM9iV/wba/KmNiKXDQYn8VyVEaoxrCMbBrWjk3TYIhMorbj0O4714xrL4Ldk OeV6RZvINWRxzG16nKHP8ARbTASTlGinofwrOq45IfH7HF/UqvYdk386zijReJ5dJ7BA leIYMPQtWfGrwkmW1HzYdISCOWppQNL+2uk2I= 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=w7YXXPrjv0swolztGRRXXsVERSqdfE5ws09bwwHXbAM=; b=kZCKrhQRjHdlteLOeyFhIbUYdqU7rjRsM+n0zmvhuymbB4qLl6BK2FUaiw3apvHMsb nSxbShiFu6/eYsI2YRl3WyH73A+lDzjvvMRMj7dpEVPQSwPHzWOKL9kBkSvuF7vZNoXc aOuPupy7Th/eIcoJKmHxED3qp4V0SUcWoB0CUiHMjjHUx2P8zrWfDIMDmtE5kN7Cmwbc lKHyeV5Ascxme8pLQbGIbkEI/h9PjdtDZHyynK2YTTklaZ+yd21bT9W2GeqbOU+gSC0G 9CzrRS9MqZ1xO182HiMddWQ8FAlLdD4pcXhysJx45KsMWTCcJW2rdRTKJuz7W4z3UaYX QHZw== X-Gm-Message-State: APjAAAUuCtCKaDTViPaRQ0Pepyl4qH+8+U/4vjeK7We75OkumFYgFNTn 8pij7h54gixp5SoWRsgl3MLbbQ== X-Received: by 2002:a63:2842:: with SMTP id o63mr27636968pgo.317.1582101923757; Wed, 19 Feb 2020 00:45:23 -0800 (PST) Received: from localhost ([2401:fa00:8f:203:5bbb:c872:f2b1:f53b]) by smtp.gmail.com with ESMTPSA id u11sm1646492pjn.2.2020.02.19.00.45.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2020 00:45:23 -0800 (PST) Date: Wed, 19 Feb 2020 17:45:21 +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 09/12] videobuf2: let user-space know if driver supports cache hints Message-ID: <20200219084521.GD122464@google.com> References: <20200204025641.218376-1-senozhatsky@chromium.org> <20200204025641.218376-10-senozhatsky@chromium.org> <2a00bf5c-462e-8d35-844c-55ce2383b8e2@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2a00bf5c-462e-8d35-844c-55ce2383b8e2@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:33), Hans Verkuil wrote: > On 2/4/20 3:56 AM, Sergey Senozhatsky wrote: > > Add V4L2_BUF_CAP_SUPPORTS_CACHE_HINTS to fill_buf_caps(), which > > is set when queue supports user-space cache management hints. > > Ah, you add the capability here :-) > > This should be moved forward in the series. Actually, I think this should > be merged with the first patch of the series. OK, can squash. This way I don't have to split 03/12. I can also update V4L2_BUF_FLAG_NO_CACHE_INVALIDATE/CLEAN in 01/12 then. Would that work? -ss