Received: by 10.192.165.148 with SMTP id m20csp4392849imm; Tue, 24 Apr 2018 01:50:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx48HQYfF7gkVFTxVJDR1RnsnbVmq+G6ELAOhHdK3kAHEIGv39pHdla8G+0B2rOfhdTHOAgYE X-Received: by 2002:a17:902:9a44:: with SMTP id x4-v6mr24599627plv.312.1524559853698; Tue, 24 Apr 2018 01:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524559853; cv=none; d=google.com; s=arc-20160816; b=rpEzyUfDaX1yQDt4R47CIJcj4P6ZUbCZ/JbGaeaDeaAnHNrGgwwJrUpzqCgf+FhkDX 020YhBpinmbX9f+GvMNoiQCrilQvGtVEDRk0EPKlIBA9UmhIxEXGq37aJXyfNgLsHjhy EG3/HSGQQ/KzVEpWfpMjfDctowMSsa1lZ5tyyMZLSxbd/PhqE7970mYxthFiEQWqiKnY WYQy/K3dgvxMDa1ZydC/1tSeaj27zMhYQfv2xlsdI+16uGRWJWFG6BYptcutucjNLsOi tPtIr8FoUFF9J2p9LerYtK7LdaeKDi6jH9Zqzuf93HMtMaT5uBMjqyqKnanaMAaaiH4V 0PdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=xPo5Poq+SHIKxfhi+t8d8jiqN50VlnIezi46vPsr7fk=; b=eiqIBSItfOdunXrajqr/ajzJDYbJgSIng63jk0gghiyl8jXppxQDtkPCSCoVU4g2AW z+sugS4gWTatA+DwvGzFSgHUo8hWDI4cP/CtOG6Do0HLo/sTsxXKf/0voIpExqLFuQFM C3wU9e3do/9b3m/DY0HXUktwYTxABVxNoz9xKE3IuihbBUo8qLOCIKcASACSLCyy0/D4 MRnm3pwgD/piCjOeyu9nqhK+122RTXShSiiIrvo6ABjcDo+Ebxe6kV2fHaWGp7iAkyT9 ze0JbtDVS/edkaF18btget6sdXBoFI6Gd4tCx4kU3QgSCyUKtPVUHijkeTvH2RNVBCq2 RONQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si12131833pfn.269.2018.04.24.01.50.39; Tue, 24 Apr 2018 01:50:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756256AbeDXHWk (ORCPT + 99 others); Tue, 24 Apr 2018 03:22:40 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60385 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755830AbeDXHWj (ORCPT ); Tue, 24 Apr 2018 03:22:39 -0400 X-Originating-IP: 2.224.242.101 Received: from w540 (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id E26106002E; Tue, 24 Apr 2018 09:22:34 +0200 (CEST) Date: Tue, 24 Apr 2018 09:22:33 +0200 From: jacopo mondi To: Laurent Pinchart Cc: Jacopo Mondi , architt@codeaurora.org, a.hajda@samsung.com, airlied@linux.ie, daniel@ffwll.ch, peda@axentia.se, linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 8/8] drm: connector: Remove DRM_BUS_FLAG_DATA_* flags Message-ID: <20180424072233.GF17088@w540> References: <1524130269-32688-1-git-send-email-jacopo+renesas@jmondi.org> <1524130269-32688-9-git-send-email-jacopo+renesas@jmondi.org> <5371494.OmLzBJ8YyX@avalon> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OzxllxdKGCiKxUZM" Content-Disposition: inline In-Reply-To: <5371494.OmLzBJ8YyX@avalon> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Level: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --OzxllxdKGCiKxUZM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi Laurent, On Tue, Apr 24, 2018 at 12:03:04AM +0300, Laurent Pinchart wrote: > 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 ? As I anticipated in the cover letter, I agree the BE/LE distinction does not apply well for LVDS formats. I chose to use _LE anyhow as there are no other format variants defined in media-bus-format.h I'm open to use either of those suffixes btw, what presses me is to get rid of those flags only defined in drm_connector.h thanks j > > > Signed-off-by: Jacopo Mondi > > --- > > 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 > > > --OzxllxdKGCiKxUZM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJa3ts5AAoJEHI0Bo8WoVY8e6wP/i3mBdoLOwLGpDd7AVbkXrVD HUOOShP69QB+Gy409hFucRoVkICR08o5FPiXn1EvcgCjaEuxDBG1q1dOl/BQz5QD 7GwZs3jTKhg+kaZjM+vUE3KnX6ZcXQsjLE5v0SBs1W314dzx/CIE9lGk3S/GycfP 4d0Yp2cv0fXJdwc0CeUlRjjmQuhShO4weztnkk78PpFo+dcxMpRSedjSLzfLasoV /+94eh+6tmKu7jUE0LbWIGI6qh6vUEXBCZmY7alxlQrDZtQq9+WLTRyeLPQEdEiM EjNA1454FSvxSL5oniOH5WRIL9otFjtxcCH8wpgH5NxKGeiUKy589POhpBpv+wBw /r0r8WilKEmkxwRkq/WDcnyUMdeIo0FlUni1hM6uCrvn+OjrODQ1lAjhHj+iH/Q6 ROgoRYsa6VwE7ImPr2MS0qB1V+hnCOxgzbhdgMD/KvfBffKlJPUlGSXhaChITPXg va9alUyeG5lh1kXeoOgEiVI89ytRTi17I3Kks728tjuuBhap25SE20jUJk0qS8IO W7x4Y+Ds/rfSV9aENRiJqkA+bNL1kZyJ2cfKek5hBRG/ceyyiyPCoM4ra6eYDgNS 3zBhoEPpyhs5aXRpAzyuiFPap5JYEteg7UIj+3/zQ4oHQV3RpL1X/3Ly7ZiJD+aH ilMDR29l1OSllarOxXQm =gMHJ -----END PGP SIGNATURE----- --OzxllxdKGCiKxUZM--