[Freedreno] [DPU PATCH] drm/mipi: Remove unused mipi/dsi packet types

Sean Paul seanpaul at chromium.org
Wed Feb 21 18:40:14 UTC 2018


These were added with the rest of the DPU patches, but they're unused.
There's no reason to add them unless someone is actually interested in
sending them. So for now, remove them.

Signed-off-by: Sean Paul <seanpaul at chromium.org>
---
 drivers/gpu/drm/drm_mipi_dsi.c | 2 --
 include/video/mipi_display.h   | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_dsi.c
index efc3de178974..688c8a82ba37 100644
--- a/drivers/gpu/drm/drm_mipi_dsi.c
+++ b/drivers/gpu/drm/drm_mipi_dsi.c
@@ -393,7 +393,6 @@ bool mipi_dsi_packet_format_is_short(u8 type)
 	case MIPI_DSI_DCS_SHORT_WRITE_PARAM:
 	case MIPI_DSI_DCS_READ:
 	case MIPI_DSI_SET_MAXIMUM_RETURN_PACKET_SIZE:
-	case MIPI_DSI_COMPRESSION_MODE:
 		return true;
 	}
 
@@ -425,7 +424,6 @@ bool mipi_dsi_packet_format_is_long(u8 type)
 	case MIPI_DSI_PACKED_PIXEL_STREAM_18:
 	case MIPI_DSI_PIXEL_STREAM_3BYTE_18:
 	case MIPI_DSI_PACKED_PIXEL_STREAM_24:
-	case MIPI_DSI_PPS:
 		return true;
 	}
 
diff --git a/include/video/mipi_display.h b/include/video/mipi_display.h
index e8cc971c1fd3..a5872720d5c0 100644
--- a/include/video/mipi_display.h
+++ b/include/video/mipi_display.h
@@ -60,9 +60,6 @@ enum {
 	MIPI_DSI_PACKED_PIXEL_STREAM_18			= 0x1e,
 	MIPI_DSI_PIXEL_STREAM_3BYTE_18			= 0x2e,
 	MIPI_DSI_PACKED_PIXEL_STREAM_24			= 0x3e,
-
-	MIPI_DSI_COMPRESSION_MODE			= 0x07,
-	MIPI_DSI_PPS					= 0x0a,
 };
 
 /* MIPI DSI Peripheral-to-Processor transaction types */
-- 
2.16.1.291.g4437f3f132-goog



More information about the Freedreno mailing list