OSDN Git Service

drm/amdkfd: add multi-process debugging support for GC v9.4.3
authorJonathan Kim <jonathan.kim@amd.com>
Wed, 15 Sep 2021 17:29:20 +0000 (13:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Jul 2023 15:12:09 +0000 (11:12 -0400)
commit41b8a08109e959e9f9d77246e630304e5971b397
tree2c121b712f1fbf1df327de6d302f95bef4f99ef3
parent7a93cc579c1e63d956d9ec124100a36d9798ffe8
drm/amdkfd: add multi-process debugging support for GC v9.4.3

Similar to GC v9.4.2, GC v9.4.3 should use the 5-Dword extended
MAP_PROCESS packet to support multi-process debugging.  Update the
mutli-process debug support list so that the KFD updates the runlist
on debug mode setting and that it allocates enough GTT memory during
KFD device initialization.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Reviewed-by: Jonathan Kim <jonathan.kim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_debug.h