drm/bridge/synopsys: dsi: extend the prototype of mode_valid()
To evaluate the validity of a video mode, some additional internal value has to be passed to the platform implementation. Extend the prototype of mode_valid(). Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com> Reviewed-by: Philippe Cornu <philippe.cornu@foss.st.com> Signed-off-by: Robert Foss <robert.foss@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20211218215055.212421-2-antonio.borneo@foss.st.com
This commit is contained in:
committed by
Robert Foss
parent
22f99f2db4
commit
5f4f958a0d
@@ -51,7 +51,9 @@ struct dw_mipi_dsi_plat_data {
|
||||
unsigned int max_data_lanes;
|
||||
|
||||
enum drm_mode_status (*mode_valid)(void *priv_data,
|
||||
const struct drm_display_mode *mode);
|
||||
const struct drm_display_mode *mode,
|
||||
unsigned long mode_flags,
|
||||
u32 lanes, u32 format);
|
||||
|
||||
const struct dw_mipi_dsi_phy_ops *phy_ops;
|
||||
const struct dw_mipi_dsi_host_ops *host_ops;
|
||||
|
||||
Reference in New Issue
Block a user