Message ID | 20230627063946.14935-12-shawn.sung@mediatek.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7994300vqr; Mon, 26 Jun 2023 23:51:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7RCjC9rFmGlKYKBLjnHBsku3iHALyxVE89yDau2wzHFO9JWVsGBR6i7DnnWqoeKtczrmzh X-Received: by 2002:a17:906:fe4e:b0:96f:c46f:d8fe with SMTP id wz14-20020a170906fe4e00b0096fc46fd8femr25363450ejb.27.1687848677699; Mon, 26 Jun 2023 23:51:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687848677; cv=none; d=google.com; s=arc-20160816; b=tqPM4FuSpABw3p1INt/DRCZQVsFS2jDNWegQMQBO8G1WtqzaWfwFlUlCrEML+Xf41P E1oR1ih9ZfmBlRCyhaZGazKavmp2mZhqZB1YByHfRbQRi0g5R+vcb/0lxteDbYz2Z9N5 FBKqdgpPu76QaTlKBMWs7a/4PCOAp6GDqYgBhB3ra2XG9iblv2EQPgYxYekTHOCDI3Yz 9DVtI/aZypOatKGN+JwxE02IL5sXCSynwsRjd6Gkquhruttjew29b0gmHMSI4h6q6a7o Xep9MsxF+umflI1QVf8qoG2D5KxK6ja7UYY0TTaMC7FH4j23ArjrDqgXr0DAe5kU6N2b 1j7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=cCgZiM672dHAe2uHZYFfu9Crpo8wWYHcFIwiFJAHeNA=; fh=eGT9imnITysaZP7qqwDR6mqUkV/i49Ro5oyELgOcwP4=; b=SWEgg0MBPvd+AYf/YELEgYAm56LW+4wnFbiVk8QSmwsiaUXaTsjHG/BF0ZM46NoBoj +J7pd7nw+KDFraqasS5DL4RaDEe3S5Fnl6ijGULLG272FU1l71Vr0XisEHDYSDmzhhVp pBnegi2LTgcqqqcB1SwiQApL06L05j8iT12fmxYplvJ6kz2pf5ENW7+twuJiM6lkRrIt pt6EK52QTNWbT3Hu1T+EDOgEdLEH5yEuZIS2KG0xyF/HmDtNbVkhug+YGmN0VRSYBAFj 8rPvwxdo3mGm1o/zufJBcnrkz8XINc/g6SGVMfFd47coZLLtEw4naJRqvqGB3EeuTCO4 0Ixg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=pkeELBS7; 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=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m19-20020a1709066d1300b00989027eb30bsi4004711ejr.610.2023.06.26.23.50.49; Mon, 26 Jun 2023 23:51:17 -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=@mediatek.com header.s=dk header.b=pkeELBS7; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230487AbjF0GkN (ORCPT <rfc822;nicolai.engesland@gmail.com> + 99 others); Tue, 27 Jun 2023 02:40:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230384AbjF0GkD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 27 Jun 2023 02:40:03 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEC1A10E7; Mon, 26 Jun 2023 23:39:59 -0700 (PDT) X-UUID: 6e0f4f9214b511ee9cb5633481061a41-20230627 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=cCgZiM672dHAe2uHZYFfu9Crpo8wWYHcFIwiFJAHeNA=; b=pkeELBS7NHRP9jSjkP+id44xQivc+qWumqOln43dLtsPmc2ADz/Rwhp+erSuYVs2+YcwT6fwZIuDycwOpv6xzp+PifLrFoIDlxQCIPjwh01do97WE/lj+i7Ayct/t5dpftkl6A+xiF4zHooYMdGnuX6L2yjnSXM8dU505JxgG2U=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.27,REQID:c1a9d114-a46e-42c8-a250-405e0a8cfb72,IP:0,U RL:0,TC:0,Content:-5,EDM:-30,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTI ON:release,TS:-35 X-CID-META: VersionHash:01c9525,CLOUDID:113148da-b4fa-43c8-9c3e-0d3fabd03ec0,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:2,IP:nil,UR L:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 6e0f4f9214b511ee9cb5633481061a41-20230627 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw01.mediatek.com (envelope-from <shawn.sung@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 2049275790; Tue, 27 Jun 2023 14:39:56 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 27 Jun 2023 14:39:55 +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.1118.26 via Frontend Transport; Tue, 27 Jun 2023 14:39:55 +0800 From: Hsiao Chien Sung <shawn.sung@mediatek.com> To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Chun-Kuang Hu <chunkuang.hu@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Matthias Brugger <matthias.bgg@gmail.com>, Philipp Zabel <p.zabel@pengutronix.de>, Rob Herring <robh+dt@kernel.org> CC: <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-mediatek@lists.infradead.org>, <devicetree@vger.kernel.org>, <Project_Global_Chrome_Upstream_Group@mediatek.com>, Singo Chang <singo.chang@mediatek.com>, Nancy Lin <nancy.lin@mediatek.com>, Jason-JH Lin <jason-jh.lin@mediatek.com>, Shawn Sung <shawn.sung@mediatek.com> Subject: [PATCH v5 11/14] drm/mediatek: Support MT8188 VDOSYS1 in display driver Date: Tue, 27 Jun 2023 14:39:43 +0800 Message-ID: <20230627063946.14935-12-shawn.sung@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230627063946.14935-1-shawn.sung@mediatek.com> References: <20230627063946.14935-1-shawn.sung@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769837615193397036?= X-GMAIL-MSGID: =?utf-8?q?1769837615193397036?= |
Series |
Add display driver for MT8188 VDOSYS1
|
|
Commit Message
Shawn Sung (宋孝謙)
June 27, 2023, 6:39 a.m. UTC
- The mmsys_dev_num in MT8188 VDOSYS0 was set to 1 since VDOSYS1 was not available before. Increase it to support VDOSYS1 in display driver. - Add compatible name for MT8188 VDOSYS1 (shares the same driver data with MT8195 VDOSYS1) Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Hsiao Chien Sung <shawn.sung@mediatek.com> --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 6dcb4ba2466c..613093068bb4 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -287,6 +287,7 @@ static const struct mtk_mmsys_driver_data mt8186_mmsys_driver_data = { static const struct mtk_mmsys_driver_data mt8188_vdosys0_driver_data = { .main_path = mt8188_mtk_ddp_main, .main_len = ARRAY_SIZE(mt8188_mtk_ddp_main), + .mmsys_dev_num = 2, }; static const struct mtk_mmsys_driver_data mt8192_mmsys_driver_data = { @@ -327,6 +328,8 @@ static const struct of_device_id mtk_drm_of_ids[] = { .data = &mt8186_mmsys_driver_data}, { .compatible = "mediatek,mt8188-vdosys0", .data = &mt8188_vdosys0_driver_data}, + { .compatible = "mediatek,mt8188-vdosys1", + .data = &mt8195_vdosys1_driver_data}, { .compatible = "mediatek,mt8192-mmsys", .data = &mt8192_mmsys_driver_data}, { .compatible = "mediatek,mt8195-mmsys",