s3fb: use new start address register
authorOndrej Zary <linux@rainbow-software.org>
Tue, 1 Mar 2011 19:18:43 +0000 (19:18 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 22 Mar 2011 06:50:00 +0000 (15:50 +0900)
commit7fe029df4245b7765efeebbcfd1b3dfda1432a8e
tree87f774935c28d0d2202fb540fbd2caf6f27442e8
parentcb11c048928b519548dbfb7da149dd2521500db0
s3fb: use new start address register

Use "new" start address register 0x69 (bits 16-20) instead of "old" 0x31
(bits 16-17) and 0x51 (bits 18-19). This is needed for panning to work
correctly on Trio3D/2X cards (and does no harm on other ones).

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Acked-by: Ondrej Zajicek <santiago@crfreenet.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/s3fb.c