drm/amd: Drop messages in init for radeon, amdgpu
Subsystems (2)
Alex Deucher
maintainerPATCH 1/1 drm/amd: Drop messages in init for radeon, amdgpu
Since there is overlap in supported devices, both modules load, but only one will bind to a particular device depending on the user's configuration. Drop the message in the module init function as this can be confusing to users.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 - drivers/gpu/drm/radeon/radeon_drv.c | 1 - 2 files changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +0 -1
@@ -3065,7 +3065,6 @@ static int __init amdgpu_init(void)if (r) goto error_fence; -DRM_INFO ("amdgpu kernel modesetting enabled.\n" );amdgpu_register_atpx_handler ();amdgpu_acpi_detect ();
drivers/gpu/drm/radeon/radeon_drv.c +0 -1
@@ -634,7 +634,6 @@ static int __init radeon_module_init(void)if (radeon_modeset ==0 )return -EINVAL ; -DRM_INFO ("radeon kernel modesetting enabled.\n" );radeon_register_atpx_handler ();return pci_register_driver (&radeon_kms_pci_driver);
Signature · 1 line
2.40.1
Quoted 8 lines · Alex Deucher
Since there is overlap in supported devices, both modules load, but only one will bind to a particular device depending on the user's configuration. Drop the message in the module init function as this can be confusing to users.
Reviewed-by Mario Limonciello <[email protected]>
Quoted 29 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 - drivers/gpu/drm/radeon/radeon_drv.c | 1 - 2 files changed, 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +0
-1@@ -3065,7 +3065,6 @@ static int __init amdgpu_init(void)if (r) goto error_fence; -DRM_INFO ("amdgpu kernel modesetting enabled.\n" );amdgpu_register_atpx_handler ();amdgpu_acpi_detect ();drivers/gpu/drm/radeon/radeon_drv.c +0
-1@@ -634,7 +634,6 @@ static int __init radeon_module_init(void)if (radeon_modeset ==0 )return -EINVAL ; -DRM_INFO ("radeon kernel modesetting enabled.\n" );radeon_register_atpx_handler ();return pci_register_driver (&radeon_kms_pci_driver);