Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2532581imn; Tue, 2 Aug 2022 06:36:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR5LRaIkWJMXY8edE/mRl4W2XLJIhFNwaA/ZnbJiBcA5afbdSAJ3M++GNNeCO6FgjDMu/ICR X-Received: by 2002:a17:907:75d6:b0:730:7000:6061 with SMTP id jl22-20020a17090775d600b0073070006061mr8977988ejc.234.1659447369858; Tue, 02 Aug 2022 06:36:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1659447369; cv=pass; d=google.com; s=arc-20160816; b=pxTEwcXi+0w7zZtmrmog4Z3RKnZhwlY7u70DsiLaUZL5MIBAa4iza9agomd8G0jeDD 7RsPWqaFxYCSFIrt2mRhKc8q42E/aKeSKkc2xndH+QDqTQQqw2MTEdnav8YZ2agNaD3J 9K+DJQ063twh4SHTC+oEjeRtACe5YfjT2C7nBtkIvSf2oy6Rz2mAvmIsETRvkg8JmZN8 LpFPOYgwvoFTKMg6aynzvlh33IhLiXFbKMorcAwUJnwLyTku/6Yy6pg1AG3xbn7gW25t 1Z4IQFXPTlAf9tGdkmivXvlMcI7iQxJPlIa9dYZ0a9XKP/Pwn51PaMf5mmpPvxci5zDs uinw== 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=14qSWdshOlp3GFqQa7rqJu0+ePS41XTnkUtLUJVBXVg=; b=z4ssU8YdPqpXMYVlSEQ55O/HgMVTWmeByHyMrC55l5BvxEfVkLPPaeja/Al+AV1mNi 27qJPjWI+KIgDfDgozeQd0wLr9GYt1hIHD9A88WxNQFNOrHW24890qz+iCjenafKmYbe ++2jZMh4iiHUhNMTDjU+nrgE+8obsB+0LxEqg1u2RLE+RyxgHlQJ0+iW0co1hde6k8T5 7rHx8vnmg8zuM9admNzXmYHNU4TwG3jMRPOxURRv7yhFiPOLQf9soMVt/1Vj0/GFg+jj JBtWYf5tDjiUchIEhzbAsjNcdnayvQkxcBzADX6+KPNdYbU08Q4fPONK6Q6R3VLTyWkp GUlQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=lHNxo9jI; 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 d16-20020aa7ce10000000b0043c141aaddfsi9946665edv.146.2022.08.02.06.35.44; Tue, 02 Aug 2022 06:36:09 -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=lHNxo9jI; 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 S236471AbiHBNFe (ORCPT + 99 others); Tue, 2 Aug 2022 09:05:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236320AbiHBNFc (ORCPT ); Tue, 2 Aug 2022 09:05:32 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2077.outbound.protection.outlook.com [40.107.243.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04790DF38 for ; Tue, 2 Aug 2022 06:05:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MvcZoGtMptKY1KNTh/g4wZ8krMQwf4OPhkg1Xa+crH7YDGFV4o9BrpLBMrInq7CjfIiD0fxCvp7udHg+TPBucU31pyCn1X0TSlA1m2ESsGzsr6UnI/fhXIRQPKzz/sT1fG3vQRvOpGGdXbInkTJhw/xIC3+7/SQNdXSbIzMJaAf1Gd/WxGOVObfHenD6d4Og65BT7DVsKRnFkL1TqV7JCr1KGPq2tDWuBGdRscYSRdi7diHyp7fKyplA0k9s2hWdMBuS1m+TM0WpHs6srUzWVBa8O70J6WTeXGk9IV0tCUW7YVejd90cW7eF/RfX/B6SH3ThMNhX9a9lZb1OLhJ9lQ== 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=14qSWdshOlp3GFqQa7rqJu0+ePS41XTnkUtLUJVBXVg=; b=ir9tgahl1l05pSxsIYUEkgWSO7DHDWHICwd9SrdFkkECLsRYMk6lIotLT7kN5mlceXZpHpUgfZdNHyDr6Y73nDMy13JNtPQL+SfwVryLym51hZ0YD/z/ihoGI52K5k/1pHOGj8dJWN6EnqkItfg09mIpnDzQl2lIuiwyAkU4bgvW3CP535y9N3nGxb/JpeauLKnMRZ0GyBNfnUlxNs5okLaqaR8LfJo6ePgEbQazGIRO1EXckeHHMJh82uHPPV8Vgoa8ZThpbcehU6oo6+RJcXcuYUPmomxPcjTAEAE98Z9FvHU4xQ4NmBocVUqz68xf+a6hYsVYreSofe34k2m5pA== 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=14qSWdshOlp3GFqQa7rqJu0+ePS41XTnkUtLUJVBXVg=; b=lHNxo9jITALresbVq3srILYBRxFOr6qDdjWXgQIri5dRqI1EKLptncZh3tOzIbr0b8QnrFf9ximr0WSHmf3eigiUG5K9vfu9uJIhmSDFKY8qsvGMnNtbWIFCDTavuTlo7f08q3QOLgplPIJ6+bJle+HrRXuiS1zX46JUtUNYAug= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CO6PR12MB5427.namprd12.prod.outlook.com (2603:10b6:5:358::13) by DS7PR12MB5885.namprd12.prod.outlook.com (2603:10b6:8:78::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.16; Tue, 2 Aug 2022 13:05:27 +0000 Received: from CO6PR12MB5427.namprd12.prod.outlook.com ([fe80::6999:13c9:d124:418a]) by CO6PR12MB5427.namprd12.prod.outlook.com ([fe80::6999:13c9:d124:418a%8]) with mapi id 15.20.5482.016; Tue, 2 Aug 2022 13:05:27 +0000 Message-ID: Date: Tue, 2 Aug 2022 09:05:23 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] drm/amd/display: remove DML Makefile duplicate lines Content-Language: en-US To: Magali Lemes , sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, daniel@ffwll.ch Cc: mwen@igalia.com, mairacanal@riseup.net, isabbasso@riseup.net, siqueirajordao@riseup.net, andrealmeid@riseup.net, tales.aparecida@gmail.com, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20220802120406.88845-1-magalilemes00@gmail.com> From: Harry Wentland In-Reply-To: <20220802120406.88845-1-magalilemes00@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: YT1PR01CA0070.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:2d::9) To CO6PR12MB5427.namprd12.prod.outlook.com (2603:10b6:5:358::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 143dc0a2-7645-45cf-2749-08da7487ab8c X-MS-TrafficTypeDiagnostic: DS7PR12MB5885:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TcAWLkWScJ365YANNiYWyEA7OkbEqpAH9odElB4fhKVTxQL36JM5/qfZ+YKjehO/oyZP4/QGu7IqTUJdOk2ykszAF3qV08eFvzm0J0jFMmkk73O1EOjDCLCWv8ErMAj3AZ0ltyw6dR+U6PeYQQ65sk2Y2UhQe4WRcu6uBhgAF1vtE7+5oUjjswXoK9Ks+PBoE6yqAFZRQcLiJZp/sj9Nr8C05dFCsZHvFDLdresRCDEGOa492F8RZdAn7zAw1ihx8gqm//DIwfLPh+NZYmydckQW94stne7hmo3/WiqEQv4rmL76yzMbIVBTQ6eisYnHyrE4CQ8sudPwhCVL7kK4VF6g4XBvHOTCbFdDPq0hpZB66KEVC/fb3E9FlazfqvYahZp8zOxKKShI7Jx2MCwOOV/jtjtawsES/IyiY78t2laMtA5TjmgvUxMdSCSuFdq8Dx9jPqRkrnhKALEuNnE/q+sjDqBCBQoM7Vo5kfUpmRrt1zL729iw8fIElZkKVObCp3Y3VqybPFrOh4XmaopV2C61VOeZR8jmVSMVsdi7PWyGCeMPU8+15DPyd7bl/AqaMxKjwbuflPXj0dx6HtHnjW9vkZffRMAa1RX6OV/L1Ni57PjshYs0u7h+rS3iTWaBS5XewfWEmJHooQsb+EuQ478XczmdhtJ8KavkETOt7CjuemWMYzGZrh514oFiRpi3zCQegrSKK8mvrVEyscfhhBthVDKF5JgE78hnyFa94Shx86JUpfmVQXANgfQaaOkDEUOiV9dLiB2upxGD5jzk7+LkS3NyJYeLYo3Y1dKnfUpSYlZfZfH9D90sdjmbX2JWYq64LWTHSalC8FJkAn2HkQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO6PR12MB5427.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(376002)(136003)(346002)(39860400002)(396003)(366004)(66556008)(66946007)(66476007)(8936002)(4326008)(8676002)(478600001)(7416002)(186003)(38100700002)(5660300002)(6486002)(31696002)(316002)(86362001)(53546011)(6666004)(6506007)(41300700001)(31686004)(83380400001)(2616005)(2906002)(36756003)(26005)(6512007)(44832011)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YkhxQzZwdG1WazBybVBhbzV0OHZ0dHEzdm8vLy9LRHZRUmllR0NqeFhjNS8r?= =?utf-8?B?c1pBa2xuRWNTd3BWNUJMc3dLRnRCMXg4ZEpISmpZUXkzNTdoRS9XTlNKbmVV?= =?utf-8?B?S0NpK1FvOE5CRnp5ckdORWt1WFdFVVdBNUFjQmlmWHFyNlVIdm5JRDZ6ekkw?= =?utf-8?B?NUM0SW83Q1ZNOUVjVDUxa2lwME0zelkvSmVudUJuTW8rSVBtS3dNVlVvT1No?= =?utf-8?B?a0UybmlMZldNSGh6R2F1a2wyRzBnYUEySVRXdStYM09WVml5b3FwblowYlBT?= =?utf-8?B?NzduNUF1RnpOMEhwSkFqOFQwRUt3dE9MdW9yamthMHdaVzBMUk54bEptSzJq?= =?utf-8?B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Exchange-CrossTenant-Network-Message-Id: 143dc0a2-7645-45cf-2749-08da7487ab8c X-MS-Exchange-CrossTenant-AuthSource: CO6PR12MB5427.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2022 13:05:27.5092 (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: C6aXzy3hFNTuLFRSIPAEKUNKpkAZOnMApHCgFes6Yd3rTCHx85/3Osbz+klEZPyrEjLpqxaHrXhy1sh2nh8usg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5885 X-Spam-Status: No, score=-2.1 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 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-08-02 08:04, Magali Lemes wrote: > There are two identical CFLAGS entries for "display_mode_vba_20.o", so > remove one of them. Also, as there's already an entry for > "display_mode_lib.o" CFLAGS, regardless of CONFIG_DRM_AMD_DC_DCN being > defined or not, remove the one entry between CONFIG_DRM_AMD_DC_DCN ifdef > guards. > > Signed-off-by: Magali Lemes Reviewed-by: Harry Wentland Harry > --- > drivers/gpu/drm/amd/display/dc/dml/Makefile | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dml/Makefile b/drivers/gpu/drm/amd/display/dc/dml/Makefile > index 359f6e9a1da0..41bb6c3cc2d8 100644 > --- a/drivers/gpu/drm/amd/display/dc/dml/Makefile > +++ b/drivers/gpu/drm/amd/display/dc/dml/Makefile > @@ -61,7 +61,6 @@ CFLAGS_$(AMDDALPATH)/dc/dml/display_mode_vba.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/dcn10/dcn10_fpu.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/dcn20_fpu.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/display_mode_vba_20.o := $(dml_ccflags) > -CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/display_mode_vba_20.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/display_rq_dlg_calc_20.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/display_mode_vba_20v2.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/display_rq_dlg_calc_20v2.o := $(dml_ccflags) > @@ -82,7 +81,6 @@ CFLAGS_$(AMDDALPATH)/dc/dml/dcn301/dcn301_fpu.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/dcn302/dcn302_fpu.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/dcn303/dcn303_fpu.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/dsc/rc_calc_fpu.o := $(dml_ccflags) > -CFLAGS_$(AMDDALPATH)/dc/dml/display_mode_lib.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/calcs/dcn_calcs.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/calcs/dcn_calc_auto.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/calcs/dcn_calc_math.o := $(dml_ccflags) -Wno-tautological-compare