]> git.hungrycats.org Git - linux/commit
drm/amdkfd: add kgd control interface for ptl
authorPerry Yuan <perry.yuan@amd.com>
Sun, 8 Feb 2026 16:42:04 +0000 (00:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 May 2026 19:55:55 +0000 (15:55 -0400)
commitc2396ee6143a364b013588af2e60759f449f2b60
tree8c330aa642d7bd681801bc94b703a00d0266b268
parentf9f9fe3a7efba665e1c17fb5186d616c4f0a350f
drm/amdkfd: add kgd control interface for ptl

Add kgd->ptl_ctrl() callback so KFD can query/enable/disable
PTL state through the PSP performance monitor interface.

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/amdgpu_amdkfd_gc_9_4_3.c
drivers/gpu/drm/amd/include/kgd_kfd_interface.h