From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.199.235.221 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795373099; b=du1MRbMXXLzTzJCS3JeH7vlX19DFVaak9D8W7wFY3mck+0XNlnYUfl75sNeISDEuMGES DKKql9HYTq8rnkCXt5B6wntPEuq+8ZGYdGGjBJyDyjbMPFpYtwsv+zcahSIMYksP08PTS ivJwZ0E1B1+e0TKuiE1ZCPHqK/7itT1IKOq9VYZXLW6o3C+qOZ6K0cmTs1eD4inNgyf6y 2lqYpSK+t6QX0bYxSsEQcW2RGIupTUmObtSJRsk1u/0an/tonE9uQKBpkVCVTyiyjoPV3 dlZvwPwQdmefyFWhdSMN84SkYdwLBArK0xqI6oSTy1dsyEDTHkA5HYV5gaHoNNlOctw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795373099; h=DMARC-Filter:Received:Received:DKIM-Filter:DKIM-Signature: X-Virus-Scanned:Received:Received:From:To:Cc:Subject:Date:Message-ID: X-Mailer:In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=Wlw1svGMrjSyOsVhDZN+3pXfMCPyNzszcBB5icjp1ng=; b=kqpu0NhPVCBWQlb6yaaqZmwPUMFXlRveeUnT5lVXlLvXZ2NZFKVoqvWrpMpbwPMsqfHH mOzNYR6STlgcjwmpCMlR37+iu+M7kbrI/GMJzsO6YNGnt4ZALBghgEMsJPs2A7S1/vvX9 RzZto9RP5MrUpQ3uFJ7Kk+GjdPPIazoUTRCy2fqmNNKOSvCpJ5NcqJjHoA75UMUuLSvqF NaywDWyL91urKcckzcy7eWyVhb20iicr57hjw5nxZ1aMSfL87rU+2hZnwSSMcXbXWeT7P aLjfM2H8yKEQeB1W0NYPeTfWALIyw4a1nzViOWLVKy/R/h7p6ZhuwdDdDYquEY5sjdw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=cirad.fr; spf=pass smtp.mailfrom=cirad.fr; dkim=pass header.d=cirad.fr header.i=@cirad.fr header.a=rsa-sha256 header.s=573E3878-7916-11F1-BF4B-F68474317960 header.b="iR2tK3Y/"; arc=none smtp.remote-ip=194.199.235.221 Received: from retz.cirad.fr (retz.cirad.fr [194.199.235.221]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 059A0606A337; Sun, 22 Nov 2026 18:44:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 059A0606A337 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cirad.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cirad.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cirad.fr header.i=@cirad.fr header.a=rsa-sha256 header.s=573E3878-7916-11F1-BF4B-F68474317960 header.b=iR2tK3Y/ Received: from retz.cirad.fr (localhost [127.0.0.1]) by retz.cirad.fr (Postfix) with ESMTPS id 93A7E20DD5C1; Sun, 22 Nov 2026 19:44:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by retz.cirad.fr (Postfix) with ESMTP id 65EE120DD202; Sun, 22 Nov 2026 19:44:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 retz.cirad.fr 65EE120DD202 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirad.fr; s=573E3878-7916-11F1-BF4B-F68474317960; t=1795373089; bh=Wlw1svGMrjSyOsVhDZN+3pXfMCPyNzszcBB5icjp1ng=; h=From:To:Date:Message-ID:MIME-Version; b=iR2tK3Y/S2/4lQgIxr70F7/QIwDFHg4OL8p7uqlRv9HZKlbZHOery4Gw5327vbRKz icd6lLGlmLeGgSRburc3EtiE0UFypWelwsQZ+BIoJW6BKIG402/U1wqqQcyA9Y6uoF 3D8Qsd3jmYBe00ftVa05RQqFAyec8+On6y3/cRg6riQOOd9+MKa9iidRvpbdkEetsX 72e1vjSyFrgH/17PSHbtnnpq4W7X4riDDTs9pMaAWeAlKK7VsqPaUs4WVxMrPxeQVl o+XDqNyursduK4ZN1AKmEIk5aKtlNYbCqbBUJdf/tbzZ/WI0n469kBKFePlhjN5NOy jkEtNSP+qUTBQ== X-Virus-Scanned: amavis at retz.cirad.fr Received: from retz.cirad.fr ([127.0.0.1]) by localhost (retz.cirad.fr [127.0.0.1]) (amavis, port 10026) with ESMTP id p24HhIr6dker; Sun, 22 Nov 2026 19:44:49 +0100 (CET) Received: from localhost.localdomain (78-196-243-100.subs.proxad.net [78.196.243.100]) by retz.cirad.fr (Postfix) with ESMTPSA id D0A3620DD5C1; Sun, 22 Nov 2026 19:44:47 +0100 (CET) From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Mah=C3=A9?= To: Iker Pedrosa Cc: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Mah=C3=A9?= , Alessio Belle , Luigi Santivetti , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Troy Mitchell , Baihui Liang , imagination@lists.freedesktop.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev Subject: Re: [PATCH v2] riscv: dts: spacemit: k1: add PowerVR GPU device node Date: Sun, 22 Nov 2026 19:44:33 +0100 Message-ID: <20261122184434.545341-1-frederic.mahe@cirad.fr> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261118-orangepi-gpu-v2-1-f68676f844eb@gmail.com> References: <20261118-orangepi-gpu-v2-1-f68676f844eb@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Iker, Tested on a Banana Pi BPI-F3, on v7.4-rc1 plus Yixun's CCU pm-aux patches and pmdomain v5 (and the riscv reboot fix), with the firmware from your link: - the gpu power domain turns on, firmware v1.1 (build 6976702) loads, and card0/renderD128 appear. The GPU interrupt (75) fires; - a reboot afterwards is clean. Two notes: - On v7.4-rc1 the driver refuses the GPU ("Unknown GPU! Set 'exp_hw_support' to bypass this check"); with powervr.exp_hw_support=3D1 it works as above. Is a driver patch adding the K1 GPU pending somewhere? - The GPU never runtime-suspends: after 160 s idle, runtime_suspended_time is still 0 and the power domain stays on (autosuspend 50 ms). That looks like what Baihui's "drm/imagination: re-check firmware idle state before runtime suspend" fixes. I could not test rendering: Debian 13's Mesa (25.0.7, riscv64) has no PowerVR Vulkan driver. Tested-by: Fr=C3=A9d=C3=A9ric Mah=C3=A9 # BPI-F3 Fr=C3=A9d=C3=A9ric