Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5637261iob; Mon, 9 May 2022 23:24:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8P66LI533F7N5A+gxeBKvrLKO3ms+8n4m7UiNr8jPgTkP2+KhUXaXuIo5nixSsX6k/pK/ X-Received: by 2002:a17:902:e74d:b0:15e:94f7:611e with SMTP id p13-20020a170902e74d00b0015e94f7611emr19526224plf.37.1652163894204; Mon, 09 May 2022 23:24:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652163894; cv=pass; d=google.com; s=arc-20160816; b=VNDsEqZRR7bpUCNRcw44EYuHv+pzebjvtoL5xS7QYcqwfAS4G5ppQDIVJjwYRLxgpY e4A+eUijrekZyk4R0VK37W0sVwNR7c0vKt842PT2B1f2hUo/3uAmEwRtbZN6+S+H2tYb NSQiimjMP+hYU2ogPNAmPkqeD/I2PCpExRewlcvdOfONgsoYPgeE/v29ZWlshJSpHrfP /O1VQj7iFLpPthQ9BFngeqyNjfFgHE1TKhTV2kZCszB2LZbEO9YPLc+Tu+RP/i41EYT+ y11gRug4GPDlypFuAy3wTGKqa52Dnu/k2lG147OI5FEnLEga8aeaqSlvBPsBY9bARIh6 IVjQ== 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 :message-id:date:subject:to:from:dkim-signature; bh=yoHxogDxYDxX+S/2+YUINxLLcj07DwfUBIqUUdKXpjQ=; b=nwDAENDUJg6DgquPfXg8JMt2hfWaynirqALIW99R4oxMfGxy+ttPHFZXFuHQw6JTdB GvIpJxwBfiH/vXW5h6o05qUA2n3aEjSjtIA+FFWMDOnNZ6Tx6yty+Hr251E96ltxykXH a8zNCbMU3iYw7xCkPB/sW1Um+LAiqfzloD9BqCxuQVoLL9QwA8zpuglzyxOF6Trg1qyY cW3SXSKuZAXnRXpxMG3ec6vdbBIzHP2iNv41DmnXDYipyMIUBuxVSK36nmQTU9YSqWe7 iEq9Ei2QTR49qjec+hW7dAOQO0hd0I5aOcU3gCS5tkvlVavpdlNquRK5TY6KLGWLOnPk Mpbw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo0.onmicrosoft.com header.s=selector2-vivo0-onmicrosoft-com header.b=lyjRlzXK; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020a65494b000000b003aa32965dcesi21598972pgs.721.2022.05.09.23.24.39; Mon, 09 May 2022 23:24:54 -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=@vivo0.onmicrosoft.com header.s=selector2-vivo0-onmicrosoft-com header.b=lyjRlzXK; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234943AbiEJCyt (ORCPT + 99 others); Mon, 9 May 2022 22:54:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233283AbiEJCyr (ORCPT ); Mon, 9 May 2022 22:54:47 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2123.outbound.protection.outlook.com [40.107.117.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8B233ED00 for ; Mon, 9 May 2022 19:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Iza5JQ3O/YkGwbWnIkNJfffea1DLNQXDHmKZUjQEkh4VrwhOohyTBLYYtaaG06cItWliHb+NXZsvgeLdSPFxmvogqLEKldC0E0uI9sEbvZ1Zv0lLpJg+jCV+kiPSf5+qiiYwIbBJLKtDcFu3qv1qyr2iGw6T1nW8WMUi7XcI8HQHP6IjSrDItqJccHj2r2CEpRpCBQ+MaO1q21cat46GQ3XV3deTr3Re9xJKiwCvmR/VYNa2eDa/PKrwFN2DqcackWJroahrHnD0V2uSsSkda2yTlFhFjhQIezC6+hnwuAs7Dn4XkEFkWFmUPLWlQTu9V7NtRqiy5rjwUyE2/KXe1A== 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=yoHxogDxYDxX+S/2+YUINxLLcj07DwfUBIqUUdKXpjQ=; b=eTVQ62px5I62dSXlINyuoza8KcdocveFNnkEh82NhkrcaxkRrpx447b9ZHuKcGhuIp/+tjl/lwu2xjfg1InMD7LzX93lT4jVJoZRPkOCNgs+yuYSgH/bp5Q1zyWcFaf/dalRkzZlUECE/n+54P1gID3kFkRycj75HHPUBMKeAyIHFQdxPLeEzplwSKahC2fJ9gQLYwR0FRJek2eIZeHOaPgBRl7CxIi/oY1ZzMO2UWKCWK2zRkfmQK6+R8GpOPXzsW3zf8x0uDck3vCLFgPurEo/DnK1DplnlNbwPZNEnPJSzOi6wP+/Blg8SFteNGwWUUAtQkLcrXJfTvHGGF8AWw== 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=yoHxogDxYDxX+S/2+YUINxLLcj07DwfUBIqUUdKXpjQ=; b=lyjRlzXKX76Mnp2BRiUVl+mwfBFJ5hhuQ42efYE8rWzSS1OVhwvYzK/F9nEKaIZE3aicJIIQLQ9TFSqHvFFPDoDtwnkrnrKO122OP/wCtvvMxR8uyX6Bj9SzM7ODSAEunLWFuV1wmmgdiLF+BsejYVGUEdnRx0UeZCV7Ntgaml8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SG2PR06MB3367.apcprd06.prod.outlook.com (2603:1096:4:78::19) by SG2PR06MB5382.apcprd06.prod.outlook.com (2603:1096:4:1d5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.21; Tue, 10 May 2022 02:50:41 +0000 Received: from SG2PR06MB3367.apcprd06.prod.outlook.com ([fe80::4591:4f3e:f951:6c8c]) by SG2PR06MB3367.apcprd06.prod.outlook.com ([fe80::4591:4f3e:f951:6c8c%7]) with mapi id 15.20.5227.022; Tue, 10 May 2022 02:50:41 +0000 From: Wan Jiabing To: Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , James Zhu , Wan Jiabing , Leo Liu , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/amdgpu: Remove duplicated argument in vcn_v4_0 Date: Tue, 10 May 2022 10:49:58 +0800 Message-Id: <20220510025004.2561532-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.36.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: HK2PR0302CA0014.apcprd03.prod.outlook.com (2603:1096:202::24) To SG2PR06MB3367.apcprd06.prod.outlook.com (2603:1096:4:78::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f19191a2-2404-4e2b-d953-08da322fde84 X-MS-TrafficTypeDiagnostic: SG2PR06MB5382:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JU/iN1b16pKnc1pCkiARy1MNPQs9+CIief7nlIW9Jq3JwzmgRQ+wcU504ZyAmRgLPyGFAMjYVbSrAOsTtr8L29Sw73X7a9mII63Em6FLVqs8NwDWpeu+3gdQzsqzovKHu4SkfASs9csf5DSyz9akJRfCVyh949DW2fhIFTXwQthUg1yx/CIV8qYyalH68I4NYcgBM3Bse9sd5aLRZ9RMBFyETVJ1bOu8lorlTPt1dluQLrCos3lvqvgy8mAHi3Q42RKwH7SD9KW+ufd16LVvS7oj0AMt3EucXAU1PjzY9y6xGO5IIS/xmQ6aC3ceNqpTI4irbkaBdcvEGDmNRUoitOv1dfQcpFwc73awdjbrzs7nbQE7F5PmKxzMokmFqmmId5d87BrEeLvpO23TUtwjrqeA/Q3SNKpameQrWztRmqoCE8fFzSTzazVH/IRKT5UsBMr47BBZuGIp/tLcLoDgVIggrBPjSZuSmMc6IbpkDgyuK25Xy7eoG69kB+8U3VJzJT6GoOuKWbNo4gQOv9l6yRlA4oVeuq0Gr/S1n0zdyNHmFoZfxfJoSjbuboLBhCqx4t3ybITjSaYKOZEzArZraFCBU/70+UvDAQZW3LbMmwyiLEBJVjiYtC15rCC6qBowWFXpRCyx63W1+wTkx8Twv22DIqTtjMysFVmZN3Zkn8/LVja2bQHbcTIwL73b1+eqPwQxQkWMSUqgE2dstckqu3m3YR9Qb3QW/6TrEf+iuDs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SG2PR06MB3367.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(186003)(8676002)(66946007)(2616005)(66556008)(66476007)(83380400001)(508600001)(1076003)(86362001)(8936002)(6666004)(26005)(6512007)(6486002)(6506007)(316002)(110136005)(52116002)(921005)(7416002)(36756003)(4744005)(2906002)(5660300002)(38100700002)(38350700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?E0MLYQMyH9KlOK4KbjTuO9KMcuwropvm3pKW71r2XSqKWIWiHw9eUr2GUgVU?= =?us-ascii?Q?/cs2F4Xgc7G7/nNuzLZTbB2kKvxK3YVCMmy2K0PDgCx4TM60dLGVktHNnAXn?= =?us-ascii?Q?PDRLV7WEk2dBQh/klf7SaOmNBV4cejgsGZea7Xn2ek5fFjkeOmgNkTV60TVF?= =?us-ascii?Q?F8PciT2dffXV/0pPsN2hv2E9XNPe+dpJWhISMMadb2lLlL+ob/LHRMPim1By?= =?us-ascii?Q?01s1qw2dplaOZ7UnP/3fPlFgaS4QK7JbHZJ08TCwAwObnsKDemroBdVU/LP0?= =?us-ascii?Q?lXZUqEwTVsWrKK+qnTO2Fc2286aV7msZGpmvx0Fykxg4XVHz0jvPuSkorPX2?= =?us-ascii?Q?9FRV1FOPo8rW7jmCBQFGLoV5XaPXiqlOxyIN1fUuvGHdAhSTXCnLf6Ar0Vy6?= =?us-ascii?Q?OgyTLfLNc3s2xM7BrWJu9/8nx3ce2xtP2F6GsDLZ2R247p14Ty0UUMqMha3f?= =?us-ascii?Q?gGi2oPscfW7jCEKg2IstXP9kMNkLCKOEY+4oEYza6jmmGe6VVvc/1Zm01wJ4?= =?us-ascii?Q?dksImG1shMf/QFW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qhA?= =?us-ascii?Q?NAFhEGNiBEX8LldBetokbXzo9rdVRVyAG7leTMgn40DelOZxfTXGIFTNmjgM?= =?us-ascii?Q?afIh7mohbYOsQtwMMdVn8kkCdpOfCnmPzsJgZn6R4Tt9OlcBo24KPZVCO8E3?= =?us-ascii?Q?Jlcrx9x14JGd/E2rkeIMf6eSLpARHx6GFi+zWjLG3YCEiMHb/EMWxE/sbMY7?= =?us-ascii?Q?9ySm8bWnxLv+rWye94tMIJumKUkU2Gf5WlTABbd7PgZ5A0P9zId6bTC/rWZT?= =?us-ascii?Q?HLf3YBLj9DUuWx1NHg/9u0AauUQNCA7d0BibpNP95nNphrVLlZTsM1/g+zoz?= =?us-ascii?Q?CQB26Ahv5w=3D=3D?= X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: f19191a2-2404-4e2b-d953-08da322fde84 X-MS-Exchange-CrossTenant-AuthSource: SG2PR06MB3367.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2022 02:50:40.8665 (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: V8MtbE7QTy00xeMXyWQMtVKzg24SEqB07hc8fj0cAQwcIEJrvrjWdJ2kqspcWPFg++c2U2G91i83rnWdpJ9BEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB5382 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 Fix following coccicheck warning: ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c:724:4-36: duplicated argument to & or | Remove duplicated UVD_SUVD_CGC_GATE__SRE_H264_MASK. Signed-off-by: Wan Jiabing --- drivers/Gap/drm/amd/amdgpu/vcn_v4_0.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c index c37dbac9d96b..9119e966ffff 100644 --- a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c @@ -722,7 +722,6 @@ static void vcn_v4_0_disable_clock_gating(struct amdgpu_device *adev, int inst) | UVD_SUVD_CGC_GATE__SCM_MASK | UVD_SUVD_CGC_GATE__SDB_MASK | UVD_SUVD_CGC_GATE__SRE_H264_MASK - | UVD_SUVD_CGC_GATE__SRE_H264_MASK | UVD_SUVD_CGC_GATE__SRE_HEVC_MASK | UVD_SUVD_CGC_GATE__SIT_H264_MASK | UVD_SUVD_CGC_GATE__SIT_HEVC_MASK -- 2.36.0