drm/amdgpu: filter out radeon PCI device IDs
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Aug 2021 21:17:10 +0000 (17:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2022 18:12:38 +0000 (19:12 +0100)
commitf724a438d986701536d68d29ad2b5248385e35ab
treeb8192b40e7284c7918e0f82e842d63c515e5b107
parent48cf33ee6b04ccd1a188ac692a6f260b3682fe9f
drm/amdgpu: filter out radeon PCI device IDs

[ Upstream commit bdbeb0dde4258586bb2f481b12da1e83aa4766f3 ]

Once we claim all 0x1002 PCI display class devices, we will
need to filter out devices owned by radeon.

v2: rename radeon id array to make it more clear that
the devices are not supported by amdgpu.
    add r128, mach64 pci ids as well

Acked-by: Christian König <christian.koenig@amd.com> (v1)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c