drm/msm/dpu: Move setting of dpu_enc::wide_bus_en to atomic enable()
authorJessica Zhang <quic_jesszhan@quicinc.com>
Tue, 22 Aug 2023 17:42:04 +0000 (10:42 -0700)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 9 Oct 2023 09:17:45 +0000 (12:17 +0300)
commit14be80ae940c7fe5d593c4a05d0bd6d93f1eaaf9
treeb42388796efe3c6f2524b6736824354541094a4d
parent7d8830bb6029830fc48a9f3cfc6ea573740beb2a
drm/msm/dpu: Move setting of dpu_enc::wide_bus_en to atomic enable()

Move the setting of dpu_enc::wide_bus_en to
dpu_encoder_virt_atomic_enable() so that it mirrors how dpu_enc::dsc
is being set.

Since wide bus for DSI is related to DSC, having it mirror how DSC
is set in DPU will also make it easier to accommodate for the possibility
of DSC for DSI being set during runtime in the future.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/553759/
Link: https://lore.kernel.org/r/20230822-add-widebus-support-v4-1-9dc86083d6ea@quicinc.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c