[Intel-gfx] [RFC] drm: add DRM_DEBUG_CORE() and friends and use them

Jani Nikula jani.nikula at intel.com
Thu Jan 10 15:27:10 UTC 2019


On Thu, 27 Dec 2018, Jani Nikula <jani.nikula at intel.com> wrote:
> DRM_DEBUG() was intended to be used by the drm core code only, but we
> weren't careful. Today, the driver usage of DRM_DEBUG() trumps drm core
> usage about 10:1. It's easier to swith the core over to a new
> DRM_DEBUG_CORE() macro than the drivers over to DRM_DEBUG_DRIVER().
>
> Do the same for DRM_DEV_DEBUG() and the ratelimited ones as well.

Any thoughts on this one? Or should we just decide we don't need to
distinguish between core and drivers? Or should we move towards dev
based logging altogether?

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list