drm/msm/dpu: split dpu_encoder_wait_for_event into two functions
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 26 Feb 2024 02:28:00 +0000 (04:28 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 4 Mar 2024 09:41:09 +0000 (11:41 +0200)
commitd72a3d35b7ef5a3c0260462f130fa3dd7576aa2f
tree1ffc0ccff7ad16a29308dbbee9b4629b701cdf05
parentf1d0b196ff2ec85018edb1f6246c3cc6aa19ab54
drm/msm/dpu: split dpu_encoder_wait_for_event into two functions

Stop multiplexing several events via the dpu_encoder_wait_for_event()
function. Split it into two distinct functions two allow separate
handling of those events.

Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/579848/
Link: https://lore.kernel.org/r/20240226-fd-dpu-debug-timeout-v4-2-51eec83dde23@linaro.org
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
drivers/gpu/drm/msm/msm_drv.h