2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/msm/disp/mdp5
Dmitry Baryshkov 5ccdcecaf8 drm/msm: lookup the ICC paths in both mdp5/dpu and mdss devices
The commit 6874f48bb8 ("drm/msm: make mdp5/dpu devices master
components") changed the MDP5 driver to look for the interconnect paths
in the MDSS device rather than in the MDP5 device itself. This was left
unnoticed since on my testing devices the interconnects probably didn't
reach the sync state.

Rather than just using the MDP5 device for ICC path lookups for the MDP5
devices, introduce an additional helper to check both MDP5/DPU and MDSS
nodes. This will be helpful for the MDP5->DPU conversion, since the
driver will have to check both nodes.

Fixes: 6874f48bb8 ("drm/msm: make mdp5/dpu devices master components")
Reported-by: Marijn Suijten <marijn.suijten@somainline.org>
Reported-by: Yassine Oudjana <y.oudjana@protonmail.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Marijn Suijten <marijn.suijten@somainline.org> # On sdm630
Tested-by: Yassine Oudjana <y.oudjana@protonmail.com> # msm8996
Patchwork: https://patchwork.freedesktop.org/patch/496488/
Link: https://lore.kernel.org/r/20220805115630.506391-1-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
2022-09-18 09:38:02 -07:00
..
mdp5_cfg.c drm/msm/mdp5: move iommu_domain_alloc() call close to its usage 2022-07-06 08:52:38 -07:00
mdp5_cfg.h drm/msm/mdp5: move iommu_domain_alloc() call close to its usage 2022-07-06 08:52:38 -07:00
mdp5_cmd_encoder.c drm/msm: allow compile time selection of driver components 2022-04-26 00:50:46 +03:00
mdp5_crtc.c drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03: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: lookup the ICC paths in both mdp5/dpu and mdss devices 2022-09-18 09:38:02 -07:00
mdp5_kms.h drm/msm: Avoid dirtyfb stalls on video mode displays (v2) 2022-02-25 07:59:58 -08:00
mdp5_mixer.c drm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected 2022-05-07 02:10:35 +03:00
mdp5_mixer.h drm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected 2022-05-07 02:10:35 +03:00
mdp5_pipe.c drm/msm/mdp5: Fix global state lock backoff 2022-07-07 10:02:09 -07:00
mdp5_pipe.h drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected 2022-05-07 02:10:35 +03:00
mdp5_plane.c drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
mdp5_smp.c drm: replace bitmap_weight with bitmap_empty where appropriate 2022-02-18 18:33:02 +03:00
mdp5_smp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp5.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00