]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: drop drm_firmware_drivers_only()
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Mar 2025 20:57:50 +0000 (16:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Mar 2025 18:03:37 +0000 (14:03 -0400)
commit4db4c82d4db7aeded480d905624396dc284db090
treea2de24366220b7eed09980faf4fce17b7cb015f8
parenteb6cdfb807d038d9b9986b5c87188f28a4071eae
drm/amdgpu: drop drm_firmware_drivers_only()

There are a number of systems and cloud providers out there
that have nomodeset hardcoded in their kernel parameters
to block nouveau for the nvidia driver.  This prevents the
amdgpu driver from loading. Unfortunately the end user cannot
easily change this.  The preferred way to block modules from
loading is to use modprobe.blacklist=<driver>.  That is what
providers should be using to block specific drivers.

Drop the check to allow the driver to load even when nomodeset
is specified on the kernel command line.

Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c