Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62DDEC433F5 for ; Mon, 15 Nov 2021 12:02:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 44CF7615E6 for ; Mon, 15 Nov 2021 12:02:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229613AbhKOMFP (ORCPT ); Mon, 15 Nov 2021 07:05:15 -0500 Received: from mail-sgaapc01on2126.outbound.protection.outlook.com ([40.107.215.126]:11744 "EHLO APC01-SG2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230411AbhKOMEv (ORCPT ); Mon, 15 Nov 2021 07:04:51 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y+58ZYyQutDBHJ8YMtDzsRXPp6zHiTHzHa+m6NY+gYkO9edIzY/eE5AjKIDHWqV4uO4XOpp3Q1oaCluT3BmA5cV1iWPvbVu3lvWF0MzJUr8D2Dd0e+Tbdx6esL+EeNiwRZlKFDc70ZaxWnN6DmuqBn5tobNOHchk6tkmC4oOhhTmTk+Yh5AEznIve+gPLKAUyf6bZZaEGey6piai5BicGmHC0UouewMDPXzm+pPwKdwQnUWW7O232Z1PMllz0QU3YX7u5G2wV/sAJtCFLzXt/U5xW4eEAIALdYiuQCc/BD6oZQOsweKAcgqRPA+abwXMTaCikNOOo8nW+IY2DrD5eg== 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=O/Z5dBooEqfDWZtu8UAcwraURiebcGK5sT9/nvdXKg4=; b=E4bWyWRNaX4rOixZSCMN8V6WaIYKyI2hqzsQHnWcsxea4CtD4BQdyD+3CP3iVQA+wDO1QJbkM2b3E3bb3Db2Z52m/7MLCIhfx3qG1Wq91vprh/cpCD3/q9BawN+dz9NSDKLSQuU4vdjnjnHX8H1JTQSysZaC0K/E1CtX8hqFNB7lgBdxO/LQ9T+4oZFhitobdklfVsShG5SkaW0fngSSUYPTQ1Xj75FjHD0DPPPm/2riC0dRr/D9o5bJ7wZL84tK57l7cccqFXJjxYt2/rSkQiXVMJOJ7xM+aLzr8wqTAEEX4KroScqDoyDvVSYeg/9Z4WYAj8L4Zm4oS1wZFfzisA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo0.onmicrosoft.com; s=selector2-vivo0-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O/Z5dBooEqfDWZtu8UAcwraURiebcGK5sT9/nvdXKg4=; b=YrjyPBK2/RtqRjCKxJJfAk6gvEPuYLb22CM46qO334IVugmWAwDuy0vwxCAEi0RrZRS2ENTqlu6H04PDSRLnF8wmrCtSH7NoCdXVFFx7LNWjOND5skQE4qay8acdnSRM3PgSBjqvGns3bhHSh0wJMzsp1bCIuon+CzHn78g/6/k= Received: from PSAPR06MB4021.apcprd06.prod.outlook.com (2603:1096:301:37::11) by PS2PR06MB2437.apcprd06.prod.outlook.com (2603:1096:300:4b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.26; Mon, 15 Nov 2021 12:01:48 +0000 Received: from PSAPR06MB4021.apcprd06.prod.outlook.com ([fe80::395a:f2d7:d67f:b385]) by PSAPR06MB4021.apcprd06.prod.outlook.com ([fe80::395a:f2d7:d67f:b385%5]) with mapi id 15.20.4690.027; Mon, 15 Nov 2021 12:01:48 +0000 From: =?utf-8?B?6LW15Yab5aWO?= To: =?utf-8?B?Q2hyaXN0aWFuIEvDtm5pZw==?= , Alex Deucher , =?utf-8?B?Q2hyaXN0aWFuIEvDtm5pZw==?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , Jingwen Chen , Candice Li , John Clements , Monk liu , Peng Ju Zhou , Jiawei Gu , Bokun Zhang , Zhigang Luo , Lee Jones , "amd-gfx@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: =?utf-8?B?562U5aSNOiBbUEFUQ0hdIGRybS9hbWQvYW1kZ3B1OiBjbGVhbnVwIHRoZSBj?= =?utf-8?Q?ode_style_a_bit?= Thread-Topic: [PATCH] drm/amd/amdgpu: cleanup the code style a bit Thread-Index: AQHX2e9xsoW/EHEIm0+zoT+4iNCeKawEebIAgAAConA= Date: Mon, 15 Nov 2021 12:01:48 +0000 Message-ID: References: <20211115070714.7007-1-bernard@vivo.com> In-Reply-To: Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e766d98e-8ff5-4705-c5c9-08d9a82fb3f7 x-ms-traffictypediagnostic: PS2PR06MB2437: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MH2v1hEgdAyawTs9yFPbDPxynwsjQdZO/XOJwSEvqdbdbARVJDURXVz1InsJIZOBsSbjZ9rnsKoizSga1yZlmYXy356+A1+7ep/bSO4h/KfTsi0NzBPq/4ZsXY0nE5IrEk1R+M3F8UCMe3H4gfo44Sorqlzzu85pwromwUcoB8QQE/hN20Kij71VN6dRD3i7eDZBwAM45FS3iSiIsCYMK9nzeLRcaF0Wejhh7IUe7WPEV0YVjb6h6VOgubsij55g/Zu8//tuKMTWsTtLC1Fa1NWRNEatOdDJJ/YxlRN53HLz6ffXx7phlQbUt7HaIyCiT9V8MX20Hd0Zv5PBFREy0UZttgnBWDUlE6VcCLsoE/L0CjfvKSd1RnlN6Jmlw1EiIeqgOSDuN/P2BuozmfDsodSQoHIJ8M852fzWtwBdUIjk/Zw0F7T4iPX9kvWHwcCX+3M00hiQ2HuFCp3rB1W8z3mZNmFpVeEiWDJ8MjcRuY8o74LnNOLPAZ0dC/lYQkgqLIETLqwl6QiLOqqIQYyH/BOPMhe/NIVRFAewOdJGG9/jkZMg0lyPfGd/fc1F4Y/Q02vWoaD10IFVyKsCaol/eHgkz94nAX1ZE3P9hDCig3MTd38+thZae/t3Hc8pxBR8QInQJcPX/2uGTH9nctGKDLaWw/w+9yQAcmsebXihLRTk+L6ncfA5IW5VC+RMui0t4BjeSy3hWmik0kwobnVdeA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PSAPR06MB4021.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(86362001)(7696005)(52536014)(7416002)(76116006)(186003)(122000001)(5660300002)(921005)(71200400001)(316002)(33656002)(66556008)(9686003)(85182001)(66476007)(66446008)(55016002)(66946007)(64756008)(2906002)(508600001)(26005)(6506007)(224303003)(110136005)(38070700005)(38100700002)(66574015)(83380400001)(8936002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bWVyUUlDMk00UE1sSGN0bkYxaFo5OUxzaS95M0xHMUd4b3B3MkI5aHFLTFFQ?= =?utf-8?B?UURPWlQ5YW5uWlBJZURHMGFTNkFlQ1h1VlRqRkZTSUpVOUQwMGxydlpj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?B?NHpsOTNCMHhSd2w4dnZGWDhvZVYwVUVSL2hISFp4dWYyYnpPZUpvaGwzMHBo?= =?utf-8?B?azhsTmpJVFBVV0NRQU9GVHJkdGF5QjF1UklubUFWbEx5NW5jZXdPQmJheXlS?= =?utf-8?B?ZmNqVy8rMzI4MWo1ZldIYlhnZW84L21sek81ZE14TFdrYXVLbjl5Ni9SK0oz?= =?utf-8?B?ZmhiVEpMWGRvR29KTFRZaFF0S2sreXdlNXROTzh3YWNEcjhlQnFFdkRNUUpC?= =?utf-8?B?QWFCV3lyL29GaXdEUEtWdUpNejBTbURHanEzMjhtZW1YclIycVB6ZjJCOWU2?= =?utf-8?B?VWc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PSAPR06MB4021.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e766d98e-8ff5-4705-c5c9-08d9a82fb3f7 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Nov 2021 12:01:48.4550 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZInTfP3XCaAsUumILC0AObx0lnDfR9YUE4LSmJbRro8jRQi5syCbpXHrOpRnH0io8CyWs4G6sLQzYuCjkv7g2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS2PR06MB2437 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQotLS0tLemCruS7tuWOn+S7ti0tLS0tDQrlj5Hku7bkuro6IGJlcm5hcmRAdml2by5jb20gPGJl cm5hcmRAdml2by5jb20+IOS7o+ihqCBDaHJpc3RpYW4gSz9uaWcNCuWPkemAgeaXtumXtDogMjAy MeW5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