linux/drivers/gpu/drm/bridge/synopsys
Heiko Stuebner f2b0e26465 drm/bridge/synopsys: dsi: don't call __dw_mipi_dsi_probe from dw_mipi_dsi_bind
__dw_mipi_dsi_probe() does all the grabbing of resources and does it using
devm-helpers. So this is happening on each try of master bringup possibly
slowing down things a lot.

Drivers using the component framework may instead want to call
dw_mipi_dsi_probe separately in their probe function to setup resources
early. That way the dsi bus also gets created earlier and also not
recreated on each bind-try, so that attached panels can load their modules
and be probed way before the bridge-attach in the bind call.

So drop the call to __dw_mipi_dsi_probe and modify the function to take
a struct dw_mipi_dsi instead of the platform-device.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181001123845.11818-3-heiko@sntech.de
2018-10-30 14:06:10 +01:00
..
dw-hdmi-ahb-audio.c drm: bridge: dw-hdmi: constify snd_pcm_ops structures 2017-08-09 15:57:29 +05:30
dw-hdmi-audio.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dw-hdmi-cec.c drm/bridge: dw-hdmi: add cec driver 2017-08-07 16:18:53 +05:30
dw-hdmi-cec.h drm/bridge: dw-hdmi: add cec driver 2017-08-07 16:18:53 +05:30
dw-hdmi-i2s-audio.c drm: dw-hdmi-i2s: Remove owner assignment from platform_driver 2018-04-23 08:55:21 +02:00
dw-hdmi.c drm/atomic-helper: Unexport drm_atomic_helper_best_encoder 2018-10-05 18:04:09 +02:00
dw-hdmi.h drm/bridge: dw-hdmi: remove CEC engine register definitions 2017-08-07 16:19:13 +05:30
dw-mipi-dsi.c drm/bridge/synopsys: dsi: don't call __dw_mipi_dsi_probe from dw_mipi_dsi_bind 2018-10-30 14:06:10 +01:00
Kconfig drm/bridge: dw-hdmi: add cec driver 2017-08-07 16:18:53 +05:30
Makefile drm/bridge/synopsys: remove commented-out flag in Makefile 2018-07-27 09:34:06 +02:00