Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp861957pxv; Thu, 24 Jun 2021 23:26:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEzUpv6611lPMIMqCfLF99YL7Xn4WwVAQzqkULZTaKfT83SVLME7CcTFq9Of6+DSOTgU2u X-Received: by 2002:a92:8e45:: with SMTP id k5mr6656848ilh.116.1624602372706; Thu, 24 Jun 2021 23:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624602372; cv=none; d=google.com; s=arc-20160816; b=GPF39tM6iGgq4nQpXBltKOBWELXt/+JbfTsK87xT6ZoQCsUiw8C6HICls8hahOzW6L q96SUq8EMXDD01GtkYzQYWu7OYEK6d0TODlc3wVPh92SqeCBoX2glcGbNeDY+5M4Cz5H ImL3uWJDclKlXj9jXycqXuBVzrEgmENsNuy5ecnws/akjTmyBoDB10olr/p+uCuXHZh+ PsBakaFnpx8U9xnOkhwJLZWcWsVAJCarwrJ51Pak9B7NI21iNnOI6yPBJHBvAl7gnoSE 9HDHlMpiNbeAoA7Z78+yn2aXZaD/LZZag0KTXOhB4+UGuCKn54M7X8FCLQkbnDX3CuF6 +0uw== 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 :message-id:date:subject:cc:to:from; bh=k6mIoxJRXpJ85h5yrmlJi6Xj5nNnQA+egXii1uZiR/I=; b=JnfDYN40fVZdhZezIQ7zzsPbkKf0EAPoPRVMSvxopqLyT2KpZ6tBYhDpYL62YKL7pv kafzG61ZbI8Gcj2k55QSOueydR2nHYY0X6uhTFzZNYYN4DWPz5QMEmDz+c2EI2+gFu7E Rx/OLRTkdgO3SkvwChjoIw/BSIsoxx3vzGGF9cRchBRsucnfvN8MgGbEmDBC8MAE8tb7 h1PdFvRMC0Vz342Cb+nPkHHSBsGruMP3CsoayDb45mvKWJM4+6yLt77HA6UN7h4UnstQ SpHfp8oP19UTvRghHovQcvQA+Qjp+4RJ0J8MxLueb4Zb7aMpJqldJS9MlFUlFAcPDuhf k6sA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t5si6189803ilu.154.2021.06.24.23.25.59; Thu, 24 Jun 2021 23:26:12 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233202AbhFYG1U (ORCPT + 99 others); Fri, 25 Jun 2021 02:27:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230192AbhFYG1T (ORCPT ); Fri, 25 Jun 2021 02:27:19 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAE22C061574 for ; Thu, 24 Jun 2021 23:24:58 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id E80A21F442CC From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Cc: eizan@chromium.org, linux-mediatek@lists.infradead.org, matthias.bgg@gmail.com, drinkcat@chromium.org, hsinyi@chromium.org, Collabora Kernel ML , CK Hu , linux-arm-kernel@lists.infradead.org Subject: [PATCH] soc: mediatek: mmsys: Fix missing UFOE component in mt8173 table routing Date: Fri, 25 Jun 2021 08:24:48 +0200 Message-Id: <20210625062448.3462177-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 taht 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 --- drivers/soc/mediatek/mtk-mmsys.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/soc/mediatek/mtk-mmsys.h b/drivers/soc/mediatek/mtk-mmsys.h index a760a34e6eca..11388961dded 100644 --- a/drivers/soc/mediatek/mtk-mmsys.h +++ b/drivers/soc/mediatek/mtk-mmsys.h @@ -209,6 +209,9 @@ static const struct mtk_mmsys_routes mmsys_default_routing_table[] = { }, { DDP_COMPONENT_RDMA2, DDP_COMPONENT_DSI3, DISP_REG_CONFIG_DSIO_SEL_IN, DSI3_SEL_IN_RDMA2 + }, { + DDP_COMPONENT_UFOE, DDP_COMPONENT_DSI0, + DISP_REG_CONFIG_DISP_UFOE_MOUT_EN, UFOE_MOUT_EN_DSI0, } }; -- 2.30.2