From patchwork Mon Apr 12 14:21:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yongqiang Niu X-Patchwork-Id: 12198247 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBECEC433B4 for ; Mon, 12 Apr 2021 14:23:07 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7A3196128E for ; Mon, 12 Apr 2021 14:23:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A3196128E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=XbUhPDIjU0HOZ3drDorhp6WF2iZ2UlmCIr0xQq6qgPg=; b=GZiGqNdEI9++22BmwNeWrELD9 +ynEYUHMhWtQH4kUZGf6ZE8x2kroCvK9J0yF/7lXLGIE+4r0gGSl3u6FGZAr2woWhVjCVtX13NNFq O8gHpcBg3w1Eqyg8KOmiHri8FE9iwUorIZNZMmBDecFs9z/+4XMstWaZHSWANuujiYWQP7bbTlDu8 X3kLG82UUQDKvyLInez3USWGddmzBSUqzIvgnMb0iCdds8fvhBIh8n1NVw/AEuxWwxJ2fqLbTSkQN JpDUAQT+Lr2bjU6XN+pLIqEcAK/1D5dLljuu2yvUKAEeFse33L6Rbwh+jTbqZtVlkAHA5YL9sU2Cp F+4BixJ2g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lVxSq-006xEH-Tp; Mon, 12 Apr 2021 14:22:57 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lVxRz-006x3l-1i; Mon, 12 Apr 2021 14:22:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC: To:From:Sender:Reply-To:Content-ID:Content-Description; bh=7n+DPkbZONtHFroU6BjShwfDdamZ0EO3l9f78R8gLCo=; b=QUuYKfx+YadWrSwmR7+MJNFDJN /hk5MFNkAzeT3O/fUVwJzTuhgDtCaSosB1EQZjsAjTi18KStRsY4+nMLCNn9AxtR12OE8F8w1K3Hc 8wUaMZzNye3/Al+6TuTHB2EgaQl5nHPgR1LLU00NQUK6bkQK00kIWYTKB4Dup6g7oBx2q72/dPxpp T58284SerRXUmP7jVJBjjD8a3GxnWlURgn8mgaiB5uU9MfhBnN74SOZVjgOnfsOgWZYMJypW5LnDY SlvCh1nk6eiJGEk34KS4iM6kWNFXmGPB1avPvMQFbaNanDC+ovUBs3KxRi8HTebT6DEX+TUCBW8As iKeVIFKQ==; Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lVxRv-006Il7-Jd; Mon, 12 Apr 2021 14:22:01 +0000 X-UUID: 246a9b1652bb4ebf9977c3b9425fa51f-20210412 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=7n+DPkbZONtHFroU6BjShwfDdamZ0EO3l9f78R8gLCo=; b=Yne9zQYsEzb7W6MlfdTS7/JKusMOkifQM0YyLeDVFQPk19p0/wXRSMv0yU5R871BjwwVmKofEbj8DaRbFNpPCDRRApxvWHVW0bI4xHGYxfjqKdfc6HhFL70MjnBcDEqKiR1USP3fCJmppVfPicl3p08N4Bo7Qq6H2i4xRpZCgC8=; X-UUID: 246a9b1652bb4ebf9977c3b9425fa51f-20210412 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1732854431; Mon, 12 Apr 2021 07:21:55 -0700 Received: from mtkmbs08n1.mediatek.inc (172.21.101.55) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 12 Apr 2021 07:21:54 -0700 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 12 Apr 2021 22:21:51 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 12 Apr 2021 22:21:50 +0800 From: Yongqiang Niu To: Chun-Kuang Hu CC: Rob Herring , Matthias Brugger , Philipp Zabel , "David Airlie" , Daniel Vetter , Jassi Brar , Yongqiang Niu , Fabien Parent , Dennis YC Hsieh , , , , , , , Hsin-Yi Wang Subject: [PATCH v7, 3/5] drm/mediatek: add component RDMA4 Date: Mon, 12 Apr 2021 22:21:44 +0800 Message-ID: <1618237306-17670-4-git-send-email-yongqiang.niu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1618237306-17670-1-git-send-email-yongqiang.niu@mediatek.com> References: <1618237306-17670-1-git-send-email-yongqiang.niu@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-20210412_072159_668377_5AD82584 X-CRM114-Status: GOOD ( 10.12 ) 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 This patch add component RDMA4 Signed-off-by: Yongqiang Niu Reviewed-by: Chun-Kuang Hu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c index 17309ce..ebe8eec 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c @@ -434,6 +434,7 @@ struct mtk_ddp_comp_match { [DDP_COMPONENT_RDMA0] = { MTK_DISP_RDMA, 0, &ddp_rdma }, [DDP_COMPONENT_RDMA1] = { MTK_DISP_RDMA, 1, &ddp_rdma }, [DDP_COMPONENT_RDMA2] = { MTK_DISP_RDMA, 2, &ddp_rdma }, + [DDP_COMPONENT_RDMA4] = { MTK_DISP_RDMA, 4, &ddp_rdma }, [DDP_COMPONENT_UFOE] = { MTK_DISP_UFOE, 0, &ddp_ufoe }, [DDP_COMPONENT_WDMA0] = { MTK_DISP_WDMA, 0, NULL }, [DDP_COMPONENT_WDMA1] = { MTK_DISP_WDMA, 1, NULL },