]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm/dpu: fix CMD panels on DPU 1.x - 3.x
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Sun, 28 Dec 2025 04:02:28 +0000 (06:02 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 13 Jan 2026 06:20:20 +0000 (08:20 +0200)
commit59ca3d11f5311d9167015fe4f431701614ae0048
tree6f468f75bf4602ed1f7a1c7fe9e85b8221f57a95
parentf4a8e3a34ea4129c743c0d1d050b91b6511abf11
drm/msm/dpu: fix CMD panels on DPU 1.x - 3.x

DPU units before 4.x don't have a separate CTL_START IRQ to mark the
begin of the data transfer. In such a case, wait for the frame transfer
to complete rather than trying to wait for the CTL_START interrupt (and
obviously hitting the timeout).

Fixes: 050770cbbd26 ("drm/msm/dpu: Fix timeout issues on command mode panels")
Reported-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Closes: https://lore.kernel.org/r/8e1d33ff-d902-4ae9-9162-e00d17a5e6d1@postmarketos.org
Patchwork: https://patchwork.freedesktop.org/patch/696490/
Link: https://lore.kernel.org/r/20251228-mdp5-drop-dpu3-v4-2-7497c3d39179@oss.qualcomm.com
Tested-by: Alexey Minnekhanov <alexeymin@minlexx.ru>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c