]> git.hungrycats.org Git - linux/commit
drm/amdgpu: add amdgpu.ptl module parameter for PTL control
authorPerry Yuan <perry.yuan@amd.com>
Sun, 8 Feb 2026 16:42:10 +0000 (00:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 May 2026 19:55:56 +0000 (15:55 -0400)
commitb6dc8f753670e3833150482c1b7640b1fd3b30a3
treede5d9ae9c69a05e7fef916efd2cb64e28c031132
parent950688d2417085f30feb6ec48c85eeda53841ea2
drm/amdgpu: add amdgpu.ptl module parameter for PTL control

Add a new kernel module parameter 'amdgpu.ptl' to allow
users to enable or disable PTL feature at driver loading time.

Parameter values:
  *) 0 or -1: disable PTL (default)
  *) 1: enable PTL
  *) 2: permanently disable PTL

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/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
drivers/gpu/drm/amd/include/amdgpu_ptl.h