drm/amdkfd: add debug set exceptions enabled operation
authorJonathan Kim <jonathan.kim@amd.com>
Wed, 27 Apr 2022 14:24:37 +0000 (10:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 16:36:21 +0000 (12:36 -0400)
commite90bf919f714ae2a658cdfd03238e7be9ce9185c
tree9b5c553943c509507d627da968431293b16fbb0f
parent12fb1ad70d65edc3405884792d044fa79df7244f
drm/amdkfd: add debug set exceptions enabled operation

The debugger subscibes to nofication for requested exceptions on attach.
Allow the debugger to change its subsciption later on.

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_chardev.c
drivers/gpu/drm/amd/amdkfd/kfd_debug.c
drivers/gpu/drm/amd/amdkfd/kfd_debug.h