diff options
author | Liu Ying <victor.liu@nxp.com> | 2018-08-20 17:32:44 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:33:43 +0800 |
commit | aaa7105bba2e9c9b4cfc3a2ef660a82230a6584a (patch) | |
tree | 8ceddfb7b519bd28ccff4f1946de9293998ab2aa /include/video | |
parent | ff6b46fc38e14ec0765d04df489bc4d7c83a8a64 (diff) |
MLK-19413-16 gpu: imx: dpu: tcon: Add tcon_is_master/slave() helpers support
This patch adds tcon_is_master/slave() helpers support so that
callers may know if a tcon is a master or slave tcon.
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 40d796c84f4d..e1177e4cdc26 100644 --- a/include/video/dpu.h +++ b/include/video/dpu.h @@ -670,6 +670,8 @@ struct dpu_tcon; int tcon_set_fmt(struct dpu_tcon *tcon, u32 bus_format); void tcon_set_operation_mode(struct dpu_tcon *tcon); void tcon_cfg_videomode(struct dpu_tcon *tcon, struct drm_display_mode *m); +bool tcon_is_master(struct dpu_tcon *tcon); +bool tcon_is_slave(struct dpu_tcon *tcon); struct dpu_tcon *dpu_tcon_get(struct dpu_soc *dpu, int id); void dpu_tcon_put(struct dpu_tcon *tcon); struct dpu_tcon *dpu_aux_tcon_peek(struct dpu_tcon *tcon); |