From: Mikulas Patocka Date: Thu, 23 Jan 2014 19:43:10 +0000 (-0500) Subject: tgafb: fix data copying X-Git-Tag: v3.15-rc1~63^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b0df6827bb6fcacb158dff29ad0a62d6418b534;p=pandora-kernel.git tgafb: fix data copying The functions for data copying copyarea_foreward_8bpp and copyarea_backward_8bpp are buggy, they produce screen corruption. This patch fixes the functions and moves the logic to one function "copyarea_8bpp". For simplicity, the function only handles copying that is aligned on 8 pixes. If we copy an unaligned area, generic function cfb_copyarea is used. Signed-off-by: Mikulas Patocka Cc: stable@vger.kernel.org Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed