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>
Thu, 9 Mar 2017 17:51:19 +0000 (17:51 +0000)
commit5bf5eb1e436984d1996dbda89810c7e05ebc97a8
treee04b0c16808c7140a924429b4e3e780cb2b16655
parentb183f2683f2fc232825144b9ed438be607c94b37
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