From patchwork Tue Dec 27 07:47:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?SmFzb24tSkggTGluICjmnpfnnb/npaUp?= X-Patchwork-Id: 13082150 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D12DAC10F1B for ; Tue, 27 Dec 2022 08:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:CC:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OcNQaRiPUNSlvzL0ePO2yNylhAviuyYpxgPayp84Fxs=; b=WHojPvVUAo5QU/yBr8x1pY01K3 a7UkybwICxjsKZsiuJFMtqBCaYCQtpU/ksGomQL64i7fWmQijtBiVrzdxpeo6hRM2XE+s8mkoZsO4 E43U269GwYh9tFXH9BRniywieQunfXQlKCqNz4nBYgmw8bv9Es110/oA5fBkfKZKfNPfKmdT7GX9B /5t/YoAq5yBYirqEBHrsyDYvRKXmHPAQJ4d8EO9RXHA6XhEgxXicAuwv0SCR+xdnaO+So3H2dPeRU mLjixkI5hV35exSewjpBlfXAq47xDz6CF1kK5WWAJHxiIhwkNls3s4lId0KkSo+B14bn02gY+s5E0 K/OLDSCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pA5Pt-00BOzn-Se; Tue, 27 Dec 2022 08:34:34 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pA5Js-00BMFU-Dp; Tue, 27 Dec 2022 08:28:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=OcNQaRiPUNSlvzL0ePO2yNylhAviuyYpxgPayp84Fxs=; b=j8BgC0LtB7N6wAVG/6lHvm+oqu gTVwWdKt6Xa8zxqiQEUxSnN6ZW4mXcqtO1G3Sr/2o6tKagfWzcTd2MQVodx7FLtTJLCCVL4CPIHpL 2F+3dqr+F0sv2Gvk4M9r6cdKRtRkHaPXVW2X8oYcsSI++LKTdI/VztmJ8XqamjyVGuuNgj5OiD+Uz HdxW5pIwfTDB7mGUlUOfiz9nyKLSYxRJqikhsjHaaFhyNNZHZh8awEr0xzlttel5AT/NB3YY5f6Mp MkVyMzBzWZesyxP0Ry60Vj1MFi1WQ4QhtenJnY5WmPIONxSeI8tWgMwJ2xwdRP61ZW8z/0HnvxNvJ WHCXU+1g==; Received: from mailgw01.mediatek.com ([216.200.240.184]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pA5Jl-00FaYj-0H; Tue, 27 Dec 2022 08:28:16 +0000 X-UUID: f5fd1f92f02948338d03ebde555eba1b-20221227 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=OcNQaRiPUNSlvzL0ePO2yNylhAviuyYpxgPayp84Fxs=; b=ZXvx3ZE3ZhwHubFiLGQbMxesJTosPbAdnwp5IwmckfKnJK8AUSXmiKJYrQ+MJpMJGdqqEpaiaZRN2E5HAeupOug/3+qyrSccriI+hTJKk1vTHouI5B0vXS3pvTOsVZI8hrR3zLfoW8JpFfeC67HDYdQ1ZEGnadZMsFFrjzKoKWo=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.14,REQID:f344f8f4-c9c5-4626-b343-2eda6e0e642d,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:dcaaed0,CLOUDID:6d1b13f4-ff42-4fb0-b929-626456a83c14,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: f5fd1f92f02948338d03ebde555eba1b-20221227 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1923317164; Tue, 27 Dec 2022 01:28:04 -0700 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 27 Dec 2022 15:48:00 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Tue, 27 Dec 2022 15:48:00 +0800 From: Jason-JH.Lin To: Chun-Kuang Hu , AngeloGioacchino Del Regno CC: Matthias Brugger , Rex-BC Chen , "Jason-JH . Lin" , Singo Chang , Nancy Lin , Nathan Lu , , , , , Subject: [PATCH v7 2/2] soc: mediatek: remove DDP_DOMPONENT_DITHER from enum Date: Tue, 27 Dec 2022 15:47:59 +0800 Message-ID: <20221227074759.5216-3-jason-jh.lin@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20221227074759.5216-1-jason-jh.lin@mediatek.com> References: <20221227074759.5216-1-jason-jh.lin@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221227_082813_964951_89F31B9B X-CRM114-Status: UNSURE ( 8.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org After mmsys and drm change DITHER enum to DDP_COMPONENT_DITHER0, mmsys header can remove the useless DDP_COMPONENT_DITHER enum. Signed-off-by: Jason-JH.Lin Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Rex-BC Chen Acked-by: Matthias Brugger --- include/linux/soc/mediatek/mtk-mmsys.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/soc/mediatek/mtk-mmsys.h b/include/linux/soc/mediatek/mtk-mmsys.h index b85f66db33e1..d37fa6a426a2 100644 --- a/include/linux/soc/mediatek/mtk-mmsys.h +++ b/include/linux/soc/mediatek/mtk-mmsys.h @@ -23,8 +23,7 @@ enum mtk_ddp_comp_id { DDP_COMPONENT_CCORR, DDP_COMPONENT_COLOR0, DDP_COMPONENT_COLOR1, - DDP_COMPONENT_DITHER, - DDP_COMPONENT_DITHER0 = DDP_COMPONENT_DITHER, + DDP_COMPONENT_DITHER0, DDP_COMPONENT_DITHER1, DDP_COMPONENT_DP_INTF0, DDP_COMPONENT_DP_INTF1,