]> 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)
commit270634fd236d95b2297325784c591108e4f41a62
tree488abead8db9cb2bc6d1275508923ce7b0ac7e90
parent320f97ec7f70560717617cec85140d530aa2ae0c
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