From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753365AbeDRI2L (ORCPT ); Wed, 18 Apr 2018 04:28:11 -0400 Received: from mail.bootlin.com ([62.4.15.54]:55300 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753080AbeDRI2I (ORCPT ); Wed, 18 Apr 2018 04:28:08 -0400 Date: Wed, 18 Apr 2018 10:27:55 +0200 From: Boris Brezillon To: Peter Rosin Cc: linux-kernel@vger.kernel.org, David Airlie , Rob Herring , Mark Rutland , Nicolas Ferre , Alexandre Belloni , Boris Brezillon , Daniel Vetter , Gustavo Padovan , Sean Paul , Laurent Pinchart , Russell King - ARM Linux , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 4/6] drm/atmel-hlcdc: support bus-width (12/16/18/24) in endpoint nodes Message-ID: <20180418102755.0491bc9d@bbrezillon> In-Reply-To: <8c5847d0-cde1-73fa-9ed1-4f4a5420afbd@axentia.se> References: <20180417131052.16336-1-peda@axentia.se> <20180417131052.16336-5-peda@axentia.se> <20180418092948.6dace10a@bbrezillon> <8c5847d0-cde1-73fa-9ed1-4f4a5420afbd@axentia.se> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 18 Apr 2018 09:46:09 +0200 Peter Rosin wrote: > On 2018-04-18 09:29, Boris Brezillon wrote: > > On Tue, 17 Apr 2018 15:10:50 +0200 > > Peter Rosin wrote: > > > >> This beats the heuristic that the connector is involved in what format > >> should be output for cases where this fails. > >> > >> E.g. if there is a bridge that changes format between the encoder and the > >> connector, or if some of the RGB pins between the lcd controller and the > >> encoder are not routed on the PCB. > >> > >> This is critical for the devices that have the "conflicting output > >> formats" issue (SAM9N12, SAM9X5, SAMA5D3), since the most significant > >> RGB bits move around depending on the selected output mode. For > >> devices that do not have the "conflicting output formats" issue > >> (SAMA5D2, SAMA5D4), this is completely irrelevant. > >> > >> Signed-off-by: Peter Rosin > >> --- > >> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 85 ++++++++++++++++++++------ > >> 1 file changed, 65 insertions(+), 20 deletions(-) > >> > >> diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c > >> index d73281095fac..2e718959981e 100644 > >> --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c > >> +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c > >> @@ -19,12 +19,14 @@ > >> */ > >> > >> #include > >> +#include > >> #include > >> #include > >> #include > >> > >> #include > >> #include > >> +#include > >> #include > >> > >> #include