summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h
diff options
context:
space:
mode:
authorKrishna Manikandan <mkrishn@codeaurora.org>2021-04-06 10:39:51 +0530
committerRob Clark <robdclark@chromium.org>2021-04-07 11:05:48 -0700
commitb3652e87c03c70d8e6e04a17afa475f6855169d1 (patch)
treef799717040a3f32ba03931d46e8433fb82e24333 /drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h
parented6154a136e40816301dc8228c46ea30f0f7bc76 (diff)
downloadlinux-stable-b3652e87c03c70d8e6e04a17afa475f6855169d1.tar.gz
linux-stable-b3652e87c03c70d8e6e04a17afa475f6855169d1.tar.bz2
linux-stable-b3652e87c03c70d8e6e04a17afa475f6855169d1.zip
drm/msm/disp/dpu1: add support to program fetch active in ctl path
A new register called CTL_FETCH_ACTIVE is introduced in SC7280 family which is used to inform the HW about the pipes which are active in the current ctl path. This change adds support to program this register based on the active pipes in the current composition. Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org> Link: https://lore.kernel.org/r/1617685792-14376-4-git-send-email-mkrishn@codeaurora.org Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h')
-rw-r--r--drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h
index e93a42ab60b1..806c171e5df2 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h
@@ -167,6 +167,9 @@ struct dpu_hw_ctl_ops {
*/
void (*setup_blendstage)(struct dpu_hw_ctl *ctx,
enum dpu_lm lm, struct dpu_hw_stage_cfg *cfg);
+
+ void (*set_active_pipes)(struct dpu_hw_ctl *ctx,
+ unsigned long *fetch_active);
};
/**