linux-yocto/drivers/gpu/drm/msm
Philip Chen 5a8358e0bf drm/msm/dsi: set default num_data_lanes
[ Upstream commit cd92cc187c ]

If "data_lanes" property of the dsi output endpoint is missing in
the DT, num_data_lanes would be 0 by default, which could cause
dsi_host_attach() to fail if dsi->lanes is set to a non-zero value
by the bridge driver.

According to the binding document of msm dsi controller, the
input/output endpoint of the controller is expected to have 4 lanes.
So let's set num_data_lanes to 4 by default.

Signed-off-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20211030100812.1.I6cd9af36b723fed277d34539d3b2ba4ca233ad2d@changeid
Signed-off-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-12-22 09:17:58 +01:00
..
adreno drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register 2021-03-11 13:51:06 +01:00
dsi drm/msm/dsi: set default num_data_lanes 2021-12-22 09:17:58 +01:00
edp drm/msm: Fix null pointer dereference on pointer edp 2021-10-20 10:42:05 +02:00
hdmi
mdp drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal 2021-05-22 10:57:20 +02:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
msm_atomic.c drm/msm: Grab a vblank reference when waiting for commit_done 2018-12-21 14:13:12 +01:00
msm_debugfs.c
msm_debugfs.h
msm_drv.c drm/msm: fix shutdown hook in case GPU components failed to bind 2021-03-30 14:40:11 +02:00
msm_drv.h
msm_fb.c
msm_fbdev.c drm/msm: don't deref error pointer in the msm_fbdev_create error path 2018-06-21 04:02:44 +09:00
msm_fence.c drm/msm: Ratelimit invalid-fence message 2021-04-10 13:20:11 +02:00
msm_fence.h
msm_gem_prime.c
msm_gem_shrinker.c
msm_gem_submit.c drm/msm: fix _NO_IMPLICIT fencing case 2017-10-12 14:21:22 -04:00
msm_gem_vma.c
msm_gem.c drm/msm: uninitialized variable in msm_gem_import() 2021-11-26 11:40:30 +01:00
msm_gem.h
msm_gpu.c drm/msm: fix error path cleanup 2017-10-12 14:19:08 -04:00
msm_gpu.h
msm_iommu.c drm/msm: Fix error return checking 2018-12-21 14:13:14 +01:00
msm_kms.h
msm_mmu.h
msm_perf.c
msm_rd.c drm/msm: Unblock writer if reader closes file 2019-03-05 17:57:58 +01:00
msm_ringbuffer.c
msm_ringbuffer.h
NOTES