diff options
| author | Dmitry Baryshkov <[email protected]> | 2023-10-09 20:57:26 +0000 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2024-02-11 20:38:06 +0000 |
| commit | 89cdd4dee1f04a418ce86d62927e6bf6502d20fe (patch) | |
| tree | 644b135515eb4a820ce17d24a1def40a16e3a729 /drivers/gpu/drm/msm/dsi/dsi.h | |
| parent | drm/msm/dsi: stop calling set_split_display (diff) | |
| download | kernel-89cdd4dee1f04a418ce86d62927e6bf6502d20fe.tar.gz kernel-89cdd4dee1f04a418ce86d62927e6bf6502d20fe.zip | |
drm/msm/dsi: remove msm_dsi::encoder
There is no need anymore to stop the drm_encoder instance in struct
msm_dsi. Remove corresponding field.
Signed-off-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Abhinav Kumar <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/561697/
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi.h')
| -rw-r--r-- | drivers/gpu/drm/msm/dsi/dsi.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/msm/dsi/dsi.h b/drivers/gpu/drm/msm/dsi/dsi.h index de34e7caa5c8..2ad9a842c678 100644 --- a/drivers/gpu/drm/msm/dsi/dsi.h +++ b/drivers/gpu/drm/msm/dsi/dsi.h @@ -41,14 +41,12 @@ struct msm_dsi { struct device *phy_dev; bool phy_enabled; - /* the encoder we are hooked to (outside of dsi block) */ - struct drm_encoder *encoder; - int id; }; /* dsi manager */ -struct drm_bridge *msm_dsi_manager_bridge_init(struct msm_dsi *msm_dsi); +struct drm_bridge *msm_dsi_manager_bridge_init(struct msm_dsi *msm_dsi, + struct drm_encoder *encoder); int msm_dsi_manager_ext_bridge_init(u8 id, struct drm_bridge *int_bridge); int msm_dsi_manager_cmd_xfer(int id, const struct mipi_dsi_msg *msg); bool msm_dsi_manager_cmd_xfer_trigger(int id, u32 dma_base, u32 len); |
