]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdkfd: Add PTL control IOCTL Option and unify refcount logic
authorPerry Yuan <perry.yuan@amd.com>
Sun, 8 Feb 2026 16:42:07 +0000 (00:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 May 2026 19:55:56 +0000 (15:55 -0400)
commitdd61e27535a6f5cfb32a847b282d2e3d5aebf46f
tree2014c59f8faf39adde7a8c99a53e98d333b6b2eb
parentd51a0439358d4eacd8beb39df619998d8340d232
drm/amdkfd: Add PTL control IOCTL Option and unify refcount logic

Introduce a new IOCTL option to allow userspace explicit control over
the Peak Tops Limiter (PTL) state for profiling

Link: https://github.com/ROCm/rocm-systems/tree/develop/projects/rocprofiler-sdk
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@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
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c
drivers/gpu/drm/amd/include/amdgpu_ptl.h
include/uapi/linux/kfd_ioctl.h