summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2014-01-23 14:44:00 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-02-11 15:01:05 +0200
commite62cabb5e9949bd51f68832b5ec9e18fcd323e20 (patch)
tree9f95feb587a98121663d683ceef6d5f78904bc36 /arch/arm/mach-imx
parent6b0df6827bb6fcacb158dff29ad0a62d6418b534 (diff)
downloadblackbird-op-linux-e62cabb5e9949bd51f68832b5ec9e18fcd323e20.tar.gz
blackbird-op-linux-e62cabb5e9949bd51f68832b5ec9e18fcd323e20.zip
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>
Diffstat (limited to 'arch/arm/mach-imx')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud