]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: add PTL enable/query gfx control support for GC 9.4.4
authorPerry Yuan <perry.yuan@amd.com>
Sun, 8 Feb 2026 16:42:03 +0000 (00:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 May 2026 19:55:55 +0000 (15:55 -0400)
commitf9f9fe3a7efba665e1c17fb5186d616c4f0a350f
tree150a9379105d183432bd27069645d64424bf5868
parent8ce9c73104e34f1fbb8d7f50468e4a62905331f2
drm/amdgpu: add PTL enable/query gfx control support for GC 9.4.4

Introduce hardware detection, runtime state tracking and a
kgd->ptl_ctrl() callback to enable/disable/query PTL via the
PSP performance-monitor interface (commands 0xA0000000/1).
The driver now exposes PTL capability to KFD and keeps the
software state in sync with the hardware.

Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c