From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 496F6C433E1 for ; Fri, 31 Jul 2020 09:17:54 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1D7A921883 for ; Fri, 31 Jul 2020 09:17:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="hrXPg9RL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1D7A921883 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 89DF26EA44; Fri, 31 Jul 2020 09:17:53 +0000 (UTC) Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id A0CD26EA44 for ; Fri, 31 Jul 2020 09:17:52 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id d190so7942808wmd.4 for ; Fri, 31 Jul 2020 02:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zap5mCPdXGfCBoAglpFSUI584futiyKZR3trwr0wzD8=; b=hrXPg9RLOgJQDEhP1zScUI2NKWRyxq+SOMDtubqqTm9OhE3LSXNrEngEmNAZLOTL0H fBRH5ArtO84NfTCYG8xBTJddOZMVD63HOKJ+1I9ZLDreM4zYgFi9cYauzula4Crybhif 4yKDC5LtUynoFNpru4vkUKuO2Vq2Dnh4f8Z6k= 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; bh=zap5mCPdXGfCBoAglpFSUI584futiyKZR3trwr0wzD8=; b=SPVet46wmKvcwLL5LihYtoznKNCCABjZxCXCSKeTHKjK/53aQ2aNBFfDQB+UV8DvVT sEmrx0gX3Z+ov/sLjTsyqyr1lprdH9Z3m+MkNPjiB4oybIiyK29p+aZhV7a9momhSluT PZ0D1E+BAWx+8oLRrkKTN9L092qGP+RE0EhQQgMUIsYgdV4no5PgKtP/810U+Tjf2bXw MMhdSND8S3a7BOUe8ojJpvTQArVgFZNkUgQDXah6MfMnM901uGVOmpCdQs99O6sK9zXw kNrs3m8AEStPKjw7mwNFPH8LqCPXQrnEEdq9RhG0eK+5cI2imFtzgthb8XMcgUIkMatT I5vQ== X-Gm-Message-State: AOAM532TOtfJ7I5gCjKkmilEaSn6LySS8ZpSKj9YDT/dHKmGgNdUNBSa RK+rG7yjjiuCPLrJ5Ir5M17zmA== X-Google-Smtp-Source: ABdhPJzcg+Saw+jf9MpEs60W0A+5dDIrQXLHf8yAkzEyQPQJ2WoiIqn+/xFeKy/ou89Ul0fBMASB5w== X-Received: by 2002:a1c:80c3:: with SMTP id b186mr3024941wmd.10.1596187071227; Fri, 31 Jul 2020 02:17:51 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id w14sm12443489wrt.55.2020.07.31.02.17.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 02:17:50 -0700 (PDT) Date: Fri, 31 Jul 2020 11:17:48 +0200 From: daniel@ffwll.ch To: Subject: Re: [PATCH] drm: re-add deleted doc for drm_gem_open_ioctl Message-ID: <20200731091748.GU6419@phenom.ffwll.local> References: <1596000952-27621-1-git-send-email-cohens@codeaurora.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1596000952-27621-1-git-send-email-cohens@codeaurora.org> X-Operating-System: Linux phenom 5.7.0-1-amd64 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: adelva@google.com, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, pdhaval@codeaurora.org, gregkh@linuxfoundation.org, sam@ravnborg.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, Jul 29, 2020 at 01:35:52AM -0400, Steve Cohen wrote: > Add back the removed documentation for drm_gem_open_ioctl. > This patch is submitted in response to [1]. > > [1] https://lore.kernel.org/linux-arm-msm/20200728085244.GY6419@phenom.ffwll.local/ > > Signed-off-by: Steve Cohen > --- > drivers/gpu/drm/drm_gem.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c > index ee2058a..fe94122 100644 > --- a/drivers/gpu/drm/drm_gem.c > +++ b/drivers/gpu/drm/drm_gem.c > @@ -871,6 +871,9 @@ drm_gem_flink_ioctl(struct drm_device *dev, void *data, > * @file_priv: drm file-private structure > * > * Open an object using the global name, returning a handle and the size. > + * > + * This handle (of course) holds a reference to the object, so the object > + * will not go away until the handle is deleted. Applied, thanks. -Daniel > */ > int > drm_gem_open_ioctl(struct drm_device *dev, void *data, > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel