gma500: Be smarter about layout
authorAlan Cox <alan@linux.intel.com>
Tue, 29 Nov 2011 22:27:34 +0000 (22:27 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Dec 2011 09:55:40 +0000 (09:55 +0000)
commit1b223c9ebf11e9597820fac57b211709f8ffce26
treed249394aeb95edb1b7c60cf53959d1183cae860f
parenta6ba582d264f67074f669f76172e8a2afadff2a4
gma500: Be smarter about layout

If we can't fit a page aligned display stride then it's not the end of the
world for a normal font, so try half a page and work down sizes.

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