From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1AC23C433F5 for ; Mon, 28 Mar 2022 08:30:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233052AbiC1Ic1 (ORCPT ); Mon, 28 Mar 2022 04:32:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236720AbiC1IcZ (ORCPT ); Mon, 28 Mar 2022 04:32:25 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80BF613D32 for ; Mon, 28 Mar 2022 01:30:39 -0700 (PDT) X-UUID: ab9c5d3565cd45f49ac2a78beecdab1d-20220328 X-UUID: ab9c5d3565cd45f49ac2a78beecdab1d-20220328 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1841478631; Mon, 28 Mar 2022 16:30:34 +0800 Received: from mtkexhb01.mediatek.inc (172.21.101.102) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Mon, 28 Mar 2022 16:30:33 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 28 Mar 2022 16:30:32 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 28 Mar 2022 16:30:32 +0800 Message-ID: <5d1eddf2bd7c30c3d3e76edecf8096968aaaaef0.camel@mediatek.com> Subject: Re: [PATCH] drm/mediatek: Fix DPI component detection for MT8192 From: CK Hu To: Chen-Yu Tsai , Chun-Kuang Hu , Philipp Zabel , "David Airlie" , Daniel Vetter , "Matthias Brugger" CC: , , , Date: Mon, 28 Mar 2022 16:30:32 +0800 In-Reply-To: <20220225032754.140168-1-wenst@chromium.org> References: <20220225032754.140168-1-wenst@chromium.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Chen-Yu: On Fri, 2022-02-25 at 11:27 +0800, Chen-Yu Tsai wrote: > When support for MT8192 was added, the DPI device was not added to > the > list of components to look for. This causes the secondary display > pipeline to not be able to fully bind, and the DRM driver > subsequently > defers probing. > > Add the DPI device compatible to list of DPI components to fix this. Reviewed-by: CK Hu > > Fixes: 01365f549c88 ("drm/mediatek: Add support for Mediatek SoC > MT8192") > Signed-off-by: Chen-Yu Tsai > --- > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c > b/drivers/gpu/drm/mediatek/mtk_drm_drv.c > index b147797177c6..47ba18cbc5c8 100644 > --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c > +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c > @@ -511,6 +511,8 @@ static const struct of_device_id > mtk_ddp_comp_dt_ids[] = { > .data = (void *)MTK_DPI }, > { .compatible = "mediatek,mt8183-dpi", > .data = (void *)MTK_DPI }, > + { .compatible = "mediatek,mt8192-dpi", > + .data = (void *)MTK_DPI }, > { .compatible = "mediatek,mt2701-dsi", > .data = (void *)MTK_DSI }, > { .compatible = "mediatek,mt8173-dsi",