summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/hw.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-03-10 09:15:30 -0800
committerOlof Johansson <olof@lixom.net>2012-03-10 09:15:30 -0800
commitc454f813501b94cd687bf3c5c0783f815a854905 (patch)
tree8b6e1719ba4470e478d719ca0cf935501370e237 /drivers/video/via/hw.c
parent1ad4fb2f7cbc21db9cdbb53e25ce348d93bbd6e7 (diff)
parent63fc5f3bb3d0ca9ab4767a801b518aa6335f87ad (diff)
downloadtalos-obmc-linux-c454f813501b94cd687bf3c5c0783f815a854905.tar.gz
talos-obmc-linux-c454f813501b94cd687bf3c5c0783f815a854905.zip
Merge branch 'board' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/boards
* 'board' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: OMAP: add minimal support for Nokia RM-696 ARM: OMAP: enable Bluetooth on the PandaBoard ARM: OMAP: pandora: add support for backlight and poweroff ARM: OMAP4: board-4430sdp: don't initialize value that is never used ARM: OMAP3: cm-t3517: add EMAC support ARM: OMAP: move generic EMAC init to separate file ARM: OMAP3: RX-51: add explicit mux configuration of tsc2005 control gpios ARM: OMAP: Add omap_reserve functionality (includes sync-up to 3.3-rc6)
Diffstat (limited to 'drivers/video/via/hw.c')
-rw-r--r--drivers/video/via/hw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c
index d5aaca9cfa7e..8497727d66de 100644
--- a/drivers/video/via/hw.c
+++ b/drivers/video/via/hw.c
@@ -1810,7 +1810,11 @@ static void hw_init(void)
break;
}
+ /* magic required on VX900 for correct modesetting on IGA1 */
+ via_write_reg_mask(VIACR, 0x45, 0x00, 0x01);
+
/* probably this should go to the scaling code one day */
+ via_write_reg_mask(VIACR, 0xFD, 0, 0x80); /* VX900 hw scale on IGA2 */
viafb_write_regx(scaling_parameters, ARRAY_SIZE(scaling_parameters));
/* Fill VPIT Parameters */
OpenPOWER on IntegriCloud