summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorFancy Fang <chen.fang@nxp.com>2018-08-12 08:58:43 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:59:24 +0800
commit028b9481aa697f808c75d59c79d555decaf6389c (patch)
treef801866cc1b4e275ff9ca5dd4cc7f6a2ce99fb46 /include/video
parent730377db70f760bb4ca2e1267eaf11f3fd08badc (diff)
MLK-19158-2 drm/imx: lcdif: improve output bus format config
According to LCDIF specification, the input pixel data width and the output pixel data width can be different, and this conversion is done by LCDIF automatically. So config the output data width according to the requested bus format from the encoder, instead to be same with the input pixel data width. Signed-off-by: Fancy Fang <chen.fang@nxp.com> (cherry picked from commit bfd27f6d71d86a7f2fc8314f082565db3682b925)
Diffstat (limited to 'include/video')
-rw-r--r--include/video/imx-lcdif.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/imx-lcdif.h b/include/video/imx-lcdif.h
index 6597e46d5ca1..96b124852dd1 100644
--- a/include/video/imx-lcdif.h
+++ b/include/video/imx-lcdif.h
@@ -30,6 +30,7 @@ void lcdif_vblank_irq_clear(struct lcdif_soc *lcdif);
int lcdif_get_bus_fmt_from_pix_fmt(struct lcdif_soc *lcdif,
uint32_t format);
int lcdif_set_pix_fmt(struct lcdif_soc *lcdif, u32 format);
+void lcdif_set_bus_fmt(struct lcdif_soc *lcdif, u32 bus_format);
void lcdif_set_fb_addr(struct lcdif_soc *lcdif, int id, u32 addr);
void lcdif_set_mode(struct lcdif_soc *lcdif, struct videomode *vmode);
void lcdif_set_fb_hcrop(struct lcdif_soc *lcdif, u32 src_w,