summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2018-10-08 15:34:15 +0800
committerJason Liu <jason.hui.liu@nxp.com>2018-10-29 11:10:38 +0800
commit9dabc84b75cd095fcc1fa19ad922693e87a55cc5 (patch)
tree926a00a9a94a4274681a997c023e9855a4680ff8 /include
parent51161fc132c2c0d45b11e086027ebe78b21a99d9 (diff)
MLK-19879 drm/imx: dpu: crtc: Support aux stream as master when pc is used
Pixel combiner uses two display streams to drive a single display. Either of the two display streams can be master stream and the other slave stream. This patch supports auxiliary stream as master stream when pixel combiner is used. The master stream ID can be specified via the newly introduced entry 'master_stream_id' in the device type of the DPU(s) in a particular SoC. Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/dpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/dpu.h b/include/video/dpu.h
index ad8703772580..42a9ff53c0af 100644
--- a/include/video/dpu.h
+++ b/include/video/dpu.h
@@ -722,6 +722,7 @@ struct dpu_vscaler *fetchdecode_get_vscaler(struct dpu_fetchunit *fu);
bool dpu_has_pc(struct dpu_soc *dpu);
unsigned int dpu_get_syncmode_min_prate(struct dpu_soc *dpu);
unsigned int dpu_get_singlemode_max_width(struct dpu_soc *dpu);
+unsigned int dpu_get_master_stream_id(struct dpu_soc *dpu);
bool dpu_vproc_has_fetcheco_cap(u32 cap_mask);
bool dpu_vproc_has_hscale_cap(u32 cap_mask);