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

Gustavo Padovan gustavo at padovan.org
Tue Jan 26 10:30:15 PST 2016


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

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.

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 +
 drivers/dma-buf/sw_sync.h              |  32 ++
 drivers/dma-buf/sync_debug.c           | 374 +++++++++++++++++++
 drivers/dma-buf/sync_debug.h           |  35 ++
 drivers/dma-buf/sync_file.c            | 451 +++++++++++++++++++++++
 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.c         | 652 ---------------------------------
 drivers/staging/android/sync.h         | 261 -------------
 drivers/staging/android/sync_debug.c   | 372 -------------------
 drivers/staging/android/trace/sync.h   |  82 -----
 drivers/staging/android/uapi/sw_sync.h |  32 --
 drivers/staging/android/uapi/sync.h    |  97 -----
 include/linux/sync_file.h              | 123 +++++++
 include/linux/sync_timeline.h          | 114 ++++++
 include/trace/events/sync_file.h       |  57 +++
 include/trace/events/sync_timeline.h   |  31 ++
 include/uapi/linux/sync.h              |  97 +++++
 23 files changed, 1561 insertions(+), 1678 deletions(-)
 create mode 100644 drivers/dma-buf/Kconfig
 create mode 100644 drivers/dma-buf/sw_sync.h
 create mode 100644 drivers/dma-buf/sync_debug.c
 create mode 100644 drivers/dma-buf/sync_debug.h
 create mode 100644 drivers/dma-buf/sync_file.c
 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.c
 delete mode 100644 drivers/staging/android/sync.h
 delete mode 100644 drivers/staging/android/sync_debug.c
 delete mode 100644 drivers/staging/android/trace/sync.h
 delete mode 100644 drivers/staging/android/uapi/sw_sync.h
 delete mode 100644 drivers/staging/android/uapi/sync.h
 create mode 100644 include/linux/sync_file.h
 create mode 100644 include/linux/sync_timeline.h
 create mode 100644 include/trace/events/sync_file.h
 create mode 100644 include/trace/events/sync_timeline.h
 create mode 100644 include/uapi/linux/sync.h

-- 
2.5.0



More information about the dri-devel mailing list