Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3654386pxj; Tue, 15 Jun 2021 05:55:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrtnP6xw/PYqRtDV9GiJhEBQrgzsqpez1hRLZwiWNZJY2euBSW8eQUK8/Dj4/9CA5wA31p X-Received: by 2002:a02:8807:: with SMTP id r7mr21979987jai.12.1623761753364; Tue, 15 Jun 2021 05:55:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1623761753; cv=pass; d=google.com; s=arc-20160816; b=DleutQlSGJcTH2z1mErm77mMucqD56Ls8k4Qsy25p6GhFweJSB38AeKyRmroYCVonq 0Wp0hJWyWYPvOCOtj04vf16LFL/3Y6NXxasE22pDX2HlO6bizhF+ABSdrLjuktOtmPIR LEfOfhktBv1YbfE0zJ58CWT61N+AGl1OS/WMYlrWn0Vr3QcI37CLVVSJQ34PO+82rFpj 8WbRTx1T0385ZZrAmNAuDNEp1SNuOygNmV4HOQEd9lMc4iSVf+wera2qpSVRl2z5p0bK P/QZnhMIg8n04t3zwTS8itup2Nvgn6FzopcUE6kAmQFfXSXo+B4CUPcvVKPRrQR/Ors2 yzBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=IOQRWLIdz//4ZgiCeRnXT8c3Yu7I7HQORgc9Fb5eSCs=; b=ljL0NEKJHWWU0oyel55xNf/gd2jGfJmtueCj9Zu5gIxmh37fhpxPPE9mHH5ZZjmax/ VDrfaw78m0oRtE7Pk5BsFseHH37WvJt7ST6U4eepXrISmxZt9xCHLpwuu8XyqA75aOkM Srrmr3JnHzhQPnthE/oQGMPgyLMRlm0GXeDioOW2+Sssqq+yJrBi/XWqfu9OIGiAceGM Nph0IZWxOvWuwh8EoEP+g6+zGyMsIpz85g9u5OIThVQpEqqSUtk6hM44c68qCSXpab8l EkWCGT2i/Ci4BxoPjOgj5ceieu9lxU7sK7piZX64glYWhHO/mg3TBazOHKFC+TvFjTIB 6JPA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=10cDRmbZ; 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 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f1si13553195ilu.49.2021.06.15.05.55.41; Tue, 15 Jun 2021 05:55:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=10cDRmbZ; 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 23.128.96.18 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 S230334AbhFOM4P (ORCPT + 99 others); Tue, 15 Jun 2021 08:56:15 -0400 Received: from mail-mw2nam12on2048.outbound.protection.outlook.com ([40.107.244.48]:44813 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230218AbhFOM4O (ORCPT ); Tue, 15 Jun 2021 08:56:14 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bBDP0A1BbhpDIHs0gIKR6cE3IRgxWMahi3k8KPqqfim7A5pqvjX7f3DZpetX6HjqfhUAa5WDHICEKynzKH7OP4ic/ftD6CYVYqtbEVIS5KBJAmQB27IE2nr/dfL0w0GTocKBDmS6dHAy7Njwg95omEmLd+rpx03j64Ek4tQry3qQCLw7Imgje9UlRuhGW8zDO6niDmxu6ikN+K5hAu/vOddr31vjADFJfXg8c0GpJWZFRmYGTnNziIxRev9N+8LDLxWGgDuavknoWbryx4COfZu97oNRuQu0mUXrDWupKWUOt2Lbg3r6okjhWofLYeM87oimdXpFxx3Rx/hUSiW/aQ== 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=IOQRWLIdz//4ZgiCeRnXT8c3Yu7I7HQORgc9Fb5eSCs=; b=ZwXjS8NQdMttyoJjv/hu7xbz445uDL4PDE9pLKJBPCwmI7quo9678/2gNRwAI1WrW+AMHq+3WeHe7EhWUDlYv9EeIToH4cNCcJmQlrG9Ss5Mbh1RPw+F0MCMchUZOsw/TP8LfhtP2uuZzpcbXwQtR+kBsYxHtm9LHr5+G8G0+wxIgbL+WhPoLx/ftoDsf1lwbRppwcwXiaTZ4wHIpeifP4o9ssAe9RCNaL12gnov7huor73nIX5XjghLkCsnFMqzGYQbhSGwl109xfIHrhJ8Pl/y4bBRmBHgxW6Lz4gJjZERMHs6SaMZ54ZVflYmTjq7HxqRAOcDXqrM9Vg3Xf8s/A== 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=IOQRWLIdz//4ZgiCeRnXT8c3Yu7I7HQORgc9Fb5eSCs=; b=10cDRmbZCE9mauHbC878etG4Ov8Io7t5p3Wg+5p5dpc6DaO7tGV2sSZmqE00cCUTZiZnaGtG3BFYe7vl6+8BibGRiVXlDVaKb7PECkXZew29uJ1N7TxY+xD5L0QpfW1wtY/oCluQC7F9r2GlC63Z4A5Ly6jbz0AwNKyb2NATywI= Authentication-Results: vivo.com; dkim=none (message not signed) header.d=none;vivo.com; dmarc=none action=none header.from=amd.com; Received: from DM6PR12MB2601.namprd12.prod.outlook.com (2603:10b6:5:45::27) by DM6PR12MB4338.namprd12.prod.outlook.com (2603:10b6:5:2a2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16; Tue, 15 Jun 2021 12:54:06 +0000 Received: from DM6PR12MB2601.namprd12.prod.outlook.com ([fe80::5531:f7ab:4bd2:2925]) by DM6PR12MB2601.namprd12.prod.outlook.com ([fe80::5531:f7ab:4bd2:2925%3]) with mapi id 15.20.4195.030; Tue, 15 Jun 2021 12:54:06 +0000 Date: Tue, 15 Jun 2021 08:54:02 -0400 From: Rodrigo Siqueira To: Wan Jiabing Cc: Harry Wentland , Leo Li , Alex Deucher , Christian =?utf-8?B?S8O2bmln?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , Zhan Liu , Nikola Cornij , Dmytro Laktyushkin , Yongqiang Sun , Roman Li , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm: display: Fix duplicate field initialization in dcn31 Message-ID: <20210615125402.nhvl2g7q2da4sb3r@outlook.office365.com> References: <20210615114410.7708-1-wanjiabing@vivo.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="d63avojbpbqa34ex" Content-Disposition: inline In-Reply-To: <20210615114410.7708-1-wanjiabing@vivo.com> X-Originating-IP: [2607:fea8:56e0:6d60:f0be:9db7:9ca7:cd1b] X-ClientProxiedBy: BN9PR03CA0316.namprd03.prod.outlook.com (2603:10b6:408:112::21) To DM6PR12MB2601.namprd12.prod.outlook.com (2603:10b6:5:45::27) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from outlook.office365.com (2607:fea8:56e0:6d60:f0be:9db7:9ca7:cd1b) by BN9PR03CA0316.namprd03.prod.outlook.com (2603:10b6:408:112::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.20 via Frontend Transport; Tue, 15 Jun 2021 12:54:04 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9b29afb4-7763-49e2-e2f2-08d92ffca8fc X-MS-TrafficTypeDiagnostic: DM6PR12MB4338: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1060; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: E1puZ49+8TA24GEljBOvXo4JBW4/PlQB3S0WzVn8m4IlMqd6t4Eyx7tixjD+RUKb8MesS1uR+l5b4KcQSXdoQAz6fUZQLHUIxTTJ1rY5BjB0ImtStPYW5qeE5fy9mk2WeCfZRwAPA3CvibFlxrDPKp8yExrqApV4AJP1hIm1sa8+tUkaUhW6MJ0kOvfSXJIFaV1xPBnfMOGAc2157QIbdZe/xQDF8JLFnnYN+FMGOiTye81y1MAlIUvPNPwSGqAVegEiku6E5tKLYvMOTSao3RGuHaTlytCTm6aXV/1yyp9rZMsI/xLqpttQ9SKGXQzlWWSH+mMICvU8j+SvVXalsecJQ5wfYuope32fzJmt+tPdn2ciXrSh2flpolT26CNXQUOAotlRyKYgXImoO0nfPFtlXr5Nzz/JgMOi83uvcrdZ5nnE3cxhGBsnBvU/Eat5wM24h5LaCoSxaPzCjxiWJjmjKZ6Eoqi+7EcSpq/4e561YI0iVUJCQD46dJcPlzPkAlc4bUV8rFK8mFBKfKk/CntumT/q3YUemSN3K7xc400BIKxF8U3/nqFHiqbvA4jBVvPmgb4lNPePfGvAnKYMCGOyAfcBHwFMX6MhdFlR3a9l4tEWSqnRw/iGKFfi+Tnqz40X7iQc3pMHk/kCigZT5MttkY9IKTF+QNAwhjQVFn8hkVfKZ97blk6i2j1tj6+k87pWALMp3Qc52q1SwQU87frEtznmxtpM5FTvMc5bZVlat2pHa4EWFa6T4E9t+66m+Jyg7FdEJCrjzZ+evxOevg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR12MB2601.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(346002)(366004)(396003)(136003)(376002)(2906002)(21480400003)(16526019)(186003)(4326008)(316002)(44144004)(8676002)(8936002)(54906003)(6916009)(86362001)(66946007)(66476007)(478600001)(5660300002)(9686003)(52116002)(66556008)(83380400001)(55016002)(7696005)(966005)(1076003)(38100700002)(6506007)(2700100001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?zInnrRh3/H4lyM8+mMqPJ+l2ZHLYdtdu0v00wf48zXIxmr3hYeH8tVQsnfNv?= =?us-ascii?Q?D8ma6SpLsNIOpz+fmlIQCGFh0zHBygb2GCaWSXJpJ9Dads/31PtU/LV1nB0u?= =?us-ascii?Q?/zfTAPTI9rMs71DUvWbwnb4xKwMwlg09d4hXzEkLXB3PT+QVMWdMojjnErpE?= =?us-ascii?Q?uNou/VJA4tR3vJ0KL7xqTB9ac+MXhK+e+8ZuQVwJAjm0C4oPF+obN0J/n1/e?= =?us-ascii?Q?UyE1zYsh0EAAAirc7WOHcjIJG1H2fR8FqPTziCbuzy4HsXgXTpEvPoWiGWV/?= =?us-ascii?Q?Luh7hUHi4KMRVS+xqPXTt7PkS/OqIyTbzGukzuumdgM7i+h+7V+9AGx1Ujl/?= =?us-ascii?Q?heSukuDOq3bS9O82cd9NOJZaBXzhHYxyxX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5Y2sWI7xAUhjcyyz9SBerQqEhim7OvpOWTZI9HHjrSkHHc1WkDiDf?= =?us-ascii?Q?D+p+HpUiO05AtHev90ALmUZ9IWc47dfqgqL03JmoCV9dwk/5nqumvTcSFL59?= =?us-ascii?Q?aLf04voz27WQdhz3YQoe6wUmNduh?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9b29afb4-7763-49e2-e2f2-08d92ffca8fc X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB2601.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2021 12:54:06.6653 (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: WIsKYm4QsQz+0eriPhlTGicd9u5rA6aVojKSxumzCNvjrurAIElLUHX+NShX6x2i5dy+NkSamBODxDq0Rizq+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4338 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --d63avojbpbqa34ex Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 06/15, Wan Jiabing wrote: > Fix the following coccicheck warning: > drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c:917:56-57: > pstate_enabled: first occurrence line 935, second occurrence line 937 >=20 > Signed-off-by: Wan Jiabing > --- > drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 1 - > 1 file changed, 1 deletion(-) >=20 > diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c b/driv= ers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c > index 0d6cb6caad81..c67bc9544f5d 100644 > --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c > +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c > @@ -934,7 +934,6 @@ static const struct dc_debug_options debug_defaults_d= rv =3D { > .dmub_command_table =3D true, > .pstate_enabled =3D true, > .use_max_lb =3D true, > - .pstate_enabled =3D true, > .enable_mem_low_power =3D { > .bits =3D { > .vga =3D false, > --=20 > 2.20.1 >=20 Reviewed-by: Rodrigo Siqueira Thanks --=20 Rodrigo Siqueira https://siqueira.tech --d63avojbpbqa34ex Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE4tZ+ii1mjMCMQbfkWJzP/comvP8FAmDIouUACgkQWJzP/com vP/szBAAq8gms06heoxs6sZwMLPcw9UA/VPNrtwOEWaW/3iIwgp3Ur0PzoJtuqW1 wIy5bYq4dUDJhgFyY6N9wrpKpLyfjvO9WRylx3rIy+RA07eypdHp26NyDJuerc1r MlM9/sgYmRQzffGAjKKnP/Klp64vdci3wpvfJG3B2GljwGNebOE4uJRhZwg07C/r QBsApf2ftjz1IKG+jYYNINK7BvhaywTTL03ty0O9KZ0Kh4cPjJ4czNJxm3sZM3Hp 5H7WP8OcQzlxXmIYdy2CRotbLZ3k42UI20TJUOvufDqPaYHQ4UhEinCM3Hz38cOB nW3mU3Zn/pjBpo0j5Mp3WRnMYg+ZCi6FC4AJAckG6rFrwdTpbrhCg+QAMER+z9MZ XdmfniqRR0HiBOLyrTONxE7uNMNio+YpWH79HvZjos4lrUkLLjoQJ88xtPBI5Hum AZj/cEu7QN7tsgCnmi17dr4PrWwju3/mK5Z/6K+tqf2Vcthlz9GHaTVzzEVBmo9E xtvcWM7xrMVJUCZNAotq+sbB/Wm2BzLDCBrbu6FnWaSs7SV0PdB5XFf69ikBVUEW tyjna5sDGMjnIkYjz3yx3xmkqVyv1CIx8GB96C/s7wwZEz9ztcJh9iZcOmKJ1bAK GicbOpDYy0SaaqRpw87ew+I5WWuDGA5ckgT4LFPkRKeDveSwWNA= =HhcS -----END PGP SIGNATURE----- --d63avojbpbqa34ex--