Re: [Intel-gfx] [PATCH 06/13] drm/i915/hdmi: use struct drm_device based logging

2020-03-25 Thread Jani Nikula
On Wed, 25 Mar 2020, Daniel Vetter wrote: > Hm I guess the foo_to_i915 idea doesn't scale, we'd need C++ and add > ->to_i915 to all of them somehow (but not even sure C++ is that powerful > with it's abstraction, definitely last time around I looked at it and that > was 20 years ago :-) This was

Re: [Intel-gfx] [PATCH 06/13] drm/i915/hdmi: use struct drm_device based logging

2020-03-25 Thread Daniel Vetter
On Fri, Mar 20, 2020 at 04:36:31PM +0200, Jani Nikula wrote: > Convert all the DRM_* logging macros to the struct drm_device based > macros to provide device specific logging. > > No functional changes. > > Generated using the following semantic patch, originally written by > Wambui Karuga , with

[Intel-gfx] [PATCH 06/13] drm/i915/hdmi: use struct drm_device based logging

2020-03-20 Thread Jani Nikula
Convert all the DRM_* logging macros to the struct drm_device based macros to provide device specific logging. No functional changes. Generated using the following semantic patch, originally written by Wambui Karuga , with manual fixups on top: @@ identifier fn, T; @@ fn(...,struct drm_i915_pri