drm/amdkfd: Use real device for messages
authorFelix Kuehling <Felix.Kuehling@amd.com>
Fri, 18 Feb 2022 22:20:53 +0000 (17:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 19:02:50 +0000 (14:02 -0500)
commita0c5fd46b2510cb054bd4e1fa6c2f207424c97e5
tree4c15a063c0b3ebc66f8c3e86fd54afd2f37ed65c
parent8f7519b2f3a93f6eae76912be66188366cc47aed
drm/amdkfd: Use real device for messages

kfd_chardev() doesn't provide much useful information in dev_... messages
on multi-GPU systems because there is only one KFD device, which doesn't
correspond to any particular GPU. Use the actual GPU device to indicate
the GPU that caused a message.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@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_interrupt.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h