aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorJonathan Kim <jonathan.kim@amd.com>2022-04-04 12:27:43 -0400
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 12:35:36 -0400
commit97ae3c8cce96f3bebf883d0812cef5d3fdbe3e64 (patch)
tree85d5f10e46509887c84072850adf93698119695a /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parent7cee6a6824a0429a6255abe91b5af01b9a01cd03 (diff)
downloadlinux-97ae3c8cce96f3bebf883d0812cef5d3fdbe3e64.tar.gz
linux-97ae3c8cce96f3bebf883d0812cef5d3fdbe3e64.tar.bz2
linux-97ae3c8cce96f3bebf883d0812cef5d3fdbe3e64.zip
drm/amdkfd: prepare map process for single process debug devices
Older HW only supports debugging on a single process because the SPI debug mode setting registers are device global. The HWS has supplied a single pinned VMID (0xf) for MAP_PROCESS for debug purposes. To pin the VMID, the KFD will remove the VMID from the HWS dynamic VMID allocation via SET_RESOUCES so that a debugged process will never migrate away from its pinned VMID. The KFD is responsible for reserving and releasing this pinned VMID accordingly whenever the debugger attaches and detaches respectively. Signed-off-by: Jonathan Kim <jonathan.kim@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions