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

Jani Nikula jani.nikula at intel.com
Wed Mar 25 17:55:34 UTC 2020


On Wed, 25 Mar 2020, Daniel Vetter <daniel at ffwll.ch> 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 pretty much my conclusion as well, and decided not to pursue
it. I did consider documenting the easiest/recommended ways to get at
i915 from various types. TODO...

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list