]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/nouveau: tegra: Explicitly specify PMC instance to use
authorThierry Reding <treding@nvidia.com>
Mon, 3 Feb 2025 15:27:02 +0000 (16:27 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 28 May 2026 20:46:26 +0000 (22:46 +0200)
commit3ef27f1ad5ed0e36c2dac82876ef7dde33a588f2
tree9de986aa4ca5526f98e95856c084b7ef72b3ae85
parent64e609f9299d457a88dec0bce68b42a434a78502
drm/nouveau: tegra: Explicitly specify PMC instance to use

Currently the kernel relies on a global variable to reference the PMC
context. Use an explicit lookup for the PMC and pass that to the public
PMC APIs.

Acked-by: Danilo Krummrich <dakr@kernel.org>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/nouveau/include/nvkm/core/tegra.h
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c