Re: logging:convert dev_info to drm_info

2022-10-18 Thread Thomas Zimmermann

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¶



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
jianengchenc...@gmail.com




--
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


OpenPGP_signature
Description: OpenPGP digital signature


Re: logging:convert dev_info to drm_info

2022-10-18 Thread Jani Nikula
On Tue, 18 Oct 2022, jianengchencool  wrote:
> 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.

-- 
Jani Nikula, Intel Open Source Graphics Center