[Intel-gfx] [PATCH 1/8] drm/print: introduce new struct drm_device based logging macros

Jani Nikula jani.nikula at intel.com
Tue Dec 10 12:34:33 UTC 2019


On Tue, 10 Dec 2019, Jani Nikula <jani.nikula at intel.com> wrote:
> Add new struct drm_device based logging macros modeled after the core
> kernel device based logging macros. These would be preferred over the
> drm printk and struct device based macros in drm code, where possible.

As to cover letter, patches 2-8 using the logging macros introduced here
are just the beginning. It's not trivial to write a cocci script to dig
up struct drm_device * where there is none, so much of it may need to be
done manually. But we could start here.

BR,
Jani.

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list