fbdev: add FBIOCOPYAREA ioctl
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Mon, 17 Jun 2013 10:32:11 +0000 (13:32 +0300)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:07:55 +0000 (00:07 +0100)
commit85957532ef6c5f3b2c8f2b8bbea753cabd92ece6
treedfb73925450095c1aa6e8d2dc3e699b8d913ff62
parentf7e1b7042dacab4aefb7283ea9a4d2aef2a4f54a
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