From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3007B3594C; Mon, 7 Jul 2025 23:46:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751931995; cv=none; b=eWJ4X49kzxEC4T+FeGGR/XcKqSakxceVsob4E7Q+LyYc/pyEe7qBzhFsSgIRiioGpc7luaI99v1a7MhL9U1SjUkDRRg+LJkGK+1/y8/eokVf85idqNrfn1heuU3Ghah+r7Lb09zHK75yapK0b3npWS87nTWRnJ97mnnLlPbSuA8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751931995; c=relaxed/simple; bh=F2m+LN/rIkd7W1JLaA1OGRDZsJ1afAU5vhV4X22gK1U=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=daMGabkb24Ivwej2vdEmzb5OQvi3xA75Skh9tKIRvNChD+PtNXldEzDd8kVORcJ+fpalvhdhmz8HgMs3crKR6Wnq5U8cCflbR00DGGLb5DOidK0QPhEJ65mehUBT1HO9DtJo3wqC4Hc/Ls29q0FwgQNvgv+QyJ3WVDnbRNmDONg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E51BA1595; Mon, 7 Jul 2025 16:46:20 -0700 (PDT) Received: from minigeek.lan (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8E53B3F66E; Mon, 7 Jul 2025 16:46:31 -0700 (PDT) Date: Tue, 8 Jul 2025 00:44:58 +0100 From: Andre Przywara To: iuncuim Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] arm64: sunxi: a523: Enable Mali GPU Message-ID: <20250708004458.15a2feae@minigeek.lan> In-Reply-To: <20250706025625.2707073-1-iuncuim@gmail.com> References: <20250706025625.2707073-1-iuncuim@gmail.com> Organization: Arm Ltd. X-Mailer: Claws Mail 4.2.0 (GTK 3.24.31; x86_64-slackware-linux-gnu) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 6 Jul 2025 10:56:21 +0800 iuncuim wrote: > From: Mikhail Kalashnikov > > This patch adds gpu support on devices with a523 processor. Since there is > no support for image output yet, the gpu is disabled after boot up. > > $ dmesg | grep panfrost > [ 3.826968] panfrost 1800000.gpu: clock rate = 432000000 > [ 3.832305] panfrost 1800000.gpu: bus_clock rate = 200000000 > [ 3.838353] panfrost 1800000.gpu: mali-g57 id 0x9091 major 0x0 minor 0x1 > status 0x0 > [ 3.846050] panfrost 1800000.gpu: features: 00000000,000019f7, issues: > 00000001,80000400 > [ 3.854134] panfrost 1800000.gpu: Features: L2:0x07110206 Shader:0x00000000 > Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7 > [ 3.866011] panfrost 1800000.gpu: shader_present=0x1 l2_present=0x1 > [ 3.874108] [drm] Initialized panfrost 1.3.0 for 1800000.gpu on minor 0 So what confidence do we have that this really works, apart from these successful initialisation messages? Has this been shown to work with some (yet-out-of-tree) DRM patches, to produce 3D rendered output? I wonder if we should wait with upstreaming until we can really test this on some kind of screen. Cheers, Andre > > Tested on x96qproplus and walnutpi 2b devices. > > Based on v6.16-rc4 with patches: > https://lore.kernel.org/all/20250628054438.2864220-1-wens@kernel.org > https://lore.kernel.org/linux-sunxi/20250628161608.3072968-1-wens@kernel.org > https://lore.kernel.org/linux-sunxi/20250627152918.2606728-1-wens@kernel.org/ > > > iuncuim (2): > arm64: dts: allwinner: a523: add Mali GPU node > arm64: dts: allwinner: a523: enable Mali GPU for all boards > > arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 15 +++++++++++++++ > .../boot/dts/allwinner/sun55i-a527-cubie-a5e.dts | 5 +++++ > .../boot/dts/allwinner/sun55i-h728-x96qpro+.dts | 5 +++++ > .../boot/dts/allwinner/sun55i-t527-avaota-a1.dts | 5 +++++ > .../dts/allwinner/sun55i-t527-orangepi-4a.dts | 5 +++++ > 5 files changed, 35 insertions(+) >