atmel_lcdfb: set ypanstep to 1 and enable y-panning on AT91
commite730d8b0a5882b66c169e1bed09774d5d365e2e0
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Tue, 12 Aug 2008 22:08:56 +0000 (12 15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 12 Aug 2008 23:07:29 +0000 (12 16:07 -0700)
treeba927bd464dadbd5de9a9f7088d6b042d37a0a98
parent10546355323e4826d13e62f85ac6198385a817a9
atmel_lcdfb: set ypanstep to 1 and enable y-panning on AT91

Panning in the y-direction can be done by simply changing the DMA base
address.  This code is already in place, but FBIOPAN_DISPLAY will
currently fail because ypanstep is 0.

Set ypanstep to 1 to indicate that we do support y-panning and also set
the necessary acceleration flags on AT91 (AVR32 already have them.)

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/atmel_lcdfb.c