X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fvideo%2Fvga16fb.c;h=2a14d28c41633ff92b28b9e253d1fb3530349fb0;hb=6ec129c3a2f8b38bc37e42348470ccfcb7460146;hp=ec4c7dc54a66972dbc662e0137b468d2bda088aa;hpb=c4f28e54d61278203c2bb2aea0679e0a738235d2;p=linux-2.6 diff --git a/drivers/video/vga16fb.c b/drivers/video/vga16fb.c index ec4c7dc54a..2a14d28c41 100644 --- a/drivers/video/vga16fb.c +++ b/drivers/video/vga16fb.c @@ -1378,6 +1378,8 @@ static int __init vga16fb_probe(struct platform_device *dev) info->fbops = &vga16fb_ops; info->var = vga16fb_defined; info->fix = vga16fb_fix; + /* supports rectangles with widths of multiples of 8 */ + info->pixmap.blit_x = 1 << 7 | 1 << 15 | 1 << 23 | 1 << 31; info->flags = FBINFO_FLAG_DEFAULT | FBINFO_HWACCEL_YPAN;