drm/amdkfd: check both client id and src id in interrupt handlers
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Dec 2020 21:31:18 +0000 (16:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:07:40 +0000 (15:07 -0500)
commitae279f693c1ce598da0c317a63a0241480f98b92
treee30922cc510f755a99e0f221f92f5f1b1c884e0e
parentf3e4a07fb7c9aa30bca2bcdedaa43259d8911281
drm/amdkfd: check both client id and src id in interrupt handlers

We can have the same src ids for different client ids so make sure to
check both the client id and the source id when handling interrupts.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c