From 698aeb479bfe79d79475e907e25b295b9c8514dd Mon Sep 17 00:00:00 2001 From: Liu Ying Date: Fri, 17 Aug 2018 11:00:59 +0800 Subject: gpu: imx: dpu: extdst: Add extdst_is_master() helper support This patch adds extdst_is_master() helper support so that callers may know if a extdst is a master extdst or not. Signed-off-by: Liu Ying --- include/video/dpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/video') diff --git a/include/video/dpu.h b/include/video/dpu.h index 47ed3a3de0d2..656ec850d715 100644 --- a/include/video/dpu.h +++ b/include/video/dpu.h @@ -431,6 +431,7 @@ u32 extdst_last_control_word(struct dpu_extdst *ed); void extdst_pixel_cnt(struct dpu_extdst *ed, u16 *x, u16 *y); void extdst_last_pixel_cnt(struct dpu_extdst *ed, u16 *x, u16 *y); u32 extdst_perfresult(struct dpu_extdst *ed); +bool extdst_is_master(struct dpu_extdst *ed); struct dpu_extdst *dpu_ed_get(struct dpu_soc *dpu, int id); void dpu_ed_put(struct dpu_extdst *ed); struct dpu_extdst *dpu_aux_ed_peek(struct dpu_extdst *ed); -- cgit v1.2.3