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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1BE4DC3ABAC for ; Tue, 6 May 2025 09:02:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cUby8+oJiTXxmx37zu5laLL2CVtXZ3As/XtzHzaUktQ=; b=B59hY7rmuHbOYtEDTlGlo8nQMO 6N2l17bXXzW8xGjPhRGHowuSWNNdqIMZ1hFiee8vgzilnsVD+bqnKhtgJsFBf+i6L2vv6s9kUvny2 Su/lB7rvWz566QFgDPesHfDVtZklsLqXMz9mTzM6ds9D1mFWCJbOexZ6wev0wY78p+S7h6Lhtm+dz P05GO75PMHA2QtvWVToo6K/ej2ZjAciUd+JfznwW4u9QZ8wzLWTY8dxfq4nZUADMbxfLlPxDiG8Tv ccmeF/gb00wKitqnruFh8FsPSkvsx46GiuCln4mxNjGKiWK1vXhp+zgTWBazhV3uwS8o4uK4R1GNC Lne0osUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uCEBx-0000000BG3c-0JhD; Tue, 06 May 2025 09:02:21 +0000 Received: from bali.collaboradmins.com ([148.251.105.195]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uCDfK-0000000B9zw-01dg; Tue, 06 May 2025 08:28:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1746520115; bh=aKexJcbDf7RX3F6f/GBWM3WTi6g2qAawNgd8dqWrYnk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=RyLGBYPq8471eD7UwJB9vj9G6r0qqaxS65kOUFBDqw4QGrLM+TnxnFTJN+X5G8rCB jpTZttf+CjjWZ+4e2eHvWo6HmZUhunROKFqnYnCkSfjMJaqPtNdVao1Hwjtzgp+FYx 8OCxe0CdGaD2rNtlSQMHryGzRCQpSJzGETCwxwXmScintUXPD0wFiIRuf8NYGxW0CQ IFobyEtwrMLHWKwYZQTImV1iwTvsEV/l1ObZuo/rkVWicL3HoUlBIn2TO5aUw7BmI1 1CscvnNxDbjzOIyl4dnmkLvTI7sTUJMprgVoLAtmJv7Ns1sZxVONyQnX4KtKStkHpN sGxLjhXmUp6og== Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by bali.collaboradmins.com (Postfix) with ESMTPSA id 720E217E09BE; Tue, 6 May 2025 10:28:34 +0200 (CEST) Message-ID: <65012c1f-9888-4231-8e7f-c96b7f09053a@collabora.com> Date: Tue, 6 May 2025 10:28:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 2/3] drm/panfrost: Add support for Mali on the MT8370 SoC To: Louis-Alexis Eyraud , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , Boris Brezillon , Steven Price Cc: kernel@collabora.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20250502-mt8370-enable-gpu-v5-0-98e247b30151@collabora.com> <20250502-mt8370-enable-gpu-v5-2-98e247b30151@collabora.com> From: AngeloGioacchino Del Regno Content-Language: en-US In-Reply-To: <20250502-mt8370-enable-gpu-v5-2-98e247b30151@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250506_012838_190004_9C57FE12 X-CRM114-Status: GOOD ( 11.52 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Il 02/05/25 14:17, Louis-Alexis Eyraud ha scritto: > Add a compatible for the MediaTek MT8370 SoC, with an integrated ARM > Mali G57 MC2 GPU (Valhall-JM, dual core), with new platform data for > its support in the panfrost driver. > It uses the same data as MT8186 for the power management features to > describe power supplies, pm_domains and enablement (one regulator, two > power domains) but also sets the FORCE_AARCH64_PGTABLE flag in the GPU > configuration quirks bitfield to enable AARCH64 4K page table format > mode. > As MT8186 and MT8370 SoC have different GPU architecture (Mali G52 2EE > MC2 for MT8186), making them not compatible, and this mode is only > enabled for Mediatek SoC that are Mali G57 based (compatible with > mediatek,mali-mt8188 or mediatek,mali-8192), having specific platform > data allows to set this flag for MT8370 without modifying MT8186 > configuration and behaviour. > > Signed-off-by: Louis-Alexis Eyraud Reviewed-by: AngeloGioacchino Del Regno