Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1899557lql; Wed, 13 Mar 2024 11:13:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXS2xObkBE69hoXSvbBisu+6H89ef/5V10IfACYVGKyZBMwMGuguuncmCbnVLjqJ58jh9/g9qYqVU1w9RjDNbCyqGTgufykF1IAVm3b2Q== X-Google-Smtp-Source: AGHT+IGCJ+ZCtWmcgAMaPNIMOC2lPa4z1BvMTfrCmFvYa2xTsGWsJnHcCp73L1fP1lIgiU/DxGZE X-Received: by 2002:a50:ba82:0:b0:568:7b0e:69c8 with SMTP id x2-20020a50ba82000000b005687b0e69c8mr3210164ede.42.1710353580507; Wed, 13 Mar 2024 11:13:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710353580; cv=pass; d=google.com; s=arc-20160816; b=JLoGCY7NYU1vIHa0iEKUH+4QLmj9u1JOEtJwtFz/8IQnAflububDVwTuQfxJOP6bcv akA9SfOak/MyR3OJNT4D7d9asXS9L1XKUVggTCFg5dpOq0158F1FGzc2KawXPMtg5luR HVD2OrEMflPUDPC40OtW3vmIfld+LhrZgUuuCrdFsf5CoEQE3Tbz7+c3s0JtIepH6T9Z fBpyVokXodh9OLb9m9apjy/q/0C9VWR4FlAGBoC43M33hshz+UvyIafVtQ82dPUnbXGc 3GR7XFUr8MqRzKG5q+N9i8FdI6hIRxDKP5eUA8jp7uGvnH/1Vk2/OcbHa0E3mvKKJdKX YaCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=hBvIqWacmiWQv2jYNl5qrrNxwnAvxqRfSrDuVKt9K6M=; fh=h98mtsgQKDJRlwvMz8tX3Nk6HDyhob2Cm4vqCQMVXDQ=; b=zD/vedTarmZRoKpNRmSuDWbfZYTm9lc9p0G3KxI/ur+b/09QCLj6PsTIY5WPItEuH3 XyBOX9oZ5zykML9snxcG/xT5RPM66i35R+VHA9l+U97IrZ/7YhkqlZVU9pkYDoIlWLem zMshQiSGrjvfUJSiIO4o310GUhBjYBKE42/0SEps5DyKtmPP4rAEVd0b8daWDFD8a1PG pnFobT+3cvjPqru4BNqZbNSgZKD/J7rprBAlmSIv/ul60+EQ6ATAoF517+bgjmwuTi+m HDhw5YUWOkxwBqMreiZ0UlgINVFv+Js1s7Tzy2J+EXnJKa5Wh1tgB3aXHz0tMmar6wRp JbLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EM6OT3mD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-101999-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101999-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id fk27-20020a056402399b00b005687e0763c2si1353733edb.436.2024.03.13.11.13.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 11:13:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101999-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EM6OT3mD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-101999-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101999-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6ADDD1F2B14C for ; Wed, 13 Mar 2024 17:35:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9278C14AD24; Wed, 13 Mar 2024 16:43:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EM6OT3mD" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AFE9E14AD0E; Wed, 13 Mar 2024 16:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710348211; cv=none; b=EIdT+IbhVtox6Xy86EakXqovf/iIaAMgM/80cbaPEKVRJJF9YQVAIREIJxtWfKdF/RgeOwKv6pROAR44MS/hoxSCbAtQQWgw/jFI0KnD+8SUN0BcgcT4bK9lKfGH0NvF1aZ1pYUgZ7LGncczy0Kw+igTIgQ3Dxv+TnKQ9QXShmM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710348211; c=relaxed/simple; bh=XcA4zsHiHN6Jv8wny1OCHvfAqepR6uN0UFEN1AfWYN0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=cg6TdS/aUSGM4HrUxqvA6Ft4ADEGelxOzK37NIsShA/2ny2dSXl4w7Vk3heBx7kfmJ+pIRSrS9+HdKlxEQS2Jy99YCfLirJLH9NcH8jgnx4bRlCgnKrii0dgeTAywv31ZvNzrn9fs6vpLFLE94NaRzAac+ig+QoAJnn/8lCQYnM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EM6OT3mD; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35F0FC433C7; Wed, 13 Mar 2024 16:43:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710348211; bh=XcA4zsHiHN6Jv8wny1OCHvfAqepR6uN0UFEN1AfWYN0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EM6OT3mDiD/PKKs54seaYwcOjZx2yYGi3Y4+yvlWnAmv7wCleyk9ls4fBFiD/UpKc JG4RwNZz6JPGVpmOJj8aXjORcXlmFmfwny5rGNkJh5RtPa6NZQlYDtCV2y1FhQV/a9 YcFowPsLoeSZkvcyCBSOAyQOvE1X1wYzU1ZhG0gcYnd4rwIAuoPSYQJHiSdAnndKN4 CUqBEKpRlXaa35OvG5YIbpeW614b/r9j80rVXG/xQzbZXZFwb7N3dmuXOoFVPKpjWv 5B39rytLI077LqSpd4d3bltZfOlQ57HxD0zVG9dcV89R1VfG4kr5HeeGzMNcA+wSoP tEystkGAz6h4w== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Magali Lemes , =?UTF-8?q?Andr=C3=A9=20Almeida?= , Harry Wentland , Alex Deucher , Sasha Levin Subject: [PATCH 5.15 58/76] drm/amd/display: remove DML Makefile duplicate lines Date: Wed, 13 Mar 2024 12:42:05 -0400 Message-ID: <20240313164223.615640-59-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240313164223.615640-1-sashal@kernel.org> References: <20240313164223.615640-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.15.152-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-5.15.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 5.15.152-rc1 X-KernelTest-Deadline: 2024-03-15T16:42+00:00 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Magali Lemes [ Upstream commit 41ead3e0cdc03d64b7da2dcb1fd70ebb7164228b ] 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: André Almeida Reviewed-by: Harry Wentland Signed-off-by: Alex Deucher Stable-dep-of: e63e35f0164c ("drm/amd/display: Increase frame-larger-than for all display_mode_vba files") Signed-off-by: Sasha Levin --- 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 c97fdfc36d0fd..93cc3086783fa 100644 --- a/drivers/gpu/drm/amd/display/dc/dml/Makefile +++ b/drivers/gpu/drm/amd/display/dc/dml/Makefile @@ -60,7 +60,6 @@ ifdef CONFIG_DRM_AMD_DC_DCN CFLAGS_$(AMDDALPATH)/dc/dml/display_mode_vba.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) @@ -71,7 +70,6 @@ CFLAGS_$(AMDDALPATH)/dc/dml/dcn30/display_rq_dlg_calc_30.o := $(dml_ccflags) CFLAGS_$(AMDDALPATH)/dc/dml/dcn31/display_mode_vba_31.o := $(dml_ccflags) $(frame_warn_flag) CFLAGS_$(AMDDALPATH)/dc/dml/dcn31/display_rq_dlg_calc_31.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 -- 2.43.0