drm/msm/dpu: move setup_force_clk_ctrl handling into plane and wb
authorNeil Armstrong <neil.armstrong@linaro.org>
Thu, 12 Oct 2023 09:01:29 +0000 (11:01 +0200)
committerRob Clark <robdclark@chromium.org>
Mon, 16 Oct 2023 16:38:22 +0000 (09:38 -0700)
commit346faacfcdca57c5e559619af68780bf39611956
tree92432fe2943f18a61d4f5016be9fe38a1e5edede
parent87e968672753191a71d4ec9b7585685a21768345
drm/msm/dpu: move setup_force_clk_ctrl handling into plane and wb

Now SSPP and WB can have setup_force_clk_ctrl() ops, it's simpler to call
them from the plane and wb code and call into the mdp ops if not present.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/562325/
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c
drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c
drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.h