diff options
author | Robert Chiras <robert.chiras@nxp.com> | 2018-04-19 11:25:41 +0300 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:31:17 +0800 |
commit | 45f8c8d7741e5e067a5e40fbc6995cf27abcc141 (patch) | |
tree | 9b52d6164de9bd030e2cffc39befdf05f96209c4 /include/drm | |
parent | 775b628d75bed0049d55f07150166eb1ff9e7837 (diff) |
MLK-18106: drm/bridge: Fix nwl-dsi bridge handling
Since the drm_bridge_attach function now supports chained bridges, there
is no need for nwl_dsi_add_bridge and nwl_dsi_del_bridge functions, so
remove them.
Now, we can pass the existent bridge to drm_bridge_attach.
This fixes a bug created during kernel 4.14 rebase process.
Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/bridge/nwl_dsi.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/drm/bridge/nwl_dsi.h b/include/drm/bridge/nwl_dsi.h index 21fe1d0d4313..2ca1e5838edc 100644 --- a/include/drm/bridge/nwl_dsi.h +++ b/include/drm/bridge/nwl_dsi.h @@ -39,16 +39,6 @@ enum dpi_pixel_format { DPI_FMT_24_BIT /* 0x3 */ }; -/* - * Just some helper functions to add/remove a bridge into/from encoder bridge - * chain. - */ -bool nwl_dsi_add_bridge(struct drm_encoder *encoder, - struct drm_bridge *next_bridge); - -bool nwl_dsi_del_bridge(struct drm_encoder *encoder, - struct drm_bridge *bridge); - unsigned long nwl_dsi_get_bit_clock(struct drm_bridge *bridge, unsigned long pixclock); |