]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b6de98844bc33d3c93d9eb4c64932b2882c4319
tree488abead8db9cb2bc6d1275508923ce7b0ac7e90
parentc836bdd2eb95ea88d3cfb074f25399a18399d2dc
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