From patchwork Wed Dec 9 22:31:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luben Tuikov X-Patchwork-Id: 11962815 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 BED96C4361B for ; Wed, 9 Dec 2020 22:32:01 +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 7D4A023B85 for ; Wed, 9 Dec 2020 22:32:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D4A023B85 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amd.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 035B36E214; Wed, 9 Dec 2020 22:32:00 +0000 (UTC) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2070.outbound.protection.outlook.com [40.107.92.70]) by gabe.freedesktop.org (Postfix) with ESMTPS id BED2A6E1F9; Wed, 9 Dec 2020 22:31:58 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mxUYCyB+rPJL7O+ThiFONUgYg4Uh2wlmfzUhuI02mZVVfPel7BseSnYdNBavvFEcR7NDbg/YTyEV5TLB588OguspK08R6LPQW1Pdr2GrtuXOuMQ0o2IB4j8a4wvWcr+EtUrEsv/qhI1z+oO1wdaMY21qecYBHqyerKCgf7Ox1AFKMPWVXYB3RTzMUka7aqUiS/i6ACrpSJulxiscG0o6iJyUbs7j+obxh1tP8cOZgZWVYNTrZtxtsR9bjrGDuuGf3AoxUXGTCdGSNR9p6KmxW5G3BHKexHxnjQEpiSjw+2V3nSC3o9fhnP2xQVR1mZbJW6FimbEtCMhcB1lDwPwEIg== 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=5vEQk7D4VRNjtpia9UhbvRIbgja/q6/PpWiYSpkjB1w=; b=ZrtDyRmaMVr6zWbQ3mXywfHmcsiaEEdwstUxeL4unaXLdkdfB3NPRnfLErfR/Tr4hNb3V9EmZSlaHa/mPuiglX1HYrGRJblRLRH2G1RGmTJJP9xnQ+dauFXnJ9kfC9TLGSelLCjqCzSGQetiPjzsBEFB4m1QTVN3vTF4iPe/GC/d5ioIHRvAwwvj7/YSnQKGIUIkooJA5kDhb1+A1v+1ex53U7AVGlQ43lbq2jjYeRKAG8QbT80hn+r0G1Lhur/mpIFzpXs9rmsQwHOytjdsnQJ9GimBmLXjID1vR+Rrg9f856oimiz1hB2zcZl+4OlGoW0k/HtL62K83q24jXCLNA== 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=5vEQk7D4VRNjtpia9UhbvRIbgja/q6/PpWiYSpkjB1w=; b=sw/MI5k0vuZq5dcVtE/7K1QNeuz94v1o+t9NSZIkI8zqDzUZ92z9OphY1id3kS/OhIQ1GHvIOUiNYyPvOAEVW9Z7KWxcMAC7lAPGxaH9vjpaeYWk4OSFGT8am6bUtAC47M9XT3ILpgt5AL3sf9cSUbCvgoz6MwpgmSoHMu9cX2k= 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 DM6PR12MB3868.namprd12.prod.outlook.com (2603:10b6:5:1c8::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21; Wed, 9 Dec 2020 22:31:57 +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 22:31:57 +0000 From: Luben Tuikov To: dri-devel@lists.freedesktop.org, Intel Graphics , Linux Kernel Mailing List , Linux Next Mailing List Date: Wed, 9 Dec 2020 17:31:42 -0500 Message-Id: <20201209223142.78296-1-luben.tuikov@amd.com> X-Mailer: git-send-email 2.29.2.404.ge67fbf927d In-Reply-To: <20201210092435.253b12aa@canb.auug.org.au> References: <20201210092435.253b12aa@canb.auug.org.au> X-Originating-IP: [165.204.55.250] X-ClientProxiedBy: YTXPR0101CA0070.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b00:1::47) 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 YTXPR0101CA0070.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b00:1::47) 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 22:31:56 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: bb184e0d-4744-400e-646d-08d89c923cc7 X-MS-TrafficTypeDiagnostic: DM6PR12MB3868: 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: FyROITzpjnEcxVr6PqZ6FeLzqeaBJkuUdubWzM4I3iSfKvrmQqCkLa5fBfxs8IeR0C7QT8XAAGRUQ1ZNpbo74qa+8q2w6QgF6UnVpOlssob15JUVu+SaAZ2Oiq4PkXO05m879rRXfwSPuCmdG+gZiRDnJYtIDMAlvw1wDT6OG1tS1g2O9IvsFma+xfHzZMf0TJpiujeP7TxjaqxaiXGHHD/NPmIBxSGZAZvYeaDDTiebLg1M0dz70nPl38fm8ZUe1y+RqXGALECdg8cEVDSMp0NzHC+vxa7DjHJST0+jPzfRyUMXjbpIiHwR6C3XSIjLVNcZST9jsijQ3Rl+T+BuJhBCjvWduq2qMe+1t8JUzHASh2E0Kp1RUubV4jDYowD2 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)(376002)(366004)(346002)(136003)(66574015)(16526019)(186003)(956004)(26005)(6486002)(8676002)(52116002)(508600001)(7696005)(34490700003)(2906002)(66476007)(54906003)(66556008)(2616005)(8936002)(110136005)(44832011)(86362001)(83380400001)(36756003)(1076003)(66946007)(6666004)(4326008)(5660300002); DIR:OUT; SFP:1101; X-MS-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A+4lTfrji2Eu6ICxubKVlGU6ITMT0nTsK/ym+gHHl/ECKDNXvdCxIWZ77cOBz?= =?utf-8?q?GwiivHjkf6lujsSfG4Gonoo6bDNawfVYsMnhmFHPhkNN8pLTp5w+DFfWi2345QGiw?= =?utf-8?q?7uRStj7AsOvxZu1qaLJ?= 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 22:31:57.0784 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-Network-Message-Id: bb184e0d-4744-400e-646d-08d89c923cc7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FFYuXb0+uetOPACdCy3vCtTQ4dbnVqmGAzEFvbxccJe47jSkEFLXIiYG5Z+WYwPQ X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3868 Subject: [Intel-gfx] [PATCH] drm/sched: Add missing structure comment X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & 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: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Add a missing structure comment for the recently added @list member. Cc: Stephen Rothwell Cc: Daniel Vetter Cc: Christian König Fixes: 8935ff00e3b1 ("drm/scheduler: "node" --> "list"") Reported-by: Stephen Rothwell Signed-off-by: Luben Tuikov --- 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