]> www.infradead.org Git - users/hch/misc.git/commit
drm/amdgpu: adjust drm_firmware_drivers_only() handling
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Mar 2025 00:52:38 +0000 (20:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Mar 2025 18:03:38 +0000 (14:03 -0400)
commite00e5c223878a60e391e5422d173c3382d378f87
tree7f8cf65a6c3a6a7d1c4a3547e146aed0bf5c7c05
parent4db4c82d4db7aeded480d905624396dc284db090
drm/amdgpu: adjust drm_firmware_drivers_only() handling

Move to probe so we can check the PCI device type and
only apply the drm_firmware_drivers_only() check for
PCI DISPLAY classes.  Also add a module parameter to
override the nomodeset kernel parameter as a workaround
for platforms that have this hardcoded on their kernel
command lines.

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