From patchwork Thu Mar 29 17:06:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nayan Deshmukh X-Patchwork-Id: 10315729 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 732C760353 for ; Thu, 29 Mar 2018 17:07:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62A712A456 for ; Thu, 29 Mar 2018 17:07:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5757A2A459; Thu, 29 Mar 2018 17:07:16 +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=-0.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SBL_CSS, T_DKIM_INVALID autolearn=no 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 F276D2A456 for ; Thu, 29 Mar 2018 17:07:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CA7766E745; Thu, 29 Mar 2018 17:07:14 +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 DBD8A6E745 for ; Thu, 29 Mar 2018 17:07:10 +0000 (UTC) Received: by mail-pg0-x243.google.com with SMTP id i194so3461268pgd.0 for ; Thu, 29 Mar 2018 10:07:10 -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 :mime-version:content-transfer-encoding; bh=P5B46o8roFpbDXvyntqdf/8PfVfO8a3t0Ge7mRHmHEM=; b=KIedQyC0ontRS4dGkPyaTQia58MRr/90Pqe7+H3Y5C/+FlwxXyEa/lo74xIzVhnPwE dUbLw7GnwptgdPUd00ld5dU06Et6xtGnQvuwLRrg2NRZhFy9UxJaTNRxd4l64PTCDW3s zw1xSJlaMrkv0kQhgKZZbRkjDnSLOF7D7mi7TdxCr5W82EvUaPpnQ0PbfhGMXqIM6QVX zNCMddbBTSoN3Bpyy4S2ryGe6DbQ9mxqW8VVuM+M1RzTTyiN9F6h7Kt8gevPFIXXuZxF L0IR44J4s8Z2MCF85hk2WHigfD0JSJexPqcHPs4kPkQ81888eWzJ1u+WluBoHkr9XRG5 QPsg== 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:mime-version:content-transfer-encoding; bh=P5B46o8roFpbDXvyntqdf/8PfVfO8a3t0Ge7mRHmHEM=; b=LmmDr3mqulv2eFO2Xp3mbNnVy6QvOsDnchkIvzwq3vPbHxO2fMmMH1kfLD/rxgXbCM nFXOtNeKTsiw2D0N7NbstdIbo+1bQs/se5HGucje/m7PZRRscrCk/YFbEd+vdNDyUtcx t/N52bE/BllPWaV9K3hYI7No+CIi9RQZ3C4D0MRS9EL9iXWtknWBkfWNzwKijIb0KnG0 BXphCbqT+hpyUMiNvWOXdsgi+jd7k3U6fFqI2k4oUiGKSHjYdd9Mx0++Sid2kd+vSMkm 7FBQaR+4drRU5STt5uAfDma7zaCfaRI7zmkOuuieIQEG1xSYnKi4eZKNF8L9sCG5qHxW FY8A== X-Gm-Message-State: AElRT7El5ITR79OUt5nrYHXkQb9M8K37VGXuP4mW6FUTPwsU7g2x/OXy 9DXxtxX0GANyNFyCobEgaIAjCQ== X-Google-Smtp-Source: AIpwx48Agm5MBe6ZK8WW94u8AyjlRhrSQwURjmEPNWXtUKZa4W5OZ8rkX0X04eACspRDJSrkCZRstQ== X-Received: by 2002:a17:902:5a0b:: with SMTP id q11-v6mr9418595pli.199.1522343229999; Thu, 29 Mar 2018 10:07:09 -0700 (PDT) Received: from localhost.localdomain ([103.246.106.24]) by smtp.gmail.com with ESMTPSA id n27sm11289546pgc.40.2018.03.29.10.07.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Mar 2018 10:07:09 -0700 (PDT) From: Nayan Deshmukh To: dri-devel@lists.freedesktop.org Subject: [PATCH 1/3] drm/scheduler: fix param documentation Date: Thu, 29 Mar 2018 22:36:31 +0530 Message-Id: <20180329170633.28680-2-nayan26deshmukh@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180329170633.28680-1-nayan26deshmukh@gmail.com> References: <20180329170633.28680-1-nayan26deshmukh@gmail.com> MIME-Version: 1.0 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 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 Reviewed-by: Christian König --- 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 */