All of lore.kernel.org
 help / color / mirror / Atom feed
* [DPU PATCH] drm/mipi: Remove unused mipi/dsi packet types
@ 2018-02-21 18:40 Sean Paul
       [not found] ` <20180221184023.58929-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Sean Paul @ 2018-02-21 18:40 UTC (permalink / raw)
  To: freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA
  Cc: jsanka-sgV2jX0FEOL9JmXXK+q4OQ, robdclark-Re5JQEeQqe8AvxtiuMwx3w,
	Sean Paul, hoegsberg-F7+t8E8rja9g9hUCZPvPmw

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@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

_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

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

* Re: [DPU PATCH] drm/mipi: Remove unused mipi/dsi packet types
       [not found] ` <20180221184023.58929-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
@ 2018-02-22 20:05   ` Rob Clark
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Clark @ 2018-02-22 20:05 UTC (permalink / raw)
  To: Sean Paul
  Cc: linux-arm-msm, Kristian H. Kristensen, freedreno, Jeykumar Sankaran

On Wed, Feb 21, 2018 at 1:40 PM, Sean Paul <seanpaul@chromium.org> wrote:
> 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@chromium.org>

Reviewed-by: Rob Clark <robdclark@gmail.com>

> ---
>  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
>
_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

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

end of thread, other threads:[~2018-02-22 20:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-21 18:40 [DPU PATCH] drm/mipi: Remove unused mipi/dsi packet types Sean Paul
     [not found] ` <20180221184023.58929-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2018-02-22 20:05   ` Rob Clark

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.