[Intel-gfx] [RFC 5/5] drm: Do not log driver prefix in debug messages

Gustavo Padovan gustavo at padovan.org
Tue Dec 6 19:49:46 UTC 2016


Hi Tvrtko,

2016-12-06 Tvrtko Ursulin <tursulin at ursulin.net>:

> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> Driver prefix is a bit redundant in debug messages. If we choose
> not to log it we change debug messages which used to look like this:
> 
>  [i915:edp_panel_off [i915]] Wait for panel power off time
> 
> to this:
> 
>  [edp_panel_off [i915]] Wait for panel power off time

Why not remove the second mention to the driver's name instead.

[i915:edp_panel_off] looks more logic to me.



More information about the dri-devel mailing list