linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] add new DRM_DEV_WARN macro
@ 2019-11-14 13:24 Wambui Karuga
  2019-11-15 11:52 ` Jani Nikula
  0 siblings, 1 reply; 5+ messages in thread
From: Wambui Karuga @ 2019-11-14 13:24 UTC (permalink / raw)
  To: maarten.lankhorst, mripard, sean, airlied, daniel, hjc
  Cc: heiko, dri-devel, linux-arm-kernel, linux-rockchip, linux-kernel

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.

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

-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] add new DRM_DEV_WARN macro
  2019-11-14 13:24 [PATCH 0/2] add new DRM_DEV_WARN macro Wambui Karuga
@ 2019-11-15 11:52 ` Jani Nikula
  2019-11-18 19:24   ` Sean Paul
  0 siblings, 1 reply; 5+ messages in thread
From: Jani Nikula @ 2019-11-15 11:52 UTC (permalink / raw)
  To: Wambui Karuga, maarten.lankhorst, mripard, sean, airlied, daniel, hjc
  Cc: linux-arm-kernel, linux-rockchip, dri-devel, linux-kernel

On Thu, 14 Nov 2019, Wambui Karuga <wambui.karugax@gmail.com> 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@intel.com




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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] add new DRM_DEV_WARN macro
  2019-11-15 11:52 ` Jani Nikula
@ 2019-11-18 19:24   ` Sean Paul
  2019-11-18 20:03     ` Daniel Vetter
  0 siblings, 1 reply; 5+ messages in thread
From: Sean Paul @ 2019-11-18 19:24 UTC (permalink / raw)
  To: Jani Nikula
  Cc: Wambui Karuga, maarten.lankhorst, mripard, sean, airlied, daniel,
	hjc, linux-arm-kernel, linux-rockchip, dri-devel, linux-kernel

On Fri, Nov 15, 2019 at 01:52:53PM +0200, Jani Nikula wrote:
> On Thu, 14 Nov 2019, Wambui Karuga <wambui.karugax@gmail.com> 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]
> 

This sounds good to me, I'd much prefer the non-caps versions of these
functions. So let's wait for those to bubble up and then convert rockchip to
drm_dev_*

Sean

> BR,
> Jani.
> 
> 
> [1] http://patchwork.freedesktop.org/patch/msgid/63d1e72b99e9c13ee5b1b362a653ff9c21e19124.1572258936.git.jani.nikula@intel.com
> 
> 
> 
> 
> >
> > 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

-- 
Sean Paul, Software Engineer, Google / Chromium OS

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] add new DRM_DEV_WARN macro
  2019-11-18 19:24   ` Sean Paul
@ 2019-11-18 20:03     ` Daniel Vetter
  2019-11-18 21:12       ` Sean Paul
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Vetter @ 2019-11-18 20:03 UTC (permalink / raw)
  To: Sean Paul
  Cc: Jani Nikula, Wambui Karuga, Maarten Lankhorst, Maxime Ripard,
	Dave Airlie, Sandy Huang, Linux ARM,
	open list:ARM/Rockchip SoC...,
	dri-devel, Linux Kernel Mailing List

On Mon, Nov 18, 2019 at 8:24 PM Sean Paul <sean@poorly.run> wrote:
> On Fri, Nov 15, 2019 at 01:52:53PM +0200, Jani Nikula wrote:
> > On Thu, 14 Nov 2019, Wambui Karuga <wambui.karugax@gmail.com> 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]
> >
>
> This sounds good to me, I'd much prefer the non-caps versions of these
> functions. So let's wait for those to bubble up and then convert rockchip to
> drm_dev_*

Care to ack Jani's patch directly, so this is all formal?

Jani, can you pls also add a todo.rst patch on top to adjust the
relevant item to the new color choice?

Wambui, I guess slight change of plans, it happens ...

Cheers, Daniel

>
> Sean
>
> > BR,
> > Jani.
> >
> >
> > [1] http://patchwork.freedesktop.org/patch/msgid/63d1e72b99e9c13ee5b1b362a653ff9c21e19124.1572258936.git.jani.nikula@intel.com
> >
> >
> >
> >
> > >
> > > 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
>
> --
> Sean Paul, Software Engineer, Google / Chromium OS



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] add new DRM_DEV_WARN macro
  2019-11-18 20:03     ` Daniel Vetter
@ 2019-11-18 21:12       ` Sean Paul
  0 siblings, 0 replies; 5+ messages in thread
From: Sean Paul @ 2019-11-18 21:12 UTC (permalink / raw)
  To: Daniel Vetter
  Cc: Sean Paul, Jani Nikula, Wambui Karuga, Maarten Lankhorst,
	Maxime Ripard, Dave Airlie, Sandy Huang, Linux ARM,
	open list:ARM/Rockchip SoC...,
	dri-devel, Linux Kernel Mailing List

On Mon, Nov 18, 2019 at 09:03:20PM +0100, Daniel Vetter wrote:
> On Mon, Nov 18, 2019 at 8:24 PM Sean Paul <sean@poorly.run> wrote:
> > On Fri, Nov 15, 2019 at 01:52:53PM +0200, Jani Nikula wrote:
> > > On Thu, 14 Nov 2019, Wambui Karuga <wambui.karugax@gmail.com> 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]
> > >
> >
> > This sounds good to me, I'd much prefer the non-caps versions of these
> > functions. So let's wait for those to bubble up and then convert rockchip to
> > drm_dev_*
> 
> Care to ack Jani's patch directly, so this is all formal?

I just time traveled to last week and acked the whole series :)

Sean

> 
> Jani, can you pls also add a todo.rst patch on top to adjust the
> relevant item to the new color choice?
> 
> Wambui, I guess slight change of plans, it happens ...
> 
> Cheers, Daniel
> 
> >
> > Sean
> >
> > > BR,
> > > Jani.
> > >
> > >
> > > [1] http://patchwork.freedesktop.org/patch/msgid/63d1e72b99e9c13ee5b1b362a653ff9c21e19124.1572258936.git.jani.nikula@intel.com
> > >
> > >
> > >
> > >
> > > >
> > > > 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
> >
> > --
> > Sean Paul, Software Engineer, Google / Chromium OS
> 
> 
> 
> -- 
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch

-- 
Sean Paul, Software Engineer, Google / Chromium OS

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-18 21:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-14 13:24 [PATCH 0/2] add new DRM_DEV_WARN macro Wambui Karuga
2019-11-15 11:52 ` Jani Nikula
2019-11-18 19:24   ` Sean Paul
2019-11-18 20:03     ` Daniel Vetter
2019-11-18 21:12       ` Sean Paul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).