Skip to contentSkip to conversation

drm/mipi: Remove unused mipi/dsi packet types

PATCH In review Sean Paul 2 participants 2 messages Feb 21, 2018 – Feb 22, 2018 1 message not in the archive

Subsystems (4)
lore
Share & tools
lore

Sean Paul

author
#0 lore raw

PATCH 1/1 drm/mipi: Remove unused mipi/dsi packet types

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.

---
 drivers/gpu/drm/drm_mipi_dsi.c | 2 --
 include/video/mipi_display.h   | 3 ---
 2 files changed, 5 deletions(-)
drivers/gpu/drm/drm_mipi_dsi.c +0 -2
index efc3de178974..688c8a82ba37 100644
@@ -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;
 	}
 
include/video/mipi_display.h +0 -3
index e8cc971c1fd3..a5872720d5c0 100644
@@ -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 */
Signature · 6 lines
2.16.1.291.g4437f3f132-goog

_______________________________________________
Freedreno mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/freedreno

A message that is not in the archive (sent off-list or not yet received): 20180221184023.58929-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org

Reviewed-by
#2 lore raw
Quoted 5 lines · Sean Paul

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.

Quoted 40 lines
---
 drivers/gpu/drm/drm_mipi_dsi.c | 2 --
 include/video/mipi_display.h   | 3 ---
 2 files changed, 5 deletions(-)
drivers/gpu/drm/drm_mipi_dsi.c +0 -2
index efc3de178974..688c8a82ba37 100644
@@ -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;
        }
 
include/video/mipi_display.h +0 -4
index e8cc971c1fd3..a5872720d5c0 100644
@@ -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 */
--
Quoted 2 lines

2.16.1.291.g4437f3f132-goog

_______________________________________________
Freedreno mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/freedreno