drm/amdgpu: filter out radeon secondary ids as well
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Jan 2022 17:17:07 +0000 (12:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jan 2022 22:50:13 +0000 (17:50 -0500)
commit9e5a14bce2402e84251a10269df0235cd7ce9234
tree488abead8db9cb2bc6d1275508923ce7b0ac7e90
parent7e38ac562b820915faa33a5077ca9bccf42d39d2
drm/amdgpu: filter out radeon secondary ids as well

Older radeon boards (r2xx-r5xx) had secondary PCI functions
which we solely there for supporting multi-head on OSs with
special requirements.  Add them to the unsupported list
as well so we don't attempt to bind to them.  The driver
would fail to bind to them anyway, but this does so
in a cleaner way that should not confuse the user.

Cc: stable@vger.kernel.org
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c