]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: pxa: magician: Optimize Samsung LCD refresh to 50Hz
authorPetr Cvek <petr.cvek@tul.cz>
Mon, 28 Sep 2015 21:32:12 +0000 (23:32 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 14 Oct 2015 21:06:56 +0000 (23:06 +0200)
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 <petr.cvek@tul.cz>
Acked-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/magician.c

index 82a64c3b34e84fe39d21925cdb8fd69d11408616..449ca0f3731ff963fe640dc4d97e1bbeeabc9ec4 100644 (file)
@@ -250,7 +250,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,