diff mbox series

[v3,2/3] drm/mipi-dsi: Add compression supported flag in drm_mipi_dsi

Message ID 20250414100502.1604717-2-xji@analogixsemi.com (mailing list archive)
State New
Headers show
Series [v3,1/3] drm/bridge:anx7625: Refactoring timing programming | expand

Commit Message

Xin Ji April 14, 2025, 10:05 a.m. UTC
Add compression_supported flag in struct drm_mipi_dsi to indicate
whether DSI host supported DSC compression feature.

Signed-off-by: Xin Ji <xji@analogixsemi.com>
---
 include/drm/drm_mipi_dsi.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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;
 };