[Intel-gfx] [PATCH] drm: Reduce verbosity level for drm_core_init() debug message

Daniel Vetter daniel at ffwll.ch
Fri Dec 30 11:17:16 UTC 2016


On Thu, Dec 29, 2016 at 01:37:29PM +0000, Chris Wilson wrote:
> Currently at the end of drm_core_init() we print
> 
> [    0.735185] [drm] Initialized
> 
> which does not provide any user information and is only a breadcrumb for
> developers, so reduce it from info to debug.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Applied to drm-misc, thanks.
-Daniel

> ---
>  drivers/gpu/drm/drm_drv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c
> index 2b75ce65d586..25783b99b651 100644
> --- a/drivers/gpu/drm/drm_drv.c
> +++ b/drivers/gpu/drm/drm_drv.c
> @@ -929,7 +929,7 @@ static int __init drm_core_init(void)
>  	if (ret < 0)
>  		goto error;
>  
> -	DRM_INFO("Initialized\n");
> +	DRM_DEBUG("Initialized\n");
>  	return 0;
>  
>  error:
> -- 
> 2.11.0
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list