Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1544718pxb; Thu, 16 Sep 2021 09:37:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC2r64Qm8bkHCcBa2m+2gPbDTTLr2psHorBQnqM1r4SV6RtWE7oWKQufM28AecaUUgVWRz X-Received: by 2002:a92:c5c9:: with SMTP id s9mr4630602ilt.56.1631810229855; Thu, 16 Sep 2021 09:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631810229; cv=none; d=google.com; s=arc-20160816; b=ktfTKZJZiZ09eU8hwbvxid/+0aIJ0nOMOAIjq6RyAPXG0TF3Jpe6DBthP5NGjQf+o3 FxS/BT5GjL2LfMj8wdoe4Lta38K5DGV3YXRYbm71HAVQjDh/PaJsQh3D3mrZsHxS5Hax T4ACeYKZJW4sR8UbNwz5g3BbRU5juTNLVGn02A3dyo1BNfCuZ2amoTJ58IhJLInMlJfY 8iN/S6txwwqMgJ35wEJ6dS0+UgsTE0T+cFsYFv8z9A96Bue48z4amErOTTDIhYwg15Cx PGNg3PJoPDlug14ecb+cQ2J2gMsYIJxhbkAa0AmuSEaiVwKKnGKuXccuMJjRQOQtyrfT Y25A== 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=tqnrp6Kitpe30HYkWWn6e9P9h6rJiffeDTo8QXzVQiA=; b=Uuo9rH8zTDeI8IMEdRPr+ST4pxdylm9iurRRP8DtMXu4z4zIVmUJ/LRGIkzAHf2HjV eFXDHm1rpuvprz7j389h3wZ57rMnZDZF8Cl3EsSrO9eoK/Ql7jbKKsumOuEiZjcBLxl3 T/iNkXOxMGz7Tq1BmkLdo5m7F6o+fOoqNMj442THbFjdQ7PeD44ZEaLFMC/I1DWnwSGg kHTt4Wzz6Q11+vqg+7B3EhMY7jbpcW2eRkcHPku+TzRxIx1ALmn9fF+5ZT9wnXIpXKlJ /QZxI6U9xEPsbCAqUAfcjToA7xyzdIbjO8VoZPsJOUJeSc0TuW7O0vUZQQoPxOJuQEW6 f9QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B0uizy+d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c17si3491204jam.29.2021.09.16.09.36.58; Thu, 16 Sep 2021 09:37:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B0uizy+d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243119AbhIPQgB (ORCPT + 99 others); Thu, 16 Sep 2021 12:36:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:38934 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241886AbhIPQ21 (ORCPT ); Thu, 16 Sep 2021 12:28:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F212161357; Thu, 16 Sep 2021 16:18:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631809088; bh=Ij2J7ZY0EYA4SRi/ycfyi++V5khckp+5urzgc9BwJ4k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B0uizy+d3RuaKSgLqe4QrGjjLGtmy46pFeOMD8LTSvrBSNXr3b0p0bhozd/D+Tsvx eTqoTVZUS3I7AE0FIqpaMveTHU/jqtkQobvdU7Wu9bjvH9nxz0llQS21JOe1Axl+Oh 9RmTaqOt/JIHj5IBXrqcRcBqCOsEHfUzMiDASjyk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Enric Balletbo i Serra , Eizan Miyamoto , Matthias Brugger Subject: [PATCH 5.13 026/380] soc: mediatek: mmsys: Fix missing UFOE component in mt8173 table routing Date: Thu, 16 Sep 2021 17:56:23 +0200 Message-Id: <20210916155804.858985532@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155803.966362085@linuxfoundation.org> References: <20210916155803.966362085@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Enric Balletbo i Serra commit 25423731956b3d72bc35d336227c88ada49148e8 upstream. The UFOE (data compression engine) component needs to be enabled to have the imgtec gpu driver working. If we don't enable it we see a black screen. Looks like when we switched to use and array for setting the routing registers in commit 440147639ac7 ("soc: mediatek: mmsys: Use an array for setting the routing registers") we missed to add this component in the new routing table, it was present before that commit, so fix it by adding this component in the mt8173 routing table. Fixes: 440147639ac7 ("soc: mediatek: mmsys: Use an array for setting the routing registers") Signed-off-by: Enric Balletbo i Serra Tested-by: Eizan Miyamoto Cc: Link: https://lore.kernel.org/r/20210625062448.3462177-1-enric.balletbo@collabora.com [mb: taking into account mask value] Signed-off-by: Matthias Brugger Signed-off-by: Greg Kroah-Hartman --- drivers/soc/mediatek/mtk-mmsys.h | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/soc/mediatek/mtk-mmsys.h +++ b/drivers/soc/mediatek/mtk-mmsys.h @@ -262,6 +262,10 @@ static const struct mtk_mmsys_routes mms DDP_COMPONENT_RDMA2, DDP_COMPONENT_DSI3, DISP_REG_CONFIG_DSIO_SEL_IN, DSI3_SEL_IN_MASK, DSI3_SEL_IN_RDMA2 + }, { + DDP_COMPONENT_UFOE, DDP_COMPONENT_DSI0, + DISP_REG_CONFIG_DISP_UFOE_MOUT_EN, UFOE_MOUT_EN_DSI0, + UFOE_MOUT_EN_DSI0 } };