From patchwork Wed Dec 9 21:58:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luben Tuikov X-Patchwork-Id: 11962715 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24D9AC4167B for ; Wed, 9 Dec 2020 21:58:29 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D797F23D1F for ; Wed, 9 Dec 2020 21:58:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D797F23D1F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amd.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CBC976E1F2; Wed, 9 Dec 2020 21:58:27 +0000 (UTC) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2082.outbound.protection.outlook.com [40.107.236.82]) by gabe.freedesktop.org (Postfix) with ESMTPS id E5B8F6E1E0; Wed, 9 Dec 2020 21:58:26 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NzCXjno3bXyWkKf7lHBOz3nAV6PI/SUxtyhmj740IevR8Ivgrp39dcr3CHn4qWMw1f7tBddmWWx2izILt/mh3HDAkPHb3qlvB5+uNoxCOlhrEHpD3rxLPHOcdTuynP5FItEYqlbMlZkkeDZbPknJLLs+cwBuSS/mBzxpBwdh3E7YNmC4L4aDDPAYOZZVnSqTCR9vjplROAKAzFv6MdM3ACbbnlWkmB9Ff4Y1qfOH2WEie8XXEJZzzOQIv+4r8pphA/PmwFp85AxOndQNadFXM65s9WvPvewzbHZt+zvV57/5euLuoBzPEL4KK1eW15gGSxqg9c0u+5yO++oWpC7hFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=d7ns8YrhfeYDOZ7fjzSSFx5McWgYveAKLfWkcbVlT38=; b=gzqtE9XMaD9RSPtBwVEZS6By0BhqqrGANqfk0cSbr01tTz1njcsyFrPgIQX8B+pq2+xJieBvEtkL3/0j5iYIkcjBQoAwpEBWbcqFtWFnS1vfguP7LaBNEbnnd0eCeRDDb7TuRrIcMWrzcYUF7R5+0+sGUELunlNTYE2R8+63YijAb581bYp0F0AramHOmgOG3qkhrH5Cz2TIo6+FXlQlss5QyP9rCywNd3hLs5Dccwt5c7w1zLX/pzp5ievnkqeGp8ujgqELg5T/kssyroCn08M61x9Burq5P+59/g21e7JYvpLy+Ec5y4sGLae7+NzZpGODIzVkzWGXAEWF0MrVrw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=d7ns8YrhfeYDOZ7fjzSSFx5McWgYveAKLfWkcbVlT38=; b=BDW34uZSXCbu7DS/S4Zt9BCvcPv7HgCrU37jbOnh/+G46wrfQ+7jcxpLXqpIELpRTlAbUdICVgAOXbSLu33ueagMGcgsXGac9Pfa/nbj0gkSRPG2kNfc1iiNqNljejbADch6GcmqaZ/HjwYplFD3XP6LJXMK2T1X2EZHl/ekqaY= Authentication-Results: lists.freedesktop.org; dkim=none (message not signed) header.d=none; lists.freedesktop.org; dmarc=none action=none header.from=amd.com; Received: from DM6PR12MB3962.namprd12.prod.outlook.com (2603:10b6:5:1ce::21) by DM6PR12MB3467.namprd12.prod.outlook.com (2603:10b6:5:3c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.18; Wed, 9 Dec 2020 21:58:25 +0000 Received: from DM6PR12MB3962.namprd12.prod.outlook.com ([fe80::d055:19dc:5b0f:ed56]) by DM6PR12MB3962.namprd12.prod.outlook.com ([fe80::d055:19dc:5b0f:ed56%6]) with mapi id 15.20.3654.012; Wed, 9 Dec 2020 21:58:25 +0000 From: Luben Tuikov To: dri-devel@lists.freedesktop.org, Intel Graphics , Linux Kernel Mailing List , Linux Next Mailing List Subject: [PATCH] drm/sched: Add missing structure comment Date: Wed, 9 Dec 2020 16:58:07 -0500 Message-Id: <20201209215807.75983-1-luben.tuikov@amd.com> X-Mailer: git-send-email 2.29.2.404.ge67fbf927d In-Reply-To: <20201209210211.306f3c61@canb.auug.org.au> References: <20201209210211.306f3c61@canb.auug.org.au> X-Originating-IP: [165.204.55.250] X-ClientProxiedBy: YTOPR0101CA0025.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b00:15::38) To DM6PR12MB3962.namprd12.prod.outlook.com (2603:10b6:5:1ce::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain.amd.com (165.204.55.250) by YTOPR0101CA0025.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b00:15::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 21:58:24 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 55e5c900-51a4-48ee-eaf0-08d89c8d8d83 X-MS-TrafficTypeDiagnostic: DM6PR12MB3467: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tvz8yBk9eNgip+cqxBMtqagRlESpEoDrIx3HRmpEc9r0bovrzPp+GkVVYYMbLjko4FN6QiV0OGtQDvDF/K2ZplUBFFB2SksphdE73j8OMsYF7C3s+DmxLKtpHNfXf8RS5Wg5uOuZRBrCWBIvLv/Wn+PCSKutJi94inXIserZI2GRdJsSrIijGLX6Ztuf+CnBzgvzWiIe77kY0pHKwu+2328IhKD+qr7oacFZutwFoiaBBhiABOKHdNqelPX3hXLrs2CeZFyqVTJkEllYcIncgU3aIxRZ3tGubvqjdCgkSIf2DRrQDQtQTGOwZ0zW4YVPf8eBL3ft6ksH2s4ijdZPPkHR/iTjmlZD14A8rRteqlOs5kxy/Iik3lbyFe0B/Zpu X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3962.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(366004)(376002)(346002)(66476007)(54906003)(34490700003)(66946007)(26005)(83380400001)(16526019)(36756003)(66556008)(110136005)(86362001)(52116002)(7696005)(508600001)(2906002)(6666004)(4326008)(1076003)(6486002)(44832011)(8936002)(5660300002)(8676002)(2616005)(956004)(66574015)(186003); DIR:OUT; SFP:1101; X-MS-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1SVDENo4yv7IY0K9rpf7x67tGXjHQ3S7SzlwwBbO5HFTW3imb?= =?utf-8?q?cAJRg5mIEOm7QQfulafuo3wdcM4gfrpV0AgLSIjCmVwpNksiDbxEjuSp53jSvc/6y?= =?utf-8?q?+mO74Wlyj1XjXC3TYAk?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3962.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 21:58:24.9920 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-Network-Message-Id: 55e5c900-51a4-48ee-eaf0-08d89c8d8d83 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4uBxQtJNss89IuYBppj/OrPxXCUvAJZELZprwmn/bFmYB/1lZ6t1uHDXLXix9XVn X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3467 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Rothwell , Luben Tuikov , =?utf-8?q?Christian_K=C3=B6nig?= , Daniel Vetter Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add a missing structure comment for the recently added @list member. Signed-off-by: Luben Tuikov Cc: Stephen Rothwell Cc: Daniel Vetter Cc: Christian König Reported-by: Stephen Rothwell --- include/drm/gpu_scheduler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.h index 2e0c368e19f6..975e8a67947f 100644 --- a/include/drm/gpu_scheduler.h +++ b/include/drm/gpu_scheduler.h @@ -171,10 +171,10 @@ struct drm_sched_fence *to_drm_sched_fence(struct dma_fence *f); * struct drm_sched_job - A job to be run by an entity. * * @queue_node: used to append this struct to the queue of jobs in an entity. + * @list: a job participates in a "pending" and "done" lists. * @sched: the scheduler instance on which this job is scheduled. * @s_fence: contains the fences for the scheduling of job. * @finish_cb: the callback for the finished fence. - * @node: used to append this struct to the @drm_gpu_scheduler.pending_list. * @id: a unique id assigned to each job scheduled on the scheduler. * @karma: increment on every hang caused by this job. If this exceeds the hang * limit of the scheduler then the job is marked guilty and will not