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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 33DD2D3EE8A for ; Thu, 22 Jan 2026 16:10:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A2D3C10EA2F; Thu, 22 Jan 2026 16:10:48 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="aNmNHAwh"; dkim-atps=neutral Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id 10C3C10EA29 for ; Thu, 22 Jan 2026 16:10:45 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 82E8F60130; Thu, 22 Jan 2026 16:10:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3D3AC116C6; Thu, 22 Jan 2026 16:10:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769098244; bh=QijF92eYDRa+yIK2vhm3tFsLRnjMqoXf04XxHtZ1MqA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aNmNHAwh6+Ee4JCUL4XYjXlSPA2GuhsMMlfHRnFJ6eE5hI52R5FhC4VvVlVsVK+JO lSQ5dkSapp/JDxlyK2cEO8GQZP7Q/9+d4PHDlMoUX3+KX2V/V7GN+pFy+nXWOnPAjB U5/uIxdgKucOEy9mOvYK6rmUaFPTD88lcW7WPzYuGyyQibKL/6Mn9MKWAfFdAM8lR8 t1wh6jYr2oHCbwVJ5PEK7wNKP1q36BAZHinnOMwwLtL8Ax95HNWPVSne5iLwxdxxD/ 26apQxbErgrDUBUos5ALL/Cc5k44dWIBDqG3h0M/k/DTF8X3yvxvmRlpzUN4w9Z2Ai vYcGFh2zIDG9Q== From: Thierry Reding To: Thierry Reding , David Airlie , Simona Vetter , Sumit Semwal Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Benjamin Gaignard , Brian Starkey , John Stultz , "T . J . Mercier" , Andrew Morton , David Hildenbrand , Mike Rapoport , Sumit Garg , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linaro-mm-sig@lists.linaro.org, linux-mm@kvack.org Subject: [PATCH v2 10/10] arm64: tegra: Hook up VPR to the GPU Date: Thu, 22 Jan 2026 17:10:09 +0100 Message-ID: <20260122161009.3865888-11-thierry.reding@kernel.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260122161009.3865888-1-thierry.reding@kernel.org> References: <20260122161009.3865888-1-thierry.reding@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Thierry Reding The GPU needs to be idled before the VPR can be resized and unidled afterwards. Associate it with the VPR using the standard memory-region device tree property. Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi index cfffa4f2f196..21db5d107bc4 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi @@ -5338,6 +5338,9 @@ gpu@17000000 { <&bpmp TEGRA234_CLK_GPC1CLK>; clock-names = "sys", "gpc0", "gpc1"; resets = <&bpmp TEGRA234_RESET_GPU>; + + memory-region-names = "protected"; + memory-region = <&vpr>; }; sram@40000000 { -- 2.52.0