]> git.baikalelectronics.ru Git - kernel.git/commit
s3fb: fix Virge/VX
authorOndrej Zary <linux@rainbow-software.org>
Mon, 19 Dec 2011 22:39:47 +0000 (23:39 +0100)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 21 Dec 2011 02:25:21 +0000 (02:25 +0000)
commit58ebdb5f4168c7ab40e63438964177c4826cc2d2
tree7d9ffe066cebc2724b95c585f26d19f62c4248a9
parent0e7edb7de885a5dd3d0707769930dc3bc5a2c26f
s3fb: fix Virge/VX

Add memory size detection for Virge/VX and small delay in mode setting (same
as in X.org driver) to fix blank screen problem.

Also adjust DTPC position to fix garbled screen in some modes (tested that
this adjustment does not break other cards - at least Trio32, Trio64V+,
Trio64V2/DX, Virge, Virge/DX).

Tested on ELSA Winner 2000AVI/3D.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/s3fb.c