gma500: gtt based hardware scrolling console
authorAlan Cox <alan@linux.intel.com>
Tue, 29 Nov 2011 22:27:22 +0000 (22:27 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Dec 2011 09:55:39 +0000 (09:55 +0000)
commita6ba582d264f67074f669f76172e8a2afadff2a4
tree424d22e0085589cf76d987aaebd1281cb0ea48ac
parent9242fe23d2ebab9c61dbc50d65f30cfa20a856ae
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, and the usual configurations are netbooks/tablets.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/framebuffer.c
drivers/gpu/drm/gma500/gtt.c
drivers/gpu/drm/gma500/gtt.h