From patchwork Tue Aug 28 17:14:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souptick Joarder X-Patchwork-Id: 10579595 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 15D151709 for ; Wed, 29 Aug 2018 07:22:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F20E52A6BB for ; Wed, 29 Aug 2018 07:22:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E56EF2A6C7; Wed, 29 Aug 2018 07:22:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A881A2A6BB for ; Wed, 29 Aug 2018 07:22:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 73BEF6E4B5; Wed, 29 Aug 2018 07:22:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6C9046E3BF for ; Tue, 28 Aug 2018 17:11:44 +0000 (UTC) Received: by mail-pl1-x642.google.com with SMTP id a4-v6so989778plm.13 for ; Tue, 28 Aug 2018 10:11:44 -0700 (PDT) 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:mime-version :content-disposition:user-agent; bh=nqb8Ad1UcN0nTASVDtMJIajbg2bbCwjXAK3GF8SilY0=; b=r5V/8aikaVVLu2fcB8wcpiu5R7eqoj9vfmt446RN2RiaxhudCNESDjymqUoAVSb0kx 3VwZnAmWt9VPFY2qfKA/wP9S9AtuFpDrwCTeMOrLAiSRl2ywhSucNtXY0FroVToYpLL0 C2KbbeQZW6YkVrlQh5rA6yoklOnZBCFCR+Dycb3LJamiCBB+N2IID0zMKfD+erbayzbz kYyyphfKgqtXxsbG1fvHToCijcgwjqAkUaz4yC8DFsqvPkj0y2pEPRE+zPoiQTbZYwtM yZwesQCXBEkWYb+a6e0Az3IMLxxFhF6NvvEKlBH9Xdi4qPVygvYABIq2Z7yHLcIyNvJ4 V12A== X-Gm-Message-State: APzg51DKrShEqaciDi93jAseFSrbukvbCL13VVoOGc6uyKwdOj+4MGg7 iVRFP69G2KiGPCpo+UA/7aw= X-Google-Smtp-Source: ANB0VdZSSYs2AQLILFLS21m/wfBYgx+m9D3JMEuF6Aa3+AfjfBimvyDyuJCsR45tdKEK13ihCG5uUA== X-Received: by 2002:a17:902:aa83:: with SMTP id d3-v6mr2391924plr.242.1535476303952; Tue, 28 Aug 2018 10:11:43 -0700 (PDT) Received: from jordon-HP-15-Notebook-PC ([2405:204:560d:9e3:45f6:9848:6cd1:b9a4]) by smtp.gmail.com with ESMTPSA id u11-v6sm3299852pgj.71.2018.08.28.10.11.41 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Aug 2018 10:11:42 -0700 (PDT) Date: Tue, 28 Aug 2018 22:44:43 +0530 From: Souptick Joarder To: gustavo@padovan.org, maarten.lankhorst@linux.intel.com, seanpaul@chromium.org, airlied@linux.ie, corbet@lwn.net, akpm@linux-foundation.org Subject: [PATCH] Document/gpu: Use new vm_fault_t type Message-ID: <20180828171443.GA3854@jordon-HP-15-Notebook-PC> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Wed, 29 Aug 2018 07:22:22 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: willy@infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP We have introduce a new return type vm_fault_t for fault handler. Update the document for the same. Signed-off-by: Souptick Joarder --- Documentation/gpu/drm-mm.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/gpu/drm-mm.rst b/Documentation/gpu/drm-mm.rst index 21b6b72..23ae261 100644 --- a/Documentation/gpu/drm-mm.rst +++ b/Documentation/gpu/drm-mm.rst @@ -295,9 +295,9 @@ made up of several fields, the more interesting ones being: .. code-block:: c struct vm_operations_struct { - void (*open)(struct vm_area_struct * area); - void (*close)(struct vm_area_struct * area); - int (*fault)(struct vm_fault *vmf); + void (*open)(struct vm_area_struct * area); + void (*close)(struct vm_area_struct * area); + vm_fault_t (*fault)(struct vm_fault *vmf); };