mirror_ubuntu-kernels/drivers/gpu/drm/msm
Abhinav Kumar ab483e3adc drm/msm/dsi: skip the wait for video mode done if not applicable
dsi_wait4video_done() API waits for the DSI video mode engine to
become idle so that we can transmit the DCS commands in the
beginning of BLLP. However, with the current sequence, the MDP
timing engine is turned on after the panel's pre_enable() callback
which can send out the DCS commands needed to power up the panel.

During those cases, this API will always timeout and print out the
error spam leading to long bootup times and log flooding.

Fix this by checking if the DSI video engine was actually busy before
waiting for it to become idle otherwise this is a redundant wait.

changes in v2:
	- move the reg read below the video mode check
	- minor fixes in commit text

Closes: https://gitlab.freedesktop.org/drm/msm/-/issues/34
Fixes: a689554ba6 ("drm/msm: Initial add DSI connector support")
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/557853/
Link: https://lore.kernel.org/r/20230915204426.19011-1-quic_abhinavk@quicinc.com
2023-09-20 16:24:18 -07:00
..
adreno drm for 6.6-rc1 2023-08-30 13:34:34 -07:00
disp Merge branch 'msm-fixes' into msm-next 2023-08-07 14:10:18 -07:00
dp drm/msm/dp: do not reinitialize phy unless retry during link training 2023-09-20 16:19:24 -07:00
dsi drm/msm/dsi: skip the wait for video mode done if not applicable 2023-09-20 16:24:18 -07:00
hdmi drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
Kconfig fbdev: Use _SYSMEM_ infix for system-memory helpers 2023-07-31 20:07:15 +02:00
Makefile drm/msm/dpu: add support for DSC encoder v1.2 engine 2023-06-15 13:05:05 +03:00
msm_atomic_trace.h
msm_atomic_tracepoints.c
msm_atomic.c drm/msm/atomic: Don't try async if crtc not active 2023-04-24 13:18:36 -07:00
msm_debugfs.c drm/msm: Remove unnecessary (void*) conversions 2023-06-04 05:23:39 +03:00
msm_debugfs.h
msm_drv.c Merge tag 'drm-msm-next-2023-08-20' of https://gitlab.freedesktop.org/drm/msm into drm-next 2023-08-24 10:15:59 +10:00
msm_drv.h Merge tag 'drm-msm-next-2023-08-20' of https://gitlab.freedesktop.org/drm/msm into drm-next 2023-08-24 10:15:59 +10:00
msm_dsc_helper.h drm/msm: Add MSM-specific DSC helper methods 2023-06-15 12:58:56 +03:00
msm_fb.c
msm_fbdev.c fbdev: Align deferred I/O with naming of helpers 2023-07-31 20:07:24 +02:00
msm_fence.c drm/msm: Fix hw_fence error path cleanup 2023-07-17 12:54:20 -07:00
msm_fence.h drm/msm: Add deadline based boost support 2023-03-28 15:46:15 -07:00
msm_gem_prime.c drm: Remove struct drm_driver.gem_prime_mmap 2023-06-19 13:56:40 +02:00
msm_gem_shrinker.c drm/msm/gem: Prevent blocking within shrinker loop 2023-02-27 07:06:56 +03:00
msm_gem_submit.c drm/msm: Remove vma use tracking 2023-08-10 13:08:03 -07:00
msm_gem_vma.c drm/msm: Remove vma use tracking 2023-08-10 13:08:03 -07:00
msm_gem.c Merge tag 'drm-msm-next-2023-08-20' of https://gitlab.freedesktop.org/drm/msm into drm-next 2023-08-24 10:15:59 +10:00
msm_gem.h drm/msm: Remove vma use tracking 2023-08-10 13:08:03 -07:00
msm_gpu_devfreq.c drm/msm/adreno: Use OPP for every GPU generation 2023-03-20 11:04:59 -07:00
msm_gpu_trace.h
msm_gpu_tracepoints.c
msm_gpu.c drm/msm/gpu: Push gpu lock down past runpm 2023-08-15 10:09:30 -07:00
msm_gpu.h drm/msm: Disallow relocs on a6xx+ 2023-08-07 14:51:21 -07:00
msm_gpummu.c
msm_io_utils.c drm/msm: Include <linux/io.h> 2023-04-06 20:29:40 +03:00
msm_iommu.c drm/msm: Be more shouty if per-process pgtables aren't working 2023-05-17 08:53:47 -07:00
msm_kms.h drm/msm/atomic: Switch to vblank_start helper 2023-03-28 15:46:15 -07:00
msm_mdss.c drm/msm/mdss: fix highest-bank-bit for msm8998 2023-09-20 16:22:22 -07:00
msm_mdss.h drm/msm/mdss: export UBWC data 2023-08-02 12:37:36 +03:00
msm_mmu.h drm/msm/adreno: stall translation on fault for all GPU families 2023-03-28 15:49:09 -07:00
msm_perf.c
msm_rd.c drm/msm: Use drm_gem_object in submit bos table 2023-08-10 10:44:02 -07:00
msm_ringbuffer.c drm/msm/gpu: Push gpu lock down past runpm 2023-08-15 10:09:30 -07:00
msm_ringbuffer.h
msm_submitqueue.c drm/msm: Switch idr_lock to spinlock 2023-03-25 16:31:44 -07:00
NOTES