]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
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)
commit532f9169db21fbffd07cc44075c7ea1859c07806
tree2d8a5eb0e44592f1ee91da056d86acff9085de30
parent561c9079ea1de24f8d49c73391811c547d1b2636
viafb: make single framebuffer multiple adapter mode work

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