mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/mipi-dsi: docs: Mark mipi_dsi_compression_mode() as deprecated
@ 2026-07-02 19:42 Nicolás Antinori
  2026-08-06 12:29 ` Nicolás Antinori
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolás Antinori @ 2026-07-02 19:42 UTC (permalink / raw)
  To: Maarten Lankhorst, Maxime Ripard
  Cc: Nicolás Antinori, Brigham Campbell, David Airlie,
	Simona Vetter, Shuah Khan, Thomas Zimmermann, linux-kernel,
	linux-kernel-mentees, dri-devel

The mipi_dsi_compression_mode() function is a thin wrapper around
mipi_dsi_compression_mode_ext(), which is already marked as deprecated.
Additionally, the non-deprecated mipi_dsi_compression_mode_multi()
alternative exists.

Document this deprecation to encourage developers to use the multi variant.

Signed-off-by: Nicolás Antinori <nico.antinori.7@gmail.com>
---
 drivers/gpu/drm/drm_mipi_dsi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_dsi.c
index 3ac1dd5ad640..9e20818f2de0 100644
--- a/drivers/gpu/drm/drm_mipi_dsi.c
+++ b/drivers/gpu/drm/drm_mipi_dsi.c
@@ -699,6 +699,8 @@ EXPORT_SYMBOL(mipi_dsi_compression_mode_ext);
  * Enable or disable Display Stream Compression on the peripheral using the
  * default Picture Parameter Set and VESA DSC 1.1 algorithm.
  *
+ * This function is deprecated. Use mipi_dsi_compression_mode_multi() instead.
+ *
  * Return: 0 on success or a negative error code on failure.
  */
 int mipi_dsi_compression_mode(struct mipi_dsi_device *dsi, bool enable)
--
2.47.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-06 12:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 19:42 [PATCH] drm/mipi-dsi: docs: Mark mipi_dsi_compression_mode() as deprecated Nicolás Antinori
2026-08-06 12:29 ` Nicolás Antinori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®