From patchwork Sat Apr 20 12:50:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 10911727 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 C0E091708 for ; Mon, 22 Apr 2019 23:55:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B52DE27FA8 for ; Mon, 22 Apr 2019 23:55:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7D74287C5; Mon, 22 Apr 2019 23:55:32 +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,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 126A827FA8 for ; Mon, 22 Apr 2019 23:55:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 02E1E8922B; Mon, 22 Apr 2019 23:55:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 66C35892D4 for ; Sat, 20 Apr 2019 12:51:39 +0000 (UTC) X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([109.90.232.48]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Mh6lB-1hUnsb2bmj-00MHfJ; Sat, 20 Apr 2019 14:51:24 +0200 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/sched: Fix description of drm_sched_stop Date: Sat, 20 Apr 2019 14:50:50 +0200 Message-Id: <20190420125053.32150-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:okTCytA79pzkYmEPFvY+M+knoi56Vuo6jUuAcENqTatsHUQikPN KYeJ3mG0HHCZ/12VdmlMklcZrfVcvD+Yb5M6vOaRTj5Vf8jPwP6IZzm52MlGxnUwsQF987A HIbSWrxQejVE5ldq5jTxysm9QH/0193917XLpZ+fYqm3YbgGp+pO4WKmAP78sWs/DapvLlS /WeUKhPWiPd7s/4LiODfQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:jiekJYLotuU=:jTEJJLESDKzlEN4B7tLZcp pndZb9N4XCscn8MgYp8LA5zUf0ejjYH4QKqLTVNHCMf3sNYnGf2iGOyqp59LNMq5mcVI45CVF Yb33rgicwJ5yMbEykkyNjSrlS/IXUguKtWe27Ond1ATIln4q7EMwcbbZ/fukdyTiKt7ZKb72H yKFh6wFw2/rVWTr0ggPnltlAirJG2CNG9KbdL33lNuN9lg4L/7z6DQCWaqw3ILk7o0HmM3e97 fGQfTZZN5n/2q8QIWxChM2c8HxW/7qgKzzdWlIeSjyZr5OyrxMqJD6cmL2RQapwRpkhjgC+67 CyZSe55rwhiR2jzJjFrepVq0ANWOL09lgYxNHQTRlWABcK5G12HxsIy8tmsWIWphVNC4A9XKQ VMmwpNGutHN/68DVsqGNn0uYWQajCmlndqNy0DtUNx7DeRqW3Xm8tsws7CEbbTHceGNguwtO1 YrWPxw4bj3pB+8rf6zE0l6Iy85YnSHmTjN7nhLQ8FFbukByjoZNZ4DuMnL0tR4Yy39tjGqxeR NlE8Sj71CFwk2a7MF0N73PZ9WudDMk2HSAcgX0IDf9vtrpjhINbIJEiZpDMX3AaNGku2bGhm+ u4KH9JmFJU4Kv/U2ZGVT9HPM+Rnt/khTgZiyTUIArpDZpvNhvuh6sAkiyZ5/O35+F44DRD7pX GdNlYeNgrCF9BKBoWeoBCYwn8iRowFVtC9C3P8U75VpXjnVvjELwgRNLYE0gdjczEU6LS3Z19 HGpwn4idOFrjhaPyyZallngC24XxJYqmabGmIjNwoupMh3jTo5pnjnqj6kdRVIgPhSg6Mw6m4 fmDZvRpA9OCFMpjin0rfcmDD8ftU5JmS8jIAQeiQvFnldvaYDcbLzWdmhql5QeMaCex5vDAcH CfdmLliyFOEpkcmQFE45kaaBlgi0cysKotcvY7QVa0HXTfqWzuex7qVmo8GJT4OqGNhzDsA9V AHKBCm+NlTg== X-Mailman-Approved-At: Mon, 22 Apr 2019 23:55:04 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1555764684; bh=ub3mAMcNh1mfanJyWXpEkJLVoct0m0L8TaU1rhV0I7M=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=gxGPZ9lvFByoLzl8uf0g+KGDxnayecOWCYkrCuFGCawKcJmmDtk2CmJkRaxZK97er i3pJJvoC7g1YaT0nGWni3yXrpr41Ky7O/nWaqZlb0/rHZeGP6FVMNbUl1I405nugYX aX7clUYMfICC8xsu2a9WwMoliEt4zJJPC/J0huSc= 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: David Airlie , Sharat Masetty , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , linux-kernel@vger.kernel.org, Nayan Deshmukh , Pixel Ding , Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Since commit 222b5f044159 ("drm/sched: Refactor ring mirror list handling."), drm_sched_hw_job_reset is no longer there, so let's adjust the doc comment accordingly. Signed-off-by: Jonathan Neuschäfer Reviewed-by: Andrey Grodzovsky --- drivers/gpu/drm/scheduler/sched_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.20.1 diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main.c index 19fc601c9eeb..a1bec2779e76 100644 --- a/drivers/gpu/drm/scheduler/sched_main.c +++ b/drivers/gpu/drm/scheduler/sched_main.c @@ -366,10 +366,9 @@ void drm_sched_increase_karma(struct drm_sched_job *bad) EXPORT_SYMBOL(drm_sched_increase_karma); /** - * drm_sched_hw_job_reset - stop the scheduler if it contains the bad job + * drm_sched_stop - stop the scheduler * * @sched: scheduler instance - * @bad: bad scheduler job * */ void drm_sched_stop(struct drm_gpu_scheduler *sched)