fbdev: add FBIOCOPYAREA ioctl
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Mon, 17 Jun 2013 10:32:11 +0000 (13:32 +0300)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:44:57 +0000 (15:44 +0100)
commit5c564500c4bfa48b314ef7432babcea6c358b330
tree746ae57dc58cd49b3bd40fbf059cf4304f46e16c
parent79fa0e91cb18bfe49a0dc196ffa68041b7ce900e
fbdev: add FBIOCOPYAREA ioctl

Based on the patch authored by Ali Gholami Rudi at
    https://lkml.org/lkml/2009/7/13/153

Provide an ioctl for userspace applications, but only if this operation
is hardware accelerated (otherwide it does not make any sense).

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
bcm2708_fb: Add ioctl for reading gpu memory through dma
drivers/video/fbdev/bcm2708_fb.c
drivers/video/fbdev/core/fbmem.c
include/uapi/linux/fb.h