]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm/dpu: Set vsync source irrespective of mdp top support
authorTeguh Sobirin <teguh@sobir.in>
Tue, 30 Dec 2025 07:17:56 +0000 (09:17 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 6 Jan 2026 03:23:01 +0000 (05:23 +0200)
commit1ad9880f059c9b0943e53714f9a59924cb035bbb
tree52730977cc51b590cef57855fd151c9b5d296653
parent2892de3f4f985fa779c330468e2f341fdb762ccd
drm/msm/dpu: Set vsync source irrespective of mdp top support

Since DPU 5.x the vsync source TE setup is split between MDP TOP and
INTF blocks. Currently all code to setup vsync_source is only executed
if MDP TOP implements the setup_vsync_source() callback. However on
DPU >= 8.x this callback is not implemented, making DPU driver skip all
vsync setup. Move the INTF part out of this condition, letting DPU
driver to setup TE vsync selection on all new DPU devices.

Signed-off-by: Teguh Sobirin <teguh@sobir.in>
Fixes: 2f69e5458447 ("drm/msm/dpu: skip watchdog timer programming through TOP on >= SM8450")
[DB: restored top->ops.setup_vsync_source call]
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/696584/
Link: https://lore.kernel.org/r/20251230-intf-fix-wd-v6-1-98203d150611@oss.qualcomm.com
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c