Mikulas Patocka e62cabb5e9 tgafb: avoid restriction on modes with line length not a multiple of 64
In tgafb there is a restriction that prevents the user from setting a
videomode with line length not a multiple of 64 bytes (for example,
800x600 is not allowed).

The reason for this restriction it that functions copyarea_line_8bpp and
copyarea_line_32bpp can not handle a line length that is not a multiple
of 64 bytes.

This patch removes this restriction on mode setting and makes sure that
the functions copyarea_line_8bpp and copyarea_line_32bpp are called only
if line length is a multiple of 64 bytes. If we set a mode 800x600,
the functions copyarea_line_8bpp and copyarea_line_32bpp are not used,
generic functions for copying are used instead and it works just fine.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2014-02-11 15:01:05 +02:00
..
2013-10-29 12:53:07 +02:00
2014-01-17 10:57:50 +02:00
2013-10-29 12:53:07 +02:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-12-04 10:48:12 +02:00
2013-11-14 14:44:20 +09:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2014-02-11 15:01:04 +02:00
2013-10-30 13:34:52 +02:00
2013-10-30 13:34:52 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-02-22 23:31:31 -05:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-03-20 16:26:32 +01:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-09 12:52:50 +03:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-09-20 12:22:03 +03:00
2013-10-30 13:34:52 +02:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-07-09 15:51:32 -07:00
2013-09-20 12:22:02 +03:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-09-20 12:23:21 +03:00
2013-10-30 13:34:52 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-10-30 13:34:52 +02:00
2013-10-29 12:53:07 +02:00
2013-12-19 15:10:49 +01:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00