drm: Don't print messages if drivers are disabled due nomodeset
authorJavier Martinez Canillas <javierm@redhat.com>
Fri, 12 Nov 2021 13:32:25 +0000 (14:32 +0100)
committerJavier Martinez Canillas <javierm@redhat.com>
Sat, 27 Nov 2021 12:52:16 +0000 (13:52 +0100)
commit35f7775f81bf8147b5b8b11958e15c0cc364b7c0
tree931ae4076465bcde02fe20b80a6124da371ab071
parent6e22dc35837790a84fc040f08e5094b2d5d91477
drm: Don't print messages if drivers are disabled due nomodeset

The nomodeset kernel parameter handler already prints a message that the
DRM drivers will be disabled, so there's no need for drivers to do that.

Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211112133230.1595307-2-javierm@redhat.com
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/radeon/radeon_drv.c