drm: arm: Add support for PRIME and dma_buf buffer sharing.
authorLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 30 Jun 2014 17:36:57 +0000 (18:36 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 2 Jul 2014 15:33:22 +0000 (16:33 +0100)
commitd02f99cc9eae0da45123ec47bce6ae2fd460d8c1
tree2f6ddf499bdea6cabe05b974cdc3713fdd39b483
parentfbc1378fe7f002b0437b753031441bef4886cb35
drm: arm: Add support for PRIME and dma_buf buffer sharing.

Add support for buffer sharing in HDLCD and implement proprietary
IOCTL from ARM Mali driver to get a file descriptor for the buffer.
This is used by the Mali kernel driver to import the buffers into
DDK and enable double buffering.

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/Kconfig
drivers/gpu/drm/arm/Makefile
drivers/gpu/drm/arm/hdlcd_crtc.c
drivers/gpu/drm/arm/hdlcd_drv.c
drivers/gpu/drm/arm/hdlcd_drv.h
drivers/gpu/drm/arm/hdlcd_fb.c [new file with mode: 0644]