drm/amd: Drop messages in init for radeon, amdgpu
Limonciello, Mario
mario.limonciello at amd.com
Mon Jun 5 17:21:33 UTC 2023
On 6/5/2023 9:28 AM, Alex Deucher wrote:
> 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.
>
> Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2608
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 -
> drivers/gpu/drm/radeon/radeon_drv.c | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> index 7eda4f039224..94509b76fa6c 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> @@ -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();
>
> diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c
> index e4374814f0ef..16b9eab90185 100644
> --- a/drivers/gpu/drm/radeon/radeon_drv.c
> +++ b/drivers/gpu/drm/radeon/radeon_drv.c
> @@ -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);
More information about the amd-gfx
mailing list