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 23:00:32 +0000 (18:00 -0500)
commit25c6aefceee60850bf78e16ae9d7fcc4a9d20884
tree0db497ca27edae952114377f188ecf895215e02a
parenta685572c91b08e2e5143e52f4c5bbdd3d22271b3
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.

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