Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2160605iof; Tue, 7 Jun 2022 21:46:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+tPiSIYewVgpACRrTXxqdTye+kE90PrsOneQU3aaLQEOyJQlafe9R00W4mamAD2msd3/2 X-Received: by 2002:a17:90b:4acb:b0:1e8:67df:6c61 with SMTP id mh11-20020a17090b4acb00b001e867df6c61mr19554784pjb.224.1654663596728; Tue, 07 Jun 2022 21:46:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654663596; cv=none; d=google.com; s=arc-20160816; b=gFT1/XQliGaRy1py3x9FcaufH/WxRG2rPltApHXFV06cPk7MqNmVdz1FGbDKRJKNlf mZgbLd72G9I7c6h2mGwxhE5bb517SKTsBXpJpFllJ2qaVSjrfxRCYCuu03oe7bzdZMmT VPWX2gT4zsJickiEsouLUuCzRuWrHc6zkihqyYtKRuLd9gjTC2Nc5Fz5M846Ee1NiRA2 sdLiK+X50WifpP3AbfIZQlaGYAGMO3aYpAi5oAM0H5TpfqBIChlKbiScgh49rIEXw8fr iKZ7Sv8QRh3M3RqcM797d76pUXPkehM1Vpq+d+OVxcUN5iKdLVuvzsaKpgvz35/ULS1C liyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=vBc3a+ie2Bcrx5SNY112gpVOCCH5BEGqgHlsU6WOM98=; b=xD0bxa2YhUnLqrWji0NIFxXzALJAJ2wOcpbBURr9B8rJhR7huQoybReaUM4u1aDuud /GyiFjMSGnFQ9+wdX0AvI7j6CcBOpZD7SM4V199amD7wg0KZ7ZvlFGEbrY9uLu/SxpY9 h4w+MAOc2G5aUe9YDxmKTmLpMVRnYxrZhIJZPlPekIDYmjIAwDOpn+iUlpxcwm+LywtB hfH654SKzSHp74L9HInRqBKFaaW12WRLv/VxyK5hkLdhPg2Yqjibv2TBQ8Q/6n5y2oYg yPtOkgmrRRadXRmUtOWtYCztZfFlQvpqCJutQpS7j9/9+nKb7ZFLyxF0+Ko1K4wTMwj1 OWvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NGI2R57A; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x11-20020a170902ec8b00b0016390f2f284si30654326plg.167.2022.06.07.21.46.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:46:36 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NGI2R57A; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A748C2CBD2D; Tue, 7 Jun 2022 21:16:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384669AbiFGWgN (ORCPT + 99 others); Tue, 7 Jun 2022 18:36:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378632AbiFGVXz (ORCPT ); Tue, 7 Jun 2022 17:23:55 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF111227365; Tue, 7 Jun 2022 12:00:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 20356B82391; Tue, 7 Jun 2022 19:00:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B44AC34115; Tue, 7 Jun 2022 19:00:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628431; bh=JQE7vGWsZRjAHjJ8a52Qhw0oT6wu0apJy95muA6U7Wk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NGI2R57AAnuOEl7v0TCxl23hmIsizYBJ461oUqosp+GsNrejkO8Uejdzp19i/orNp 510RP5euW+4uyxNbRmmmMTqzuo/uD1jksLfSLX0gAEj3ttxdCqUSPTlFUiZwdz0fN/ OWWRV8oRwngSOZHN2RLvp8D1Zrbrk1ewmhju5STM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chen-Yu Tsai , Chun-Kuang Hu , Sasha Levin Subject: [PATCH 5.18 287/879] drm/mediatek: Fix DPI component detection for MT8192 Date: Tue, 7 Jun 2022 18:56:45 +0200 Message-Id: <20220607165011.178129155@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen-Yu Tsai [ Upstream commit cfab37ff31afcd0f99f3cccbff1f8ffa11e44c00 ] 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. Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220225032754.140168-1-wenst@chromium.org/ Fixes: 01365f549c88 ("drm/mediatek: Add support for Mediatek SoC MT8192") Signed-off-by: Chen-Yu Tsai Signed-off-by: Chun-Kuang Hu Signed-off-by: Sasha Levin --- 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 247c6ff277ef..b0e4e5d68927 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -509,6 +509,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", -- 2.35.1