[PATCH] drm: change logs to print connectors in the form CONNECTOR:id:name
Jani Nikula
jani.nikula at linux.intel.com
Mon Nov 15 10:38:43 UTC 2021
On Mon, 15 Nov 2021, Simon Ser <contact at emersion.fr> wrote:
> On Monday, November 15th, 2021 at 11:22, Jani Nikula <jani.nikula at linux.intel.com> wrote:
>
>> - Adding drm_dbg_connector() which would take drm_connector as context,
>> and do drm_dbg_kms() with the above prefix.
>
> This wouldn't work great in case multiple connectors/planes/etc are involved,
> or when drm_dbg_atomic() is used.
That's a good point, though you could still roll those cases manually.
It's also misleading as otherwise drm_dbg_* are categories that can be
enabled/disabled via drm.debug.
Again, just musing here.
BR,
Jani.
--
Jani Nikula, Intel Open Source Graphics Center
More information about the dri-devel
mailing list