All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/todo: Add s/dev_*/DRM_DEV_*/ coversion to TODO
@ 2017-09-08 14:32 Sean Paul
  2017-09-08 15:44 ` Daniel Vetter
  2017-09-08 17:47 ` Sean Paul
  0 siblings, 2 replies; 4+ messages in thread
From: Sean Paul @ 2017-09-08 14:32 UTC (permalink / raw)
  To: dri-devel, daniel.vetter
  Cc: Sean Paul, Jani Nikula, David Airlie, Jonathan Corbet, linux-doc

Now that we have the DRM_DEV_* variants, we should use them.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
---
 Documentation/gpu/todo.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
index 22af55d06ab8..e3b622094bf4 100644
--- a/Documentation/gpu/todo.rst
+++ b/Documentation/gpu/todo.rst
@@ -177,6 +177,17 @@ following drivers still use ``struct_mutex``: ``msm``, ``omapdrm`` and
 
 Contact: Daniel Vetter, respective driver maintainers
 
+Convert instances of dev_info/dev_err/dev_warn to their DRM_DEV_* equivalent
+----------------------------------------------------------------------------
+
+For drivers which could have multiple instances, it is necessary to
+differentiate between which is which in the logs. Since DRM_INFO/WARN/ERROR
+don't do this, drivers used dev_info/warn/err to make this differentiation. We
+now have DRM_DEV_* variants of the drm print macros, so we can start to convert
+those drivers back to using drm-formwatted specific log messages.
+
+Contact: Sean Paul, Maintainer of the driver you plan to convert
+
 Core refactorings
 =================
 
-- 
2.14.1.581.gf28d330327-goog


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

* Re: [PATCH] drm/todo: Add s/dev_*/DRM_DEV_*/ coversion to TODO
  2017-09-08 14:32 [PATCH] drm/todo: Add s/dev_*/DRM_DEV_*/ coversion to TODO Sean Paul
@ 2017-09-08 15:44 ` Daniel Vetter
  2017-09-08 16:09   ` Sean Paul
  2017-09-08 17:47 ` Sean Paul
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel Vetter @ 2017-09-08 15:44 UTC (permalink / raw)
  To: Sean Paul
  Cc: dri-devel, daniel.vetter, Jani Nikula, David Airlie,
	Jonathan Corbet, linux-doc

On Fri, Sep 08, 2017 at 10:32:07AM -0400, Sean Paul wrote:
> Now that we have the DRM_DEV_* variants, we should use them.
> 
> Signed-off-by: Sean Paul <seanpaul@chromium.org>

I think that's fairly ideal fodder for outreachy, assume we make sure the
driver maintainer is ok with the resulting torrent of patches first :-)
-Daniel

> ---
>  Documentation/gpu/todo.rst | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
> index 22af55d06ab8..e3b622094bf4 100644
> --- a/Documentation/gpu/todo.rst
> +++ b/Documentation/gpu/todo.rst
> @@ -177,6 +177,17 @@ following drivers still use ``struct_mutex``: ``msm``, ``omapdrm`` and
>  
>  Contact: Daniel Vetter, respective driver maintainers
>  
> +Convert instances of dev_info/dev_err/dev_warn to their DRM_DEV_* equivalent
> +----------------------------------------------------------------------------
> +
> +For drivers which could have multiple instances, it is necessary to
> +differentiate between which is which in the logs. Since DRM_INFO/WARN/ERROR
> +don't do this, drivers used dev_info/warn/err to make this differentiation. We
> +now have DRM_DEV_* variants of the drm print macros, so we can start to convert
> +those drivers back to using drm-formwatted specific log messages.
> +
> +Contact: Sean Paul, Maintainer of the driver you plan to convert
> +
>  Core refactorings
>  =================
>  
> -- 
> 2.14.1.581.gf28d330327-goog
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-doc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

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

* Re: [PATCH] drm/todo: Add s/dev_*/DRM_DEV_*/ coversion to TODO
  2017-09-08 15:44 ` Daniel Vetter
@ 2017-09-08 16:09   ` Sean Paul
  0 siblings, 0 replies; 4+ messages in thread
From: Sean Paul @ 2017-09-08 16:09 UTC (permalink / raw)
  To: Daniel Vetter
  Cc: dri-devel, Daniel Vetter, Jani Nikula, David Airlie,
	Jonathan Corbet, linux-doc

On Fri, Sep 8, 2017 at 11:44 AM, Daniel Vetter <daniel@ffwll.ch> wrote:
> On Fri, Sep 08, 2017 at 10:32:07AM -0400, Sean Paul wrote:
>> Now that we have the DRM_DEV_* variants, we should use them.
>>
>> Signed-off-by: Sean Paul <seanpaul@chromium.org>
>
> I think that's fairly ideal fodder for outreachy, assume we make sure the
> driver maintainer is ok with the resulting torrent of patches first :-)

I'll happily review patches that convert rockchip.

Sean

> -Daniel
>
>> ---
>>  Documentation/gpu/todo.rst | 11 +++++++++++
>>  1 file changed, 11 insertions(+)
>>
>> diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
>> index 22af55d06ab8..e3b622094bf4 100644
>> --- a/Documentation/gpu/todo.rst
>> +++ b/Documentation/gpu/todo.rst
>> @@ -177,6 +177,17 @@ following drivers still use ``struct_mutex``: ``msm``, ``omapdrm`` and
>>
>>  Contact: Daniel Vetter, respective driver maintainers
>>
>> +Convert instances of dev_info/dev_err/dev_warn to their DRM_DEV_* equivalent
>> +----------------------------------------------------------------------------
>> +
>> +For drivers which could have multiple instances, it is necessary to
>> +differentiate between which is which in the logs. Since DRM_INFO/WARN/ERROR
>> +don't do this, drivers used dev_info/warn/err to make this differentiation. We
>> +now have DRM_DEV_* variants of the drm print macros, so we can start to convert
>> +those drivers back to using drm-formwatted specific log messages.
>> +
>> +Contact: Sean Paul, Maintainer of the driver you plan to convert
>> +
>>  Core refactorings
>>  =================
>>
>> --
>> 2.14.1.581.gf28d330327-goog
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-doc" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> http://blog.ffwll.ch

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

* Re: [PATCH] drm/todo: Add s/dev_*/DRM_DEV_*/ coversion to TODO
  2017-09-08 14:32 [PATCH] drm/todo: Add s/dev_*/DRM_DEV_*/ coversion to TODO Sean Paul
  2017-09-08 15:44 ` Daniel Vetter
@ 2017-09-08 17:47 ` Sean Paul
  1 sibling, 0 replies; 4+ messages in thread
From: Sean Paul @ 2017-09-08 17:47 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter; +Cc: linux-doc, Jonathan Corbet

On Fri, Sep 8, 2017 at 10:32 AM, Sean Paul <seanpaul@chromium.org> wrote:
> Now that we have the DRM_DEV_* variants, we should use them.
>
> Signed-off-by: Sean Paul <seanpaul@chromium.org>


Applied to -misc-next with danvet's R-b.

Sean

> ---
>  Documentation/gpu/todo.rst | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
> index 22af55d06ab8..e3b622094bf4 100644
> --- a/Documentation/gpu/todo.rst
> +++ b/Documentation/gpu/todo.rst
> @@ -177,6 +177,17 @@ following drivers still use ``struct_mutex``: ``msm``, ``omapdrm`` and
>
>  Contact: Daniel Vetter, respective driver maintainers
>
> +Convert instances of dev_info/dev_err/dev_warn to their DRM_DEV_* equivalent
> +----------------------------------------------------------------------------
> +
> +For drivers which could have multiple instances, it is necessary to
> +differentiate between which is which in the logs. Since DRM_INFO/WARN/ERROR
> +don't do this, drivers used dev_info/warn/err to make this differentiation. We
> +now have DRM_DEV_* variants of the drm print macros, so we can start to convert
> +those drivers back to using drm-formwatted specific log messages.
> +
> +Contact: Sean Paul, Maintainer of the driver you plan to convert
> +
>  Core refactorings
>  =================
>
> --
> 2.14.1.581.gf28d330327-goog
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2017-09-08 17:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-08 14:32 [PATCH] drm/todo: Add s/dev_*/DRM_DEV_*/ coversion to TODO Sean Paul
2017-09-08 15:44 ` Daniel Vetter
2017-09-08 16:09   ` Sean Paul
2017-09-08 17:47 ` Sean Paul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.