[PATCH libdrm 5/5] modetest: Reduce the length of the connector type string

Laurent Pinchart laurent.pinchart at ideasonboard.com
Thu Apr 18 06:46:32 PDT 2013


On Wednesday 17 April 2013 22:18:05 ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Spelling out eDP or DP make for a ridicilously long string which plays
> havoc with formatting. Just say eDP or DP.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

> ---
>  tests/modetest/modetest.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
> index 27cd2ce..8afd2b1 100644
> --- a/tests/modetest/modetest.c
> +++ b/tests/modetest/modetest.c
> @@ -106,11 +106,11 @@ struct type_name connector_type_names[] = {
>  	{ DRM_MODE_CONNECTOR_LVDS, "LVDS" },
>  	{ DRM_MODE_CONNECTOR_Component, "component" },
>  	{ DRM_MODE_CONNECTOR_9PinDIN, "9-pin DIN" },
> -	{ DRM_MODE_CONNECTOR_DisplayPort, "displayport" },
> +	{ DRM_MODE_CONNECTOR_DisplayPort, "DP" },
>  	{ DRM_MODE_CONNECTOR_HDMIA, "HDMI-A" },
>  	{ DRM_MODE_CONNECTOR_HDMIB, "HDMI-B" },
>  	{ DRM_MODE_CONNECTOR_TV, "TV" },
> -	{ DRM_MODE_CONNECTOR_eDP, "embedded displayport" },
> +	{ DRM_MODE_CONNECTOR_eDP, "eDP" },
>  };
> 
>  type_name_fn(connector_type)
-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list