summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/hw.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-03-06 12:20:31 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-03-06 12:20:31 +0100
commit0ba86d7edea1f9f2d9497c31200910263e8b4128 (patch)
tree387f713e1afdd181e92699dcaa5fa3d45b30c75b /drivers/video/via/hw.c
parentMerge branch 'work/old-omapfb-removal' (diff)
parentLinux 3.3-rc6 (diff)
downloadlinux-0ba86d7edea1f9f2d9497c31200910263e8b4128.tar.xz
linux-0ba86d7edea1f9f2d9497c31200910263e8b4128.zip
Merge commit 'v3.3-rc6'
Merge v3.3-rc6 to get the latest DSS and OMAP arch fixes. Conflicts: arch/arm/mach-omap1/board-innovator.c drivers/video/omap2/dss/apply.c
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 */