summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFancy Fang <chen.fang@nxp.com>2018-08-15 09:28:09 +0800
committerFancy Fang <chen.fang@nxp.com>2018-08-27 17:17:49 +0800
commitead3666313e552296da7e7b5094579b47dbdc364 (patch)
treeee1a09288702fb62fd4d0638b2688055c4b8b433 /include
parent4a86937a9bd9e6d5da5111d241a162f45e7009ef (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)
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);