From mboxrd@z Thu Jan 1 00:00:00 1970 From: petr.cvek@tul.cz (Petr Cvek) Date: Mon, 28 Sep 2015 23:32:12 +0200 Subject: [PATCH v4 10/26] ARM: pxa: magician: Optimize Samsung LCD refresh to 50Hz In-Reply-To: References: Message-ID: <5609B1DC.2040703@tul.cz> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Change the default Samsung LCD refresh from an unrealistic 117Hz to 50Hz as no video applications on the HTC Magician can work that fast. The optimalization lowers the RAM latency at least by 3%. Signed-off-by: Petr Cvek --- arch/arm/mach-pxa/magician.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index 14d1f55..2c487ae 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c @@ -317,7 +317,7 @@ static struct pxafb_mode_info toppoly_modes[] = { static struct pxafb_mode_info samsung_modes[] = { { - .pixclock = 96153, + .pixclock = 226469, .bpp = 16, .xres = 240, .yres = 320, -- 1.7.12.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753552AbbI1VcN (ORCPT ); Mon, 28 Sep 2015 17:32:13 -0400 Received: from bubo.tul.cz ([147.230.16.1]:45761 "EHLO bubo.tul.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752997AbbI1VcM (ORCPT ); Mon, 28 Sep 2015 17:32:12 -0400 From: Petr Cvek Subject: [PATCH v4 10/26] ARM: pxa: magician: Optimize Samsung LCD refresh to 50Hz To: robert.jarzmik@free.fr, philipp.zabel@gmail.com, daniel@zonque.org, haojian.zhuang@gmail.com, linux@arm.linux.org.uk References: Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Message-ID: <5609B1DC.2040703@tul.cz> Date: Mon, 28 Sep 2015 23:32:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change the default Samsung LCD refresh from an unrealistic 117Hz to 50Hz as no video applications on the HTC Magician can work that fast. The optimalization lowers the RAM latency at least by 3%. Signed-off-by: Petr Cvek --- arch/arm/mach-pxa/magician.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index 14d1f55..2c487ae 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c @@ -317,7 +317,7 @@ static struct pxafb_mode_info toppoly_modes[] = { static struct pxafb_mode_info samsung_modes[] = { { - .pixclock = 96153, + .pixclock = 226469, .bpp = 16, .xres = 240, .yres = 320, -- 1.7.12.1