]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8958ed51ea83a3de5c5e014f4d8773fcc7d018c0
tree41b1cb739c8ba09896665777d753c5d369a76526
parent11caab95aab6b8a424dfb4d4f3179c672dfe6fc9
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