diff mbox

drm: Reduce verbosity level for drm_core_init() debug message

Message ID 20161229133729.32673-1-chris@chris-wilson.co.uk (mailing list archive)
State New, archived
Headers show

Commit Message

Chris Wilson Dec. 29, 2016, 1:37 p.m. UTC
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@chris-wilson.co.uk>
---
 drivers/gpu/drm/drm_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Daniel Vetter Dec. 30, 2016, 11:17 a.m. UTC | #1
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@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
diff mbox

Patch

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: