summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFancy Fang <chen.fang@nxp.com>2018-08-12 08:58:43 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commitae403ad28228445497a993d6f6a5e2c4a1e15c0e (patch)
treece4c79a678671831e8aa040d73b9908815be11ad /include
parente0aff5d7bcb06c7e44e15604dadfae0d69557a68 (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>
Diffstat (limited to 'include')
-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,