]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca92c455d28f85d6fa2ce938e140193b2b6b0028
treecac8611e404f7901cb58f32b7acdd4fc0496e481
parent1c0670a0c282fb86aa15cdfb56478b2806eec3c3
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