logging:convert dev_info to drm_info
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines · jianengchencool
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?
Where are the patches?
BR,
Jani.
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Hi
Am 18.10.22 um 09:20 schrieb jianengchencool:
Quoted 4 lines
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
Quoted 18 lines
TODO list below:
Convert logging to drm_* functions with
drm_deviceparamater¶
<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.
Signature · 6 lines
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