From patchwork Mon Mar 26 17:16:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nayan Deshmukh X-Patchwork-Id: 10308345 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 118CD60386 for ; Mon, 26 Mar 2018 17:17:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 009B929162 for ; Mon, 26 Mar 2018 17:17:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E954F297A7; Mon, 26 Mar 2018 17:17:21 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID 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 87E3929162 for ; Mon, 26 Mar 2018 17:17:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 794066E077; Mon, 26 Mar 2018 17:17:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id A1A526E077 for ; Mon, 26 Mar 2018 17:17:19 +0000 (UTC) Received: by mail-pg0-x243.google.com with SMTP id f10so7351270pgs.9 for ; Mon, 26 Mar 2018 10:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7tjwZf2QJoQa2ieWJkeP2k/tH/9yPDP+hAauo/SBvTo=; b=JwXEM8xhCcLWL5ZayLMx+rf4XJloVrxssf9HzmRR+mDl7/c4o/Wfm+X4l9GbF9PC6f OqEs1m+h9UqZrb8zih2ykTeXhK6GeeUJ6hAALHS7BfNCQYN+wt2jwU4I/iQHsvCA++qo SVmv9hqqQNGYXOZc6C2M9hFeZ2nD5bY/nvsP7YIt73XpIixh8tVUi7td9vRcdVW2ZybH 0XNKFB4yO1etAhBT2V35zWG2Cea17shGLYGEdWFoxGMp64t7dr1aOvt3ZV5MEKMfP4p0 IPdm4I4n6z7EdYglFKHj2TbHQmGaf+vChL7wAMr4RVnxXIBsH8ClCFkKFvMRHW4Hu2xc 3+yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=7tjwZf2QJoQa2ieWJkeP2k/tH/9yPDP+hAauo/SBvTo=; b=DBlTqaboCF0VWgeoSybetVsBhaKHA+/DiZzRvc6sae3upVnXKqeQ7F4eY2a9xy7SmY 5kF+hVTQunTX0T+kv0LdUUqjFjfGFXkzeRjfNSZEA+viyQ7aCq0QSZ3eo5KHYvCuYZIj 6wUmaJG37mvfRKdoCn+OAKfte0+7fbjBXxOuj8uZm4GMZe7MsUekCjrGF7gN+jDPiO6n /n+3K4eliIEsf+fKVPywOZc8JtW83Fb7Rtu/Om2+CPJ+9hkCzmsRlCg+FDrwiiMiUfsP 8qyhfGxQjailfIhM3sHSvYUdsJ3rJBZQGRxu6wr9CV4G4KVayF2fk7DWInmCj5UkJqbF aCQw== X-Gm-Message-State: AElRT7E97Ic+2YkT2uLlom4RjGPQUbtI1RhPj+qK39FmQm410JyXa5jo WHQUBDrmx4yOCBRxZaHuCeRSsg== X-Google-Smtp-Source: AIpwx4/9/KRxmgCUllF8zZNoDY7hl427a+IP8jauha9Gjaz/Au10SE6v57vzlaDcqtfX5BjJEbb9GQ== X-Received: by 10.167.128.75 with SMTP id y11mr2620440pfm.194.1522084638887; Mon, 26 Mar 2018 10:17:18 -0700 (PDT) Received: from localhost.localdomain ([103.246.106.24]) by smtp.gmail.com with ESMTPSA id i127sm26755237pgc.12.2018.03.26.10.17.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Mar 2018 10:17:18 -0700 (PDT) From: Nayan Deshmukh To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/scheduler: fix param documentation Date: Mon, 26 Mar 2018 22:46:55 +0530 Message-Id: <20180326171655.25866-1-nayan26deshmukh@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <3f0f3e2e-0e8c-0403-3235-0a2f710b1bd2@amd.com> References: <3f0f3e2e-0e8c-0403-3235-0a2f710b1bd2@amd.com> 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: Nayan Deshmukh , christian.koenig@amd.com MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP There is no @kernel parameter anymore and document the @guilty parameter Signed-off-by: Nayan Deshmukh --- drivers/gpu/drm/scheduler/gpu_scheduler.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler.c b/drivers/gpu/drm/scheduler/gpu_scheduler.c index 0d95888ccc3e..1d368bc66ac2 100644 --- a/drivers/gpu/drm/scheduler/gpu_scheduler.c +++ b/drivers/gpu/drm/scheduler/gpu_scheduler.c @@ -117,8 +117,9 @@ drm_sched_rq_select_entity(struct drm_sched_rq *rq) * @sched The pointer to the scheduler * @entity The pointer to a valid drm_sched_entity * @rq The run queue this entity belongs - * @kernel If this is an entity for the kernel * @jobs The max number of jobs in the job queue + * @guilty atomic_t set to 1 when a job on this queue + * is found to be guilty causing a timeout * * return 0 if succeed. negative error code on failure */