[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5371494.OmLzBJ8YyX@avalon>
Date: Tue, 24 Apr 2018 00:03:04 +0300
From: Laurent Pinchart <laurent.pinchart@...asonboard.com>
To: Jacopo Mondi <jacopo+renesas@...ndi.org>
Cc: architt@...eaurora.org, a.hajda@...sung.com, airlied@...ux.ie,
daniel@...ll.ch, peda@...ntia.se,
linux-renesas-soc@...r.kernel.org, linux-media@...r.kernel.org,
devicetree@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 8/8] drm: connector: Remove DRM_BUS_FLAG_DATA_* flags
Hi Jacopo,
Thank you for the patch.
On Thursday, 19 April 2018 12:31:09 EEST Jacopo Mondi wrote:
> DRM_BUS_FLAG_DATA_* flags, defined in drm_connector.h header file are
> used to swap ordering of LVDS RGB format to accommodate DRM objects
> that need to handle LVDS components ordering.
>
> Now that the only 2 users of DRM_BUS_FLAG_DATA_* flags have been ported
> to use the newly introduced MEDIA_BUS_FMT_RGB888_1X7X*_LE media bus
> formats, remove them.
I'm not opposed to this (despite my review of patch 5/8), but I think the _LE
suffix isn't the right name for the new formats. _BE and _LE relate to byte
swapping, while here you really need to describe full mirroring. Maybe a
_MIRROR variant would be more appropriate ?
> Signed-off-by: Jacopo Mondi <jacopo+renesas@...ndi.org>
> ---
> include/drm/drm_connector.h | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h
> index 675cc3f..9e0d6d5 100644
> --- a/include/drm/drm_connector.h
> +++ b/include/drm/drm_connector.h
> @@ -286,10 +286,6 @@ struct drm_display_info {
> #define DRM_BUS_FLAG_PIXDATA_POSEDGE (1<<2)
> /* drive data on neg. edge */
> #define DRM_BUS_FLAG_PIXDATA_NEGEDGE (1<<3)
> -/* data is transmitted MSB to LSB on the bus */
> -#define DRM_BUS_FLAG_DATA_MSB_TO_LSB (1<<4)
> -/* data is transmitted LSB to MSB on the bus */
> -#define DRM_BUS_FLAG_DATA_LSB_TO_MSB (1<<5)
>
> /**
> * @bus_flags: Additional information (like pixel signal polarity) for
--
Regards,
Laurent Pinchart
Powered by blists - more mailing lists