From patchwork Wed Mar 13 10:12:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Ferre X-Patchwork-Id: 227225 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4FC262C008E for ; Wed, 13 Mar 2013 21:16:49 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UFig8-0002BP-Rk; Wed, 13 Mar 2013 10:13:00 +0000 Received: from eusmtp01.atmel.com ([212.144.249.242]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UFig6-0002B2-0c for linux-arm-kernel@lists.infradead.org; Wed, 13 Mar 2013 10:12:58 +0000 Received: from HNOCHT02.corp.atmel.com (10.161.30.162) by eusmtp01.atmel.com (10.161.101.30) with Microsoft SMTP Server (TLS) id 14.2.318.4; Wed, 13 Mar 2013 11:12:56 +0100 Received: from [10.159.245.112] (10.161.30.18) by HNOCHT02.corp.atmel.com (10.161.30.162) with Microsoft SMTP Server (TLS) id 14.2.318.1; Wed, 13 Mar 2013 11:12:55 +0100 Message-ID: <51405126.3090009@atmel.com> Date: Wed, 13 Mar 2013 11:12:54 +0100 From: Nicolas Ferre Organization: atmel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: Johan Hovold , Olof Johansson , "Arnd Bergmann" Subject: Re: [PATCH 0/5] at91: atmel_lcdfb: regression fixes and cpu_is removal References: <20130210004740.GH16278@quad.lixom.net> <5139B169.7050807@atmel.com> In-Reply-To: <5139B169.7050807@atmel.com> X-Enigmail-Version: 1.4.6 X-Originating-IP: [10.161.30.18] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130313_061258_283337_D550A9DC X-CRM114-Status: GOOD ( 18.22 ) X-Spam-Score: -4.3 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -2.4 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linux-fbdev@vger.kernel.org, FlorianSchandinat@gmx.de, linux-kernel@vger.kernel.org, jacmet@sunsite.dk, Jean-Christophe PLAGNIOL-VILLARD , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org On 03/08/2013 10:37 AM, Nicolas Ferre : > On 02/10/2013 07:45 PM, Johan Hovold : >> On Sun, Feb 10, 2013 at 1:47 AM, Olof Johansson wrote: >>> On Fri, Feb 08, 2013 at 05:35:13PM +0100, Nicolas Ferre wrote: >>>> These patches fix a regression in 16-bpp support for older SOCs which >>>> use IBGR:555 rather than BGR:565 pixel layout. Use SOC-type to >>>> determine if the controller uses the intensity-bit and restore the >>>> old layout in that case. >>>> >>>> The last patch is a removal of uses of cpu_is_xxxx() macros in >>>> atmel_lcdfb with a platform-device-id table and static >>>> configurations. >>>> >>>> >>>> Patches from Johan Hovold taken from: "[PATCH 0/3] atmel_lcdfb: fix >>>> 16-bpp regression" and "[PATCH v2 0/3] ARM: at91/avr32/atmel_lcdfb: >>>> remove cpu_is macros" patch series to form a clean patch series with >>>> my signature. >>>> >>>> Arnd, Olof, as it seems that old fbdev drivers are not so much >>>> reviewed those days, can we take the decision to queue this material >>>> through arm-soc with other AT91 drivers updates? >>> >>> It would be beneficial to get an ack from Florian. Was he involved in >>> the review of the code that regressed 16-bpp support in the first >>> place? When was the regression introduced? >> >> In v3.4 by commit 787f9fd2328 ("atmel_lcdfb: support 16bit BGR:565 mode, >> remove unsupported 15bit modes"). > > Arnd, Olof, > > Please tell me if I can do something to ease the adoption of these > patches during 3.9-rc timeframe (I can rebase it on top of 3.9-rc1 to > avoid any conflict: the file board-neocore926.c was removed during the > merge window). > Johan has written the series a long time ago and we still do not have it > in mainline. > > If the option to ask Andrew is better in your opinion, please tell me. In case we end-up with an agreement on the path those fixes should follow, here is the location of my updated material rebased on top of 3.9-rc2: The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2 (2013-03-10 16:54:19 -0700) are available in the git repository at: git://github.com/at91linux/linux-at91.git at91-3.9-fixesLCD for you to fetch changes up to bbd44f6bd9d1aa735b180b29b5719d63a8e87b55: ARM: at91/avr32/atmel_lcdfb: add platform device-id table (2013-03-13 11:05:12 +0100) ---------------------------------------------------------------- Johan Hovold (5): atmel_lcdfb: fix 16-bpp modes on older SOCs ARM: at91: fix LCD-wiring mode ARM: at91/avr32/atmel_lcdfb: add bus-clock entry atmel_lcdfb: move lcdcon2 register access to compute_hozval ARM: at91/avr32/atmel_lcdfb: add platform device-id table arch/arm/mach-at91/at91sam9261.c | 2 + arch/arm/mach-at91/at91sam9261_devices.c | 6 +- arch/arm/mach-at91/at91sam9263.c | 1 + arch/arm/mach-at91/at91sam9263_devices.c | 2 +- arch/arm/mach-at91/at91sam9g45.c | 2 + arch/arm/mach-at91/at91sam9g45_devices.c | 6 +- arch/arm/mach-at91/at91sam9rl.c | 1 + arch/arm/mach-at91/at91sam9rl_devices.c | 2 +- arch/avr32/mach-at32ap/at32ap700x.c | 6 +- drivers/video/atmel_lcdfb.c | 130 +++++++++++++++++++++++++++-------- include/video/atmel_lcdc.h | 4 +- 11 files changed, 126 insertions(+), 36 deletions(-) Thanks, best regards,