]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdkfd: Update interrupt handling for GFX 9.4.3
authorMukul Joshi <mukul.joshi@amd.com>
Thu, 22 Jun 2023 19:24:32 +0000 (15:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Jun 2023 17:11:35 +0000 (13:11 -0400)
commitd4300362a66f2dacbf258e4ea233b79449821c24
tree529479fa987b15ba4978fdc2896d72fdc19ee757
parent570b295248b00c3cf4cf59e397de5cb2361e10c2
drm/amdkfd: Update interrupt handling for GFX 9.4.3

For GFX 9.4.3, interrupt handling needs to be updated for:
- Interrupt cookie will have a NodeId field. Each KFD
  node needs to check the NodeId before processing the
  interrupt.
- For CPX mode, there are additional checks of client ID
  needed to process the interrupt.
- Add NodeId to the process drain interrupt.

Signed-off-by: Mukul Joshi <mukul.joshi@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_int_process_v9.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c
drivers/gpu/drm/amd/amdkfd/soc15_int.h