diff options
author | Liu Ying <victor.liu@nxp.com> | 2019-11-12 17:33:31 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:58:18 +0800 |
commit | 83ca944de6a6ce1d92d5e1b04ee480a24383809b (patch) | |
tree | e3fa9581d5607af26e3ef4115770f7d691ef2389 /include/video | |
parent | ad2568790676b71b2873bc7d3df1a696dd40f614 (diff) |
gpu: imx: dpu: common: Add helper dpu_get_master_stream_id() support
This patch adds helper dpu_get_master_stream_id() support
so that callers may know the master stream when FrameGen
works in sync mode.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/dpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/dpu.h b/include/video/dpu.h index 504adb6214d3..3e02c0f92d32 100644 --- a/include/video/dpu.h +++ b/include/video/dpu.h @@ -581,6 +581,8 @@ struct dpu_fetchunit *fetchdecode_get_fetcheco(struct dpu_fetchunit *fu); struct dpu_hscaler *fetchdecode_get_hscaler(struct dpu_fetchunit *fu); struct dpu_vscaler *fetchdecode_get_vscaler(struct dpu_fetchunit *fu); +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); bool dpu_vproc_has_vscale_cap(u32 cap_mask); |