FROMLIST: fb: add dma-buf support
authorJamie Nicol <jamie.nicol@arm.com>
Fri, 22 Aug 2014 16:08:47 +0000 (17:08 +0100)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 21 Jun 2017 07:13:01 +0000 (15:13 +0800)
commit1f6daacebe0358bdfb78a35186cbb308ca117b8a
treeabb04a58da8870aa83aff74c37e8e85ffbc1adfb
parentf917a54ff7b441685d4a19601993f174c08ebf11
FROMLIST: fb: add dma-buf support

Add support for the dma-buf exporter role to the frame buffer API. The
importer role isn't meaningful for frame buffer devices, as the frame
buffer device model doesn't allow using externally allocated memory.

taken from an RFC on the linaro-mm-sig mailing list:
http://lists.linaro.org/pipermail/linaro-mm-sig/2012-June/002167.html

Fixes by Mark Yao:
  add FBIOGET_DMABUF to compat_ioctl.

Change-Id: I39c9bbdd6b88c6d5ba7524abfc5b560dceb4633e
Signed-off-by: Guillaume Tucker <guillaume.tucker@arm.com>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
(am from https://patchwork.linuxtv.org/patch/12980)
drivers/video/fbdev/core/fbmem.c
include/linux/fb.h
include/uapi/linux/fb.h