diff options
author | Antonio Borneo <antonio.borneo@foss.st.com> | 2021-12-19 00:50:53 +0300 |
---|---|---|
committer | Robert Foss <robert.foss@linaro.org> | 2022-01-04 14:53:59 +0300 |
commit | 5f4f958a0d9dfd7a569c56e76840e39b0c434378 (patch) | |
tree | a77bfee86499b87e896e9e77ccd086919b8463b7 /include/drm/bridge | |
parent | 22f99f2db44771cf9569fc2e8c547ad3153d9384 (diff) | |
download | linux-5f4f958a0d9dfd7a569c56e76840e39b0c434378.tar.xz |
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
Diffstat (limited to 'include/drm/bridge')
-rw-r--r-- | include/drm/bridge/dw_mipi_dsi.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/drm/bridge/dw_mipi_dsi.h b/include/drm/bridge/dw_mipi_dsi.h index bda8aa7c2280..5286a53a1875 100644 --- a/include/drm/bridge/dw_mipi_dsi.h +++ b/include/drm/bridge/dw_mipi_dsi.h @@ -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; |