On Fri, Mar 26, 2021 at 04:37:52PM -0400, Lyude Paul wrote:
This is something that we've wanted for a while now: the ability to actually look up the respective drm_device for a given drm_dp_aux struct. This will also allow us to transition over to using the drm_dbg_*() helpers for debug message printing, as we'll finally have a drm_device to reference for doing so.
Note that there is one limitation with this - because some DP AUX adapters exist as platform devices which are initialized independently of their respective DRM devices, one cannot rely on drm_dp_aux->drm_dev to always be non-NULL until drm_dp_aux_register() has been called. We make sure to point this out in the documentation for struct drm_dp_aux.
Signed-off-by: Lyude Paul lyude@redhat.com
[...]
drivers/gpu/drm/tegra/dpaux.c | 1 +
[...]
Acked-by: Thierry Reding treding@nvidia.com