drm/amdkfd: add per-vmid-debug map_process_support
authorJonathan Kim <jonathan.kim@amd.com>
Tue, 2 Mar 2021 16:28:36 +0000 (11:28 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Apr 2021 21:16:05 +0000 (17:16 -0400)
commitfd6a440ebc83d3ca3e3699fad6b34c9c523c008b
tree34ca839570e92d89f1a48b0ec4de46834c2af213
parent1d712be90a6d8af1d6d693cc936fc103376f7d36
drm/amdkfd: add per-vmid-debug map_process_support

In order to support multi-process debugging, HWS PM4 packet
MAP_PROCESS requires an extension of 5 DWORDS to support targeting of
per-vmid SPI debug control registers as well as watch points per process.

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>
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_v9.c
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_aldebaran.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdkfd/kfd_priv.h