From patchwork Mon Mar 26 15:21:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nayan Deshmukh X-Patchwork-Id: 10308087 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 2F2C9600F6 for ; Mon, 26 Mar 2018 15:22:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FD44297A5 for ; Mon, 26 Mar 2018 15:22:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E7B6297A2; Mon, 26 Mar 2018 15:22:29 +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 8B7AB297F4 for ; Mon, 26 Mar 2018 15:21:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1CE5589237; Mon, 26 Mar 2018 15:21:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4679589237 for ; Mon, 26 Mar 2018 15:21:44 +0000 (UTC) Received: by mail-pf0-x243.google.com with SMTP id u5so7642513pfh.6 for ; Mon, 26 Mar 2018 08:21:44 -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=lFRiIVD026XVtMTC4PXIHHsUTe+b9azXhI5l+PJ2opY=; b=GCPoU+4lrximTL3o6UFt1wqYxEWu6fuCduuTwW7tSbcVO9x54PkmPgokYECitAHOuX UKoCmcDV6r6cKka2mzp6BH6EUpuuYJlsreMggr/o5SoyGzNgUFEjumJhLDZd2s8BDrKH rVx5QdlQn3oK1GCzUB34p77R45Xbkm7hyDtBuISdUl9/dO99h3WamVJFxselK212222v qUlRZ/nDHv+jio3ToWQYBegRCMz0AGRd5xf/PWf191QQOexiMgr1b+yinaot82VgkGZ4 XHwMSSTH9Cr+p1j0Y7vzJSB04H6fwPgwqVN77sVi1Did2lAD0XxjJ7P0CmOAp5CgM5yZ 09IA== 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=lFRiIVD026XVtMTC4PXIHHsUTe+b9azXhI5l+PJ2opY=; b=g2vbvUaKKMjYIKYmVnvAQXWmLfyt0XpO2Phy0ZkMcPL5An4GZB1hc+MmZdPsPQ3SH0 dsDJWq0R2ZGfJMlc5CVdCT6QCrMf/JBdLaqFzmElkM4qvh174xoadRfy7s6MEX3dNPZx 6ylboRskd5Dnfkuqsr9q2v7HL+n9MIIsLf95iYkHopXGdXHvStowj/42+9ZY3myN5yc3 hDAxAHfhBpoaJ/qNjSImbS7UuXO6L6g9sxrQhd/WCKBgtzjJllTTOQTwAhTt1CmIXwbJ BmcD4r2xZ6YxybIv2ZqXVznkcSvoe6oj0Ksm2iAFQvZvDs8MMn9DMxf1Ifq7pAkckDTP YLSw== X-Gm-Message-State: AElRT7EV+HQ7+Y0JVmIOD5pLbOAkPqCiipK05vI2dAVu9ERaXWjjsIFX 34N6L6MkQZVoiathEZdQPhBsEg== X-Google-Smtp-Source: AIpwx4+YmGgh5PcrL6QihLvnJi4ecSdv6WflfQysfSyqR63tq5l+JBB+VL0d0dR1L7dj70H+ZINnCw== X-Received: by 10.99.42.148 with SMTP id q142mr6439450pgq.425.1522077703467; Mon, 26 Mar 2018 08:21:43 -0700 (PDT) Received: from localhost.localdomain ([103.246.106.24]) by smtp.gmail.com with ESMTPSA id a65sm34883815pfg.170.2018.03.26.08.21.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Mar 2018 08:21:42 -0700 (PDT) From: Nayan Deshmukh To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/scheduler: fix param documentation Date: Mon, 26 Mar 2018 20:51:14 +0530 Message-Id: <20180326152114.24948-1-nayan26deshmukh@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <68383f89-0610-c721-dd1b-145f3d5e046b@amd.com> References: <68383f89-0610-c721-dd1b-145f3d5e046b@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 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 */