Re: [PATCH v1 1/8] drm/print: document logging functions

2019-12-23 Thread Sam Ravnborg
Hi Jani. > > + * > > + * Each of the debug logging macros use a specific category, and the > > logging > > + * is filtered by the drm.debug module parameter. The &drm_debug_category > > enum > > + * specifies the values for the interface. > > + * > > + * Each drm_dbg_ macro logs to a DRM_UT_ cat

Re: [PATCH v1 1/8] drm/print: document logging functions

2019-12-23 Thread Jani Nikula
On Sat, 21 Dec 2019, Sam Ravnborg wrote: > This is the documentation I have missed when I looked for help > how to do proper logging. Hopefully it can help others. > > Signed-off-by: Sam Ravnborg > Cc: Jani Nikula > Cc: Sean Paul > Cc: Daniel Vetter > --- > Documentation/gpu/drm-internals.rst

[PATCH v1 1/8] drm/print: document logging functions

2019-12-21 Thread Sam Ravnborg
This is the documentation I have missed when I looked for help how to do proper logging. Hopefully it can help others. Signed-off-by: Sam Ravnborg Cc: Jani Nikula Cc: Sean Paul Cc: Daniel Vetter --- Documentation/gpu/drm-internals.rst | 6 ++ include/drm/drm_print.h | 91