]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb4836db92cc327ca7bb0fd87629174636a4c19cf
tree424d22e0085589cf76d987aaebd1281cb0ea48ac
parent6947b831257384e3f611804b8c87e59b2bcbbb12
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