[PATCH] de-stage android sync framework

Gustavo Padovan gustavo at padovan.org
Fri Mar 18 14:19:58 UTC 2016


From: Gustavo Padovan <gustavo.padovan at collabora.co.uk>

Hi,

This is the first step and the most important one of the de-stage
of the the sync framework, it de-stage the sync_file part which is used
to send/receive fence file descriptors with the userspace.

These patches sits on top of the sync ABI changes that I sent earlier today:
https://www.spinics.net/lists/dri-devel/msg102795.html

Comments are welcome!

	Gustavo


Gustavo Padovan (1):
  dma-buf/sync_file: de-stage sync_file

 drivers/Kconfig                                    |   2 +
 drivers/dma-buf/Kconfig                            |  11 +
 drivers/dma-buf/Makefile                           |   1 +
 drivers/dma-buf/sync_file.c                        | 382 +++++++++++++++++++++
 drivers/staging/android/Kconfig                    |   1 +
 drivers/staging/android/sync.c                     | 362 -------------------
 drivers/staging/android/sync.h                     |  92 +----
 drivers/staging/android/sync_debug.c               |   1 +
 include/linux/sync_file.h                          | 106 ++++++
 .../uapi/sync.h => include/uapi/linux/sync_file.h  |   0
 10 files changed, 506 insertions(+), 452 deletions(-)
 create mode 100644 drivers/dma-buf/Kconfig
 create mode 100644 drivers/dma-buf/sync_file.c
 create mode 100644 include/linux/sync_file.h
 rename drivers/staging/android/uapi/sync.h => include/uapi/linux/sync_file.h (100%)

-- 
2.5.0



More information about the devel mailing list