drm/amdkfd: report the real PCI bus number
authorEvan Quan <evan.quan@amd.com>
Thu, 21 May 2020 03:30:28 +0000 (11:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 May 2020 16:48:42 +0000 (12:48 -0400)
commit997769fa806b62cbc1eff4b777aee088b5997508
treecac8611e404f7901cb58f32b7acdd4fc0496e481
parenta89b5dae3e68e5a543c5bcbeb04cf9a1dec2e687
drm/amdkfd: report the real PCI bus number

Since the PCI bus number retrieved by PCI_BUS_NUM(pdev->devfn)
is wrong.

Signed-off-by: Evan Quan <evan.quan@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_iommu.c