drm/amdkfd: Print bdf in peer map failure message
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Wed, 16 Feb 2022 01:26:24 +0000 (20:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 19:26:35 +0000 (14:26 -0500)
commit0c41b9b561dbd81dd3955c4c8b59d55244a80100
tree41b1cb739c8ba09896665777d753c5d369a76526
parent5ac34ff1a41b05c3b22f8b4ce4bf7181246c8bc2
drm/amdkfd: Print bdf in peer map failure message

Print alloc node, peer node and memory domain when peer map fails. This
is more useful

v2: use dev_err instead of pr_err
    use bdf for identify peer gpu

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