summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFancy Fang <chen.fang@nxp.com>2018-08-15 09:28:09 +0800
committerJason Liu <jason.hui.liu@nxp.com>2018-10-29 11:10:38 +0800
commitd04ff75a50d410aa6a115bff75755788ef8bb145 (patch)
treed7c031eff77bec49343acd65c1f7e32ea49ecbde /include
parent41a6bc1c241939e839ac78f4f948eb3078729684 (diff)
MLK-19252-1 drm/bridge: sec-dsim: move PLL check to DSIM Encoder
Defer the PLL output check to the SEC DSIM Encoder's atomic check from SEC DSIM Bridge's mode_fixup(), since in the attached DSI device Bridge's mode_fixup(), it may change the data lanes number, and this change is done after the SEC DSIM Bridge's mode_fixup(). And the DSIM Encoder's atomic check is the ideal place to do this PLL check, since it happens after all the Bridges' mode_fixup() done. Signed-off-by: Fancy Fang <chen.fang@nxp.com> (cherry picked from commit c9bce66fed982383dde189c428d4c2ee2c2fc623) (cherry picked from commit ead3666313e552296da7e7b5094579b47dbdc364)
Diffstat (limited to 'include')
-rw-r--r--include/drm/bridge/sec_mipi_dsim.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/bridge/sec_mipi_dsim.h b/include/drm/bridge/sec_mipi_dsim.h
index b112d434b5c7..911513ac9c51 100644
--- a/include/drm/bridge/sec_mipi_dsim.h
+++ b/include/drm/bridge/sec_mipi_dsim.h
@@ -25,6 +25,8 @@ struct sec_mipi_dsim_plat_data {
struct drm_display_mode *mode);
};
+int sec_mipi_dsim_check_pll_out(void *driver_private,
+ const struct drm_display_mode *mode);
int sec_mipi_dsim_bind(struct device *dev, struct device *master, void *data,
struct drm_encoder *encoder, struct resource *res,
int irq, const struct sec_mipi_dsim_plat_data *pdata);