OpenCloudOS-Kernel/drivers/gpu/drm/msm/disp/mdp5
Dmitry Baryshkov 2027e5b341 drm/msm: Initialize MDSS irq domain at probe time
Since commit 8f59ee9a57 ("drm/msm/dsi: Adjust probe order"), the
DSI host gets initialized earlier, but this caused unability to probe
the entire stack of components because they all depend on interrupts
coming from the main `mdss` node (mdp5, or dpu1).

To fix this issue, move mdss device initialization (which include irq
domain setup) to msm_mdev_probe() time, as to make sure that the
interrupt controller is available before dsi and/or other components try
to initialize, finally satisfying the dependency.

Fixes: 8f59ee9a57 ("drm/msm/dsi: Adjust probe order")
Co-Developed-By: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20211201202023.2313971-1-dmitry.baryshkov@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
2021-12-06 09:22:51 -08:00
..
mdp5.xml.h drm/msm: Generated register update 2021-06-23 07:33:54 -07:00
mdp5_cfg.c drm/msm/mdp5: Add configuration for MDP v1.16 2021-10-15 13:26:34 -07:00
mdp5_cfg.h drm/msm/mdp5: add perf blocks for holding fudge factors 2021-06-23 07:33:56 -07:00
mdp5_cmd_encoder.c drm/msm/mdp5: Disable pingpong autorefresh at tearcheck init 2021-04-09 12:02:35 -07:00
mdp5_crtc.c drm/msm/mdp5: fix cursor-related warnings 2021-10-11 17:30:53 -07:00
mdp5_ctl.c drm/msm/dsi: rename dual DSI to bonded DSI 2021-08-07 11:48:39 -07:00
mdp5_ctl.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
mdp5_encoder.c drm/msm/mdp5: Remove unused downstream bus scaling apis 2020-09-04 12:15:30 -07:00
mdp5_irq.c drm/msm: drop use of drmP.h 2019-09-03 16:16:57 -07:00
mdp5_kms.c drm/msm: Allocate msm_drm_private early and pass it as driver data 2021-12-06 09:22:51 -08:00
mdp5_kms.h Revert "drm/msm/mdp5: provide dynamic bandwidth management" 2021-06-23 14:06:20 -07:00
mdp5_mdss.c drm/msm: Initialize MDSS irq domain at probe time 2021-12-06 09:22:51 -08:00
mdp5_mixer.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp5_mixer.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp5_pipe.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp5_pipe.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp5_plane.c Revert "drm/msm/mdp5: provide dynamic bandwidth management" 2021-06-23 14:06:20 -07:00
mdp5_smp.c drm/msm/mdp5: Remove set but not used variable 'fmt' 2019-10-10 14:42:51 -04:00
mdp5_smp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00