[Nouveau] [PATCH] drm/nouveau: print a message when KMS is disabled
Pierre Moreau
pierre.morrow at free.fr
Sat Jun 7 12:39:46 PDT 2014
Hi,
Any thoughts on this patch?
Pierre Moreau
On 03:23 AM - Mar 10 2014, Pierre Moreau wrote:
> Signed-off-by: Pierre Moreau <pierre.morrow at free.fr>
> ---
>
> If KMS is disabled, Nouveau will now announce in the logs that it won't load.
>
> (Adding Nouveau list as recipient.)
>
> drivers/gpu/drm/nouveau/nouveau_drm.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c
> index 89c484d..bb6409b 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_drm.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c
> @@ -984,8 +984,10 @@ nouveau_drm_init(void)
> #endif
> }
>
> - if (!nouveau_modeset)
> + if (!nouveau_modeset) {
> + DRM_INFO("Nouveau will not load as KMS was disabled.\n");
> return 0;
> + }
>
> nouveau_register_dsm_handler();
> return drm_pci_init(&driver, &nouveau_drm_pci_driver);
> --
> 1.9.0
>
> _______________________________________________
> Nouveau mailing list
> Nouveau at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau
More information about the Nouveau
mailing list