]> Gentwo Git Trees - linux/.git/commit
drm/nouveau: Support reclocking on gp10b
authorAaron Kling <webgeek1234@gmail.com>
Sat, 23 Aug 2025 17:26:05 +0000 (12:26 -0500)
committerLyude Paul <lyude@redhat.com>
Mon, 15 Sep 2025 18:15:55 +0000 (14:15 -0400)
commitd5603737e7ec8dedbd874d0a25f7071e45169e21
treeac709ddebd2a0ac83c4946afac9e75edc9b44068
parente3e4110610671027e3b56bda1ad9f6c51d5ac477
drm/nouveau: Support reclocking on gp10b

Starting with Tegra186, gpu clock handling is done by the bpmp and there
is little to be done by the kernel. The only thing necessary for
reclocking is to set the gpcclk to the desired rate and the bpmp handles
the rest. The pstate list is based on the downstream driver generates.

Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
[added newline before gp10b_clk macro declaration for checkpatch error]
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://lore.kernel.org/r/20250823-gp10b-reclock-v2-1-90a1974a54e3@gmail.com
drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/clk/Kbuild
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gp10b.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gp10b.h [new file with mode: 0644]