diff options
| author | Jonathan Kim <[email protected]> | 2022-04-04 16:27:43 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 16:35:36 +0000 |
| commit | 97ae3c8cce96f3bebf883d0812cef5d3fdbe3e64 (patch) | |
| tree | 85d5f10e46509887c84072850adf93698119695a /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
| parent | drm/amdgpu: add configurable grace period for unmap queues (diff) | |
| download | kernel-97ae3c8cce96f3bebf883d0812cef5d3fdbe3e64.tar.gz kernel-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 <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions
