[PATCH v3 2/3] drm/mipi-dsi: Add compression supported flag in drm_mipi_dsi
Xin Ji
xji at analogixsemi.com
Mon Apr 14 10:05:01 UTC 2025
Add compression_supported flag in struct drm_mipi_dsi to indicate
whether DSI host supported DSC compression feature.
Signed-off-by: Xin Ji <xji at 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
More information about the dri-devel
mailing list