drm/msm/disp/dpu1: program 3d_merge only if block is attached
authorKalyan Thota <kalyan_t@codeaurora.org>
Fri, 2 Apr 2021 11:54:53 +0000 (04:54 -0700)
committerRob Clark <robdclark@chromium.org>
Fri, 2 Apr 2021 15:23:41 +0000 (08:23 -0700)
commit12aca1ce9ee33af3751aec5e55a5900747cbdd4b
tree851e69a49a9e0d3b5c971575118101854bd5bc5b
parent6ddbfa1f5adbd5dea14ff66778ca58257f09f17d
drm/msm/disp/dpu1: program 3d_merge only if block is attached

Update the 3d merge as active in the data path only if
the hw block is selected in the configuration.

Reported-by: Stephen Boyd <swboyd@chromium.org>
Fixes: 73bfb790ac78 ("msm:disp:dpu1: setup display datapath for SC7180 target")
Signed-off-by: Kalyan Thota <kalyan_t@codeaurora.org>
Message-Id: <1617364493-13518-1-git-send-email-kalyan_t@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c