Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp8019335rwn; Wed, 14 Sep 2022 07:51:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR7gqnF+QGe6sYfC+XV5HhOIODPfocvFftnNsNFMSCmcZRKbXsTqgGJgTY+3DaZo7m3EenAS X-Received: by 2002:a05:6a00:bea:b0:53e:d0c0:faed with SMTP id x42-20020a056a000bea00b0053ed0c0faedmr33402628pfu.30.1663167073056; Wed, 14 Sep 2022 07:51:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663167073; cv=pass; d=google.com; s=arc-20160816; b=Sm+D8ldmDy5IA/4KBU69KI3cLJ0e0hZAP6B0HN1MCbUYOgdmG8YpuLMtGIs0VRBjhX k2Jemm4nyVTGgV3OgC1NL0SSJoMUA4qfH9x+u8+hZZTF3DgiqKiVUjuRJzjKNMr9yqf3 Cy6h+AflW9eb9B5JvTL2a3+/H87sMjLCetTEr1kwnH9sM/6GTLHdu5oGT0MmqrxL/U75 aO4fjW7BBbmgtyS9llEX1PKTFK2hdH4WdLZznupHRfnj5yyMglAqRrlbBvFOZbU2xUKL 7LA2hZpRcOoGV0iVZlYiItyy4xfo5z1GnQinNRV1icmUxOXdCnN4k20J/d4ygGTxIB3J /dVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=0LEiJ6Q1vMm+T1oQeEnzfIVPugxFSgeNgr4I0Y63Adk=; b=IRKNpHAPJT6YsrIQxF5Na8SMOlRYHeXyV5LTDJ9gMSEDKmB+FudwWyF7BG1Ey2aszE DDsG79zOMQ21o/CgcG72IXLy18p+byQOP2NFzh1wtnGC1QHkdrK0rpv0i701Gms8xpLI AKYdjLOm1X60z+6tx2Xj9NjINwI/7jjR4YsI7fQTBKQ8GasyY5WvYcp1SjUfFSkl7YsL f34lhp2PKRqgipHP9BbF4RGIGkeUWQuRnvcGc+pU2wBsbAd9FyrBBQaY2mVrT5jt9hSd V+mHWz31HSb5fl1CI+bodPJLm+YZkXYBurBOu5GRX8J0pT9iAPG7bexFNYWjeHTL5HhD MVJA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=qtv+oVFG; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e11-20020a63544b000000b00434c05007d5si15245361pgm.845.2022.09.14.07.50.58; Wed, 14 Sep 2022 07:51:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=qtv+oVFG; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230064AbiINOZx (ORCPT + 99 others); Wed, 14 Sep 2022 10:25:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbiINOZ1 (ORCPT ); Wed, 14 Sep 2022 10:25:27 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2068.outbound.protection.outlook.com [40.107.92.68]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E69611808 for ; Wed, 14 Sep 2022 07:24:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DReekOeYfnPHn9osLEqemZnRtbiyWTCgJu91uFJrDeWIfM6qz3Qohkg2xSORy1KdxyoNO1G8E+Q93xQvjHrzqingJFE34O7dUQcWDQ59u25RowBYMie+cePcS2OV/rIcmESN/Zk9zE1g9xcxGAJuMtlWFiOYtiPHpx5iwfWnXD+0CzJL8Ul+IggsJP2v9Ih9D3SmywuwcY6VMn2EquhpfPhTxe/B4Jzfkull2yj0uZ5vlirsvHrs8oVnkBIGcXEsqUGVZP8871BNzhtxwakxIusak1D4gRY8RS8W4OaAGBKWAP2JQQcX5GE1zwhuniTa0L965bt+daiILt6Mi8MgFA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0LEiJ6Q1vMm+T1oQeEnzfIVPugxFSgeNgr4I0Y63Adk=; b=eezgV4cN5zHEI5Wq94/TP3NJM08Bg+54rTV9bLh/Hyz4SDkMQAFyZySjmojqP81fYNH0CausKjWgSC+W4o+WPqiBcVpE4hW3c2T2ajtxbk7T8X+XL7xtc2SsIHrAAlibPfVtZzX7mXTv6DOhV+u3MHHRWcog7MwHiEGF2oMPNLpUJ2aa5UCkLFXe+LGZofAzHvYTWfsDBI9BywG+4aeO0Fd0DuaIC4pUeky7siT2ZjcCRt0UxC/wjGLCTUGflYJ/zmmX4PovGAAX09li3Htbn9/0BujO97X/YDQcrSHOTkX09slDx+zcwhQ3u2QLM8iLoO5qMWW+p0UNuFUa6e2xdg== 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=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0LEiJ6Q1vMm+T1oQeEnzfIVPugxFSgeNgr4I0Y63Adk=; b=qtv+oVFGjoOJHi/GMRAa/QReXX0KqwDMqvkhHF1/l2wLdE2rRQHT4AdTcykQz4qdxJAUizOo17UpwHlmXnUbfZZOWOJ5nOQIIqCPIYzgyuNbLL2YebRn2jPlYoWYzhcPmAXvYjAfwGSV6rY31G41NKcoyV/rvtBqZAJpt5mYbY8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CY4PR12MB1943.namprd12.prod.outlook.com (2603:10b6:903:11b::7) by SA1PR12MB6919.namprd12.prod.outlook.com (2603:10b6:806:24e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.22; Wed, 14 Sep 2022 14:24:40 +0000 Received: from CY4PR12MB1943.namprd12.prod.outlook.com ([fe80::a527:1309:e629:789e]) by CY4PR12MB1943.namprd12.prod.outlook.com ([fe80::a527:1309:e629:789e%6]) with mapi id 15.20.5612.022; Wed, 14 Sep 2022 14:24:39 +0000 Message-ID: <5372b154-dc25-a917-9908-c59555afc865@amd.com> Date: Wed, 14 Sep 2022 10:24:36 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] A simple doc fix Content-Language: en-US To: Anup K Parikh , skhan@linuxfoundation.org, airlied@linux.ie, daniel@ffwll.ch Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: From: Andrey Grodzovsky In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BL1PR13CA0108.namprd13.prod.outlook.com (2603:10b6:208:2b9::23) To CY4PR12MB1943.namprd12.prod.outlook.com (2603:10b6:903:11b::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PR12MB1943:EE_|SA1PR12MB6919:EE_ X-MS-Office365-Filtering-Correlation-Id: 8246b6cf-06c1-4cde-919e-08da965cdb4e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Tuy0Ze3Ir6Jvia7hmHivsqrjb5cywmZhkJTdQLMx250Nr6H4Tqm9ROZp4FECp6AsKnM80tsB7zjNih10MT+AUmYGp1keW0EAI1CEfG0sQVn6lmGSjiyj1QiTmFrKYPJufejGXkUqWHpxH338/hKoJmrw12PNF6MmD00DwKls6sAV0Vna/gSJs/XdciFeQIqazlnNtS0U+8VjJ33uAu2SV5TuK32OGaOJ5EUdibPv8AyXwQS6PicpSIvs6BhKTDqkP8Qh4f35RQ9YbCzVTNIKf0X11Pte3F7ANopq+jm9MAFzZ1K9vzmgrKRUbD2vEf79fYv23uTyA2UZAEhSbFPOdPCmj2Tgjceitdzc34b4tq0qLucMtGRSMGCVA324JP39KnmJ/YhhWnjIsUhxPNpkcUeg9lK7b3mvpa2ipq2cP3yk3ScTUqlbetWXLaWzTU9Zpxx/g9JOCoZxgsBAc5ogR9zXZpKybCrP3vDQj2ohQn0Pyy9jK1Vvszg1dREk3BNaiRE8FVkYHca7KUh8H3zdrGlIX7nehc9QKtUxrEJPk8575c8jxiRwDAozb5yZZnyMiNeQ7d3bW5MBAelG9ByFwKNJu4EZxDrftBGPqIum18EbKMQHYIsQgx8MZXVgIgRjKPwG1AQmjGC3QDJ4dcS29NaZJPqiDeKyZfHkn5ojhMiFsbapo6bAr3AOsTlAfwYytjRyydMRnyo/Ao0DoBOpIzjUpmsPL877PPsv+lyWhMrVuubpcOqEb6+nhR5maUEK8qrfQZChK68xQplkhijTA3RVo3HzjKWOlKUhb9lP72I= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR12MB1943.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(136003)(396003)(346002)(376002)(39860400002)(451199015)(66946007)(83380400001)(4326008)(44832011)(38100700002)(2906002)(8936002)(186003)(6512007)(31696002)(6666004)(478600001)(41300700001)(53546011)(5660300002)(31686004)(8676002)(66476007)(6506007)(2616005)(66556008)(6486002)(36756003)(86362001)(316002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?R0pDOTVlS2MxVHpiWHVKMjhyMmlSb2dNVThTQldyU3pOdnJvbUp1UzVESm5j?= =?utf-8?B?Y09tbjVla0gvbXBnbGM5aVFUQ21DaGJVeXp5NjU1L0xuK1BzQTZ5WVM4aEdP?= =?utf-8?B?UjN3YjlIK3IwbE0yK1crYTBDVzhZWlRFYlFwc0JVV2NZNFJOOWU3TFpWUWcz?= =?utf-8?B?Q0ZleVUvemlHYTBqZUl5YTdOTjBzQkZTQ3J2Z2Jsb0JlaWVJZmxza2RYamFh?= =?utf-8?B?Q1JpN2RCMVcyaUFtb2F4NDBwUmY3U21UTkdCc2lWa1kzdVM2U1VrY1lYZFFN?= =?utf-8?B?ZHRVajZZa0hLS05VRkFFc0VMRHZxNGNzZTBmbmNNRmdERGdEb3Q1cHB0TnAz?= =?utf-8?B?bjFHZThpUVJuTlFSNGdUU3lUZkx5TzErSmk5eHlrdTF3aitlSGpkU2JjUng5?= =?utf-8?B?djNwcjgxa3lvcWJZN29NL1hDVzgrMVIySWpxSVdTT3FNVysvcnF0M3Y1QVo5?= =?utf-8?B?RFpaQnVWdVZoSjR2VUF1dkd5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06c1-4cde-919e-08da965cdb4e X-MS-Exchange-CrossTenant-AuthSource: CY4PR12MB1943.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2022 14:24:39.5768 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: S5R8MfDIvqeDy5zo00GD1YvNYvojQInzmNPJSGRJaZAEC6A654CM1ClYmKaE89AFcC39hJaXJ3tGbXpC5kdMLQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB6919 X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-09-14 06:36, Anup K Parikh wrote: > Fix two warnings during doc build which also results in corresponding > additions in generated docs > > Warnings Fixed: > 1. include/drm/gpu_scheduler.h:462: warning: Function parameter or member > 'dev' not described in 'drm_gpu_scheduler' > 2. drivers/gpu/drm/scheduler/sched_main.c:1005: warning: Function > parameter or member 'dev' not described in 'drm_sched_init' > > Signed-off-by: Anup K Parikh > --- > drivers/gpu/drm/scheduler/sched_main.c | 1 + > include/drm/gpu_scheduler.h | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main.c > index 68317d3a7a27..875d00213849 100644 > --- a/drivers/gpu/drm/scheduler/sched_main.c > +++ b/drivers/gpu/drm/scheduler/sched_main.c > @@ -994,6 +994,7 @@ static int drm_sched_main(void *param) > * used > * @score: optional score atomic shared with other schedulers > * @name: name used for debugging > + * @dev: A device pointer for use in error reporting in a multiple GPU scenario. Why multiple GPUs scenario ? It's also used in single GPU scenario. Andrey > * > * Return 0 on success, otherwise error code. > */ > diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.h > index addb135eeea6..920b91fd1719 100644 > --- a/include/drm/gpu_scheduler.h > +++ b/include/drm/gpu_scheduler.h > @@ -435,6 +435,7 @@ struct drm_sched_backend_ops { > * @_score: score used when the driver doesn't provide one > * @ready: marks if the underlying HW is ready to work > * @free_guilty: A hit to time out handler to free the guilty job. > + * @dev: A device pointer for use in error reporting in a multiple GPU scenario. > * > * One scheduler is implemented for each hardware ring. > */