Re: [PATCH v2] video: fbdev: fix sys_copyarea

From: Tomi Valkeinen
Date: Fri Jan 30 2015 - 02:54:45 EST


On 22/01/15 03:19, Mans Rullgard wrote:
> The sys_copyarea() function performs the same operation as
> cfb_copyarea() but using normal memory access instead of I/O
> accessors. Since the introduction of sys_copyarea(), there
> have been two fixes to cfb_copyarea():
>
> - 00a9d699 ("framebuffer: fix cfb_copyarea")
> - 5b789da8 ("framebuffer: fix screen corruption when copying")
>
> This patch incorporates the fixes into sys_copyarea() as well.
>
> Signed-off-by: Mans Rullgard <mans@xxxxxxxxx>
> ---
> Changed in v2:
> - Fixed wrong first/last calculation in bitcpy_rev()
> ---
> drivers/video/fbdev/core/syscopyarea.c | 137 ++++++++++++++++-----------------
> 1 file changed, 65 insertions(+), 72 deletions(-)

Thanks, queued for 3.20.

This makes me wonder, though, if the sys and cfb versions could be
somehow combined...

Tomi


Attachment: signature.asc
Description: OpenPGP digital signature