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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Reviewed-by: Rob Clark <robdclark@xxxxxxxxx>

> ---
>  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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux