diff options
author | Fancy Fang <chen.fang@nxp.com> | 2018-08-15 09:28:09 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:33:57 +0800 |
commit | 6a8fa239b31eca24f32b350e3c7e3118684b7323 (patch) | |
tree | 201df1feedf4f4048ae0a7847d38135e9394a838 /include/drm | |
parent | 24fc43ecedd963ae11be16a5abb43460f7ed6264 (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/drm')
-rw-r--r-- | include/drm/bridge/sec_mipi_dsim.h | 2 |
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); |