[PATCH v2 00/11] sync framework de-staging: part 2 - de-stage

From: Gustavo Padovan
Date: Wed Jan 27 2016 - 08:30:53 EST


From: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxxxx>

This patch series de-stage the sync framework and it a follow up on the
clean up series I've sent last week:

http://thread.gmane.org/gmane.comp.video.dri.devel/145509

Now in part 2 we finish the de-stage of the sync framework. It start with the
move of sync_file from staging to drivers/dma-buf, followed by a bunch of clean
ups on sync_timeline and sw_sync. Finally we de-stage the later two plus the
debug routines.

v2: use git format-patch -M

Gustavo Padovan (11):
dma-buf/sync_file: de-stage sync_file
staging/android: store last signaled value on sync timeline
staging/android: remove .fill_driver_data() timeline ops
staging/android: remove .{fence,timeline}_value_str() from
timeline_ops
staging/android: remove struct sync_timeline_ops
staging/android: remove sw_sync_timeline and sw_sync_pt
staging/android: remove sw_sync.[ch] files
staging/android: rename android_fence to timeline_fence
dma-buf/sync_timeline: de-stage sync_timeline
dma-buf/sync_file: bring debug back to sync file
dma-buf/sync_file: bring sync_dump() back

drivers/Kconfig | 2 +
drivers/dma-buf/Kconfig | 21 ++
drivers/dma-buf/Makefile | 2 +
.../{staging/android/uapi => dma-buf}/sw_sync.h | 0
drivers/{staging/android => dma-buf}/sync_debug.c | 40 ++--
drivers/dma-buf/sync_debug.h | 35 +++
.../android/sync.c => dma-buf/sync_file.c} | 245 ++-----------------
drivers/dma-buf/sync_timeline.c | 222 ++++++++++++++++++
drivers/staging/android/Kconfig | 19 --
drivers/staging/android/Makefile | 1 -
drivers/staging/android/sw_sync.c | 103 --------
drivers/staging/android/sw_sync.h | 59 -----
drivers/staging/android/sync.h | 261 ---------------------
include/linux/sync_file.h | 123 ++++++++++
include/linux/sync_timeline.h | 114 +++++++++
.../sync.h => include/trace/events/sync_file.h | 35 +--
include/trace/events/sync_timeline.h | 31 +++
.../android/uapi => include/uapi/linux}/sync.h | 12 +-
18 files changed, 604 insertions(+), 721 deletions(-)
create mode 100644 drivers/dma-buf/Kconfig
rename drivers/{staging/android/uapi => dma-buf}/sw_sync.h (100%)
rename drivers/{staging/android => dma-buf}/sync_debug.c (91%)
create mode 100644 drivers/dma-buf/sync_debug.h
rename drivers/{staging/android/sync.c => dma-buf/sync_file.c} (62%)
create mode 100644 drivers/dma-buf/sync_timeline.c
delete mode 100644 drivers/staging/android/sw_sync.c
delete mode 100644 drivers/staging/android/sw_sync.h
delete mode 100644 drivers/staging/android/sync.h
create mode 100644 include/linux/sync_file.h
create mode 100644 include/linux/sync_timeline.h
rename drivers/staging/android/trace/sync.h => include/trace/events/sync_file.h (58%)
create mode 100644 include/trace/events/sync_timeline.h
rename {drivers/staging/android/uapi => include/uapi/linux}/sync.h (90%)

--
2.5.0