staging: gma500: gtt based hardware scrolling console
authorAlan Cox <alan@linux.intel.com>
Thu, 22 Sep 2011 18:43:47 +0000 (19:43 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 Sep 2011 00:32:54 +0000 (17:32 -0700)
commitef86de5832a2eee01c5dc4199cee0c48e9c14c3e
tree20ce3e3d82a3effacea0805190d05efce26b5272
parentc7e285bedb20cc0cfe999e1b285ab31a19e1902c
staging: gma500: gtt based hardware scrolling console

Add support for GTT based scrolling. Instead of pushing bits around we simply
use the GTT to change the mappings. This provides us with a very fast way to
scroll the display providing we have enough memory to allocate on 4K line
boundaries. In practice this seems to be the case except for very big displays
such as HDMI. It works out nicely on the usual configurations are netbooks and
tablets.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/framebuffer.c
drivers/staging/gma500/gtt.c
drivers/staging/gma500/gtt.h