logging:convert dev_info to drm_info

Thomas Zimmermann tzimmermann at suse.de
Tue Oct 18 14:58:55 UTC 2022


Hi

Am 18.10.22 um 09:20 schrieb jianengchencool:
> Hi,
> I want to convert logging dev_info/warn/err to drm_info/warn/err 
>   in drivers/gpu/drm/pl111, so I want to ask if this work will be merged?
> Thanks!

Well, just send the patches for review.

Best regards
Thomas

> 
> 
> TODO list below:
> 
> 
>     Convert logging to drm_* functions with drm_device paramater¶
>     <https://www.kernel.org/doc/html/latest/gpu/todo.html#convert-logging-to-drm-functions-with-drm-device-paramater>
> 
> For drivers which could have multiple instances, it is necessary to 
> differentiate between which is which in the logs. Since 
> DRM_INFO/WARN/ERROR don’t do this, drivers used dev_info/warn/err to 
> make this differentiation. We now have drm_* variants of the drm print 
> functions, so we can start to convert those drivers back to using 
> drm-formatted specific log messages.
> 
> Before you start this conversion please contact the relevant maintainers 
> to make sure your work will be merged - not everyone agrees that the DRM 
> dmesg macros are better.
> 
> 
> 	
> Neil
> jianengchencool at gmail.com
> 
> <https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&name=jianengchencool&uid=jianengchencool%40gmail.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22jianengchencool%40gmail.com%22%5D>

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20221018/dcf14f3b/attachment.sig>


More information about the dri-devel mailing list