1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/msm
Dmitry Baryshkov 92cb1bedde drm/msm/dsi: fix initialization in the bonded DSI case
Commit 739b4e7756 ("drm/msm/dsi: Fix an error code in
msm_dsi_modeset_init()") changed msm_dsi_modeset_init() to return an
error code in case msm_dsi_manager_validate_current_config() returns
false. However this is not an error case, but a slave DSI of the bonded
DSI link. In this case msm_dsi_modeset_init() should return 0, but just
skip connector and bridge initialization.

To reduce possible confusion, drop the
msm_dsi_manager_validate_current_config() function, and specif 'bonded
&& !master' condition directly in the msm_dsi_modeset_init().

Fixes: 739b4e7756 ("drm/msm/dsi: Fix an error code in msm_dsi_modeset_init()")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Link: https://lore.kernel.org/r/20211125180114.561278-1-dmitry.baryshkov@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
2021-12-08 09:12:58 -08:00
..
adreno drm/msm: Allocate msm_drm_private early and pass it as driver data 2021-12-06 09:22:51 -08:00
disp drm/msm/dpu: fix CDP setup to account for multirect index 2021-12-08 02:51:20 +03:00
dp drm/msm/dp: employ bridge mechanism for display enable and disable 2021-12-07 15:23:24 -08:00
dsi drm/msm/dsi: fix initialization in the bonded DSI case 2021-12-08 09:12:58 -08:00
hdmi drm/msm/hdmi: switch to drm_bridge_connector 2021-12-07 14:47:11 -08:00
Kconfig drm/msm/dp: displayPort driver need algorithm rational 2021-12-07 14:47:11 -08:00
Makefile drm/msm/hdmi: switch to drm_bridge_connector 2021-12-07 14:47:11 -08:00
msm_atomic.c drm/msm: Add hrtimer + kthread_work helper 2021-10-15 16:35:39 -07:00
msm_atomic_trace.h drm/msm: add atomic traces 2019-09-03 16:17:02 -07:00
msm_atomic_tracepoints.c drm/msm: add atomic traces 2019-09-03 16:17:02 -07:00
msm_debugfs.c drm/msm: Add debugfs to disable hw err handling 2021-11-28 09:56:47 -08:00
msm_debugfs.h drm: convert .debugfs_init() hook to return void. 2020-03-18 17:53:28 +01:00
msm_drv.c drm/msm: Initialize MDSS irq domain at probe time 2021-12-06 09:22:51 -08:00
msm_drv.h drm/msm/dp: employ bridge mechanism for display enable and disable 2021-12-07 15:23:24 -08:00
msm_fb.c drm/msm: Move FB debug prints to drm_dbg_state() 2021-06-23 07:32:15 -07:00
msm_fbdev.c drm/msm: Remove unnecessary struct_mutex 2021-11-28 09:50:33 -08:00
msm_fence.c drm/msm: Track "seqno" fences by idr 2021-07-27 18:09:18 -07:00
msm_fence.h drm/msm: Handle fence rollover 2021-11-28 09:56:47 -08:00
msm_gem.c Merge remote-tracking branch 'drm/drm-next' into msm-next-staging 2021-12-06 09:14:28 -08:00
msm_gem.h Merge drm/drm-next into drm-misc-next 2021-09-14 09:25:30 +02:00
msm_gem_prime.c drm/msm: Implement mmap as GEM object function 2021-08-07 11:48:37 -07:00
msm_gem_shrinker.c drm/msm: Fix missing include files in msm_gem_shrinker.c 2021-10-21 09:46:02 -07:00
msm_gem_submit.c drm/msm/gpu: Don't allow zero fence_id 2021-12-07 14:34:18 -08:00
msm_gem_vma.c drm/msm: Leave inuse count intact on map failure 2020-09-22 08:28:15 -07:00
msm_gpu.c drm/msm: Handle fence rollover 2021-11-28 09:56:47 -08:00
msm_gpu.h drm/msm/gpu: Respect PM QoS constraints 2021-11-28 10:01:40 -08:00
msm_gpu_devfreq.c drm/msm/gpu: Respect PM QoS constraints 2021-11-28 10:01:40 -08:00
msm_gpu_trace.h drm/msm: Support evicting GEM objects to swap 2021-04-07 11:05:48 -07:00
msm_gpu_tracepoints.c drm/msm/gpu: Add trace events for tracking GPU submissions 2018-12-11 13:05:28 -05:00
msm_gpummu.c drm/msm: devcoredump iommu fault support 2021-06-23 07:33:55 -07:00
msm_iommu.c drm/msm: Fix display fault handling 2021-07-27 08:14:55 -07:00
msm_kms.h drm/msm: Initialize MDSS irq domain at probe time 2021-12-06 09:22:51 -08:00
msm_mmu.h drm/msm: devcoredump iommu fault support 2021-06-23 07:33:55 -07:00
msm_perf.c drm/msm: Remove struct_mutex usage 2021-11-28 09:50:33 -08:00
msm_rd.c drm/msm: Remove struct_mutex usage 2021-11-28 09:50:33 -08:00
msm_ringbuffer.c drm/msm: Remove struct_mutex usage 2021-11-28 09:50:33 -08:00
msm_ringbuffer.h drm/msm: Conversion to drm scheduler 2021-07-28 09:19:00 -07:00
msm_submitqueue.c drm/msm: unlock on error in get_sched_entity() 2021-10-15 16:52:32 -07:00
NOTES