Re: [PATCH 0/2] add new DRM_DEV_WARN macro

From: Jani Nikula
Date: Fri Nov 15 2019 - 06:53:03 EST


On Thu, 14 Nov 2019, Wambui Karuga <wambui.karugax@xxxxxxxxx> wrote:
> This adds a new DRM_DEV_WARN helper macro for warnings log output that include
> device pointers. It also includes the use of the DRM_DEV_WARN macro in
> drm/rockchip to replace dev_warn.

I'm trying to solicit new struct drm_device based logging macros, and
starting to convert to those. [1]

BR,
Jani.


[1] http://patchwork.freedesktop.org/patch/msgid/63d1e72b99e9c13ee5b1b362a653ff9c21e19124.1572258936.git.jani.nikula@xxxxxxxxx




>
> Wambui Karuga (2):
> drm/print: add DRM_DEV_WARN macro
> drm/rockchip: use DRM_DEV_WARN macro in debug output
>
> drivers/gpu/drm/rockchip/inno_hdmi.c | 3 ++-
> include/drm/drm_print.h | 9 +++++++++
> 2 files changed, 11 insertions(+), 1 deletion(-)

--
Jani Nikula, Intel Open Source Graphics Center