Hi,

Any thoughts on this patch?

Pierre Moreau

On 03:23 AM - Mar 10 2014, Pierre Moreau wrote:
> Signed-off-by: Pierre Moreau <[email protected]>
> ---
> 
> 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
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/nouveau
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to