viafb: make single framebuffer multiple adapter mode work
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 19 Oct 2011 20:32:50 +0000 (20:32 +0000)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Fri, 10 Feb 2012 19:28:39 +0000 (19:28 +0000)
This patch implementes this mode (viafb_SAMM_ON set and
viafb_dual_fb not set) in a useful way for CRT and DVI devices.
The same content is shown on both devices in different video modes.
The first (primary) resolution must not be bigger than the secondary
one and determines the visible region. The same content is shown
centered on the secondary output.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/via/dvi.c
drivers/video/via/dvi.h
drivers/video/via/hw.c
drivers/video/via/hw.h

Simple merge
Simple merge
Simple merge
Simple merge