Add compression_supported flag in struct drm_mipi_dsi to indicate whether DSI host supported DSC compression feature.
Signed-off-by: Xin Ji <x...@analogixsemi.com> --- include/drm/drm_mipi_dsi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index bd40a443385c..c5ffb48182ef 100644 --- a/include/drm/drm_mipi_dsi.h +++ b/include/drm/drm_mipi_dsi.h @@ -99,11 +99,13 @@ struct mipi_dsi_host_ops { /** * struct mipi_dsi_host - DSI host device * @dev: driver model device node for this DSI host + * @compression_supported: DSI host support DSC feature * @ops: DSI host operations * @list: list management */ struct mipi_dsi_host { struct device *dev; + bool compression_supported; const struct mipi_dsi_host_ops *ops; struct list_head list; }; -- 2.25.1