linux/drivers/gpu/drm/msm/dp
AngeloGioacchino Del Regno ec919e6e71 drm/msm: Allocate msm_drm_private early and pass it as driver data
In preparation for registering the mdss interrupt controller earlier,
move the allocation of msm_drm_private from component bind time to
msm_drv probe; this also allows us to use the devm variant of kzalloc.

Since it is not right to allocate the drm_device at probe time (as
it should exist only when all components are bound, and taken down
when components get cleaned up), the only way to make this happen is
to pass a pointer to msm_drm_private as driver data (like done in
many other DRM drivers), instead of one to drm_device like it's
currently done in this driver.

This is also simplifying some bind/unbind functions around drm/msm,
as some of them are using drm_device just to grab a pointer to the
msm_drm_private structure, which we now retrieve in one call.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20211201105210.24970-2-angelogioacchino.delregno@collabora.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
2021-12-06 09:22:51 -08:00
..
dp_audio.c drm/msm/dp: initialize audio_comp when audio starts 2021-05-06 16:26:57 -07:00
dp_audio.h drm/msm/dp: add audio support for Display Port on MSM 2020-09-15 10:54:34 -07:00
dp_aux.c drm/msm/dp: Avoid unpowered AUX xfers that caused crashes 2021-11-22 10:16:05 -08:00
dp_aux.h drm/msm/dp: Handle aux timeouts, nacks, defers 2021-06-23 07:32:15 -07:00
dp_catalog.c drm/msm/dp: Store each subblock in the io region 2021-10-15 13:26:34 -07:00
dp_catalog.h drm/msm/dp: remove the repeated declaration 2021-06-23 07:33:53 -07:00
dp_ctrl.c drm/msm/dp: Enable ASSR for supported DP sinks 2021-11-28 09:32:03 -08:00
dp_ctrl.h drm/msm: Convert to use resource-managed OPP API 2021-06-23 07:33:52 -07:00
dp_debug.c drm/msm/dp: Simplify the dp_debug debugfs show function 2021-10-15 16:48:19 -07:00
dp_debug.h drm/msm/dp: Use the connector passed to dp_debug_get() 2021-10-15 16:40:09 -07:00
dp_display.c drm/msm: Allocate msm_drm_private early and pass it as driver data 2021-12-06 09:22:51 -08:00
dp_display.h drm/msm/dp: Allow attaching a drm_panel 2021-10-18 14:28:30 -07:00
dp_drm.c drm/msm/dp: Allow attaching a drm_panel 2021-10-18 14:28:30 -07:00
dp_drm.h
dp_hpd.c drm/msm/dp: Drop now unused hpd_high member 2021-11-29 16:19:58 -08:00
dp_hpd.h drm/msm/dp: Drop now unused hpd_high member 2021-11-29 16:19:58 -08:00
dp_link.c drm/msm/dp: add logs across DP driver for ease of debugging 2021-08-07 11:48:39 -07:00
dp_link.h drm/msm/dp: DisplayPort PHY compliance tests fixup 2020-11-04 08:26:25 -08:00
dp_panel.c drm/msm/dp: Remove redundant initialization of variable bpp 2021-10-15 13:26:33 -07:00
dp_panel.h drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets 2020-09-15 10:54:34 -07:00
dp_parser.c drm/msm/dp: fix missing #include 2021-10-26 09:31:24 -07:00
dp_parser.h drm/msm/dp: Allow attaching a drm_panel 2021-10-18 14:28:30 -07:00
dp_power.c drm/msm/dp: add logs across DP driver for ease of debugging 2021-08-07 11:48:39 -07:00
dp_power.h drm/msm/dp: Fixed couple of typos 2021-06-23 07:33:52 -07:00
dp_reg.h drm/msm/dp: return correct connection status after suspend 2020-11-10 12:38:58 -08:00