linux/drivers/gpu/drm/amd/display
Lyude Paul 6cba3fe433 drm/dp: Add backpointer to drm_device in drm_dp_aux
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.

v3:
* Add WARN_ON_ONCE() to drm_dp_aux_register() if drm_dev isn't filled out

Signed-off-by: Lyude Paul <lyude@redhat.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210423184309.207645-4-lyude@redhat.com
Reviewed-by: Dave Airlie <airlied@redhat.com>
2021-04-27 18:43:42 -04:00
..
amdgpu_dm drm/dp: Add backpointer to drm_device in drm_dp_aux 2021-04-27 18:43:42 -04:00
dc drm/amd/display: Update DCN302 SR Exit Latency 2021-04-09 16:54:57 -04:00
dmub drm/amd/display: [FW Promotion] Release 0.0.59 2021-04-09 16:53:35 -04:00
include drm/amd/display: Use pr_debug in DM to prevent dmesg flooding 2021-04-09 16:49:32 -04:00
modules drm/amd/display: Fixed corruption on 4K tvs 2021-04-09 16:53:24 -04:00
Kconfig drm/amd/display: Support crc on specific region 2021-03-05 15:11:47 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO