Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753079AbaKLOml (ORCPT ); Wed, 12 Nov 2014 09:42:41 -0500 Received: from mail-ie0-f171.google.com ([209.85.223.171]:42515 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752736AbaKLOmj (ORCPT ); Wed, 12 Nov 2014 09:42:39 -0500 MIME-Version: 1.0 In-Reply-To: <1415792295-2466-3-git-send-email-daniel.thompson@linaro.org> References: <1415639805-17477-1-git-send-email-daniel.thompson@linaro.org> <1415792295-2466-1-git-send-email-daniel.thompson@linaro.org> <1415792295-2466-3-git-send-email-daniel.thompson@linaro.org> Date: Wed, 12 Nov 2014 09:42:38 -0500 Message-ID: Subject: Re: [PATCH v2 v3.18-rc4 2/4] drm: prime: Document gem_prime_mmap From: Rob Clark To: Daniel Thompson Cc: David Airlie , "dri-devel@lists.freedesktop.org" , Benjamin Gaignard , Linux Kernel Mailing List , "patches@linaro.org" , linaro-kernel@lists.linaro.org, John Stultz , Sumit Semwal Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 12, 2014 at 6:38 AM, Daniel Thompson wrote: > gem_prime_map is not currently described in the DRM manual, lets document > it. > > Signed-off-by: Daniel Thompson Reviewed-by: Rob Clark > --- > drivers/gpu/drm/drm_prime.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c > index 8467b17c8053..5d00c8726133 100644 > --- a/drivers/gpu/drm/drm_prime.c > +++ b/drivers/gpu/drm/drm_prime.c > @@ -309,7 +309,7 @@ static const struct dma_buf_ops drm_gem_prime_dmabuf_ops = { > * Drivers can implement @gem_prime_export and @gem_prime_import in terms of > * simpler APIs by using the helper functions @drm_gem_prime_export and > * @drm_gem_prime_import. These functions implement dma-buf support in terms of > - * five lower-level driver callbacks: > + * six lower-level driver callbacks: > * > * Export callbacks: > * > @@ -321,6 +321,8 @@ static const struct dma_buf_ops drm_gem_prime_dmabuf_ops = { > * > * - @gem_prime_vunmap: vunmap a buffer exported by your driver > * > + * - @gem_prime_mmap (optional): mmap a buffer exported by your driver > + * > * Import callback: > * > * - @gem_prime_import_sg_table (import): produce a GEM object from another > -- > 1.9.3 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/