]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/tegra: Explicitly specify PMC instance to use
authorThierry Reding <treding@nvidia.com>
Mon, 3 Feb 2025 15:28:38 +0000 (16:28 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 28 May 2026 20:46:30 +0000 (22:46 +0200)
commite68c4244136b8e9c2a9fc3aaa4d748be83afddef
treef68504d06342655e549f5b3ce66c88d03ef38783
parent3ef27f1ad5ed0e36c2dac82876ef7dde33a588f2
drm/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: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/dc.h
drivers/gpu/drm/tegra/gr3d.c
drivers/gpu/drm/tegra/sor.c