Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1677242ybi; Thu, 20 Jun 2019 01:46:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMSa8j8umkYdCM6casNFkVTXsStohgItWFBQxlQlCzt6ZPh3kqSCPViIqgBpPo37IRFygG X-Received: by 2002:a17:90a:8d0d:: with SMTP id c13mr1832925pjo.137.1561020411338; Thu, 20 Jun 2019 01:46:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561020411; cv=none; d=google.com; s=arc-20160816; b=WCpWHOwc4T2aOYy2xk/yStEYSIgd5YMfVvTl3VInDS6nRgKvI1sL+MorMeCiIXx8bN sqXABIRVBPGYIJbeoFUrkZM+v36+7xJa8IKwSsaF29r6BC9OsKYPigKji93g25yKHKJ6 hZ7f3qV92UWrPzrVrq387IxKoCYWtMszVNWuulDvDKBxenmLTzQxpaTKFxNxZZZp3Z7a 2gPb3aICmIR4xY3KbVXWJBHH5FHFpS6MI4sedoRpVwu54evPXEo6NxcjT4fwC868Nryh pLXbYZ2bD0MnAEuNxrKrBWPfXsypHzLGCLChMwfP+KVlQzSeH3Je9cAgBCa6azm2I4dr M/0A== 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; bh=hg6v8ObrbH0C9hvw+VCmMYXJBZPOUHFoo88lqPOlKK0=; b=e4P9ADvaJZWWVxquXWn+A6zULdv7GZ8vcdfL91qSi2Pt2PduIn+1xliPsGYigiumg9 7T6tcT2/vjM1Onk6hRN+vBElNuqLC+ylMcELFtz+OS6AoIMtj1+oa9dBqbni4/k4Iirt BlUpG3jMiiwY/BK5PfIoWtoAPxJd+GZMYaO9LjZwKnOOwmXV7PrOe48Q4iBHW1nN4vdy 9bntw4olNMiU/tirRhKRs8h/iWuO6MtBtetO7Ka4PYur2LrV2i8FB0/x1AclWF7i2O6t xjpA+tXfVUTTiTt4/qVhAgmBjW/wv/nE8bMriIkVru6nB6W4FzTQLGx8VM1j+f0T89Qv XB9Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 24si5233966pgo.350.2019.06.20.01.46.36; Thu, 20 Jun 2019 01:46:51 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730886AbfFTIpP (ORCPT + 99 others); Thu, 20 Jun 2019 04:45:15 -0400 Received: from mga05.intel.com ([192.55.52.43]:28960 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725875AbfFTIpO (ORCPT ); Thu, 20 Jun 2019 04:45:14 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jun 2019 01:45:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,396,1557212400"; d="scan'208";a="170814221" Received: from pdaleax-wtg.ger.corp.intel.com (HELO kekkonen.fi.intel.com) ([10.252.61.225]) by orsmga002.jf.intel.com with ESMTP; 20 Jun 2019 01:45:03 -0700 Received: by kekkonen.fi.intel.com (Postfix, from userid 1000) id 5B51021D88; Thu, 20 Jun 2019 11:44:58 +0300 (EEST) Date: Thu, 20 Jun 2019 11:44:58 +0300 From: Sakari Ailus To: Tomasz Figa Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Hans Verkuil , Paul Kocialkowski , Alexandre Courbot , Hirokazu Honda Subject: Re: [PATCH] media: Clarify the meaning of file descriptors in VIDIOC_DQBUF Message-ID: <20190620084457.irkmv4wy7pbvlj5r@kekkonen.localdomain> References: <20190612093648.47412-1-tfiga@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190612093648.47412-1-tfiga@chromium.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 12, 2019 at 06:36:48PM +0900, Tomasz Figa wrote: > When the application calls VIDIOC_DQBUF with the DMABUF memory type, the > v4l2_buffer structure (or v4l2_plane structures) are filled with DMA-buf > file descriptors. However, the current documentation does not explain > whether those are new file descriptors referring to the same DMA-bufs or > just the same integers as passed to VIDIOC_QBUF back in time. Clarify > the documentation that it's the latter. > > Signed-off-by: Tomasz Figa Acked-by: Sakari Ailus -- Sakari Ailus sakari.ailus@linux.intel.com