Re: [PATCH v2 6/6] dma-buf/sw_sync: de-stage SW_SYNC

From: Eric Engestrom
Date: Thu Aug 11 2016 - 05:56:49 EST


On Mon, Aug 08, 2016 at 06:24:22PM -0300, Gustavo Padovan wrote:
> From: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxxxx>
>
> SW_SYNC allows to run tests on the sync_file framework via debugfs on
>
> <debugfs>/sync/sw_sync
>
> Opening and closing the file triggers creation and release of a sync
> timeline. To create fences on this timeline the SW_SYNC_IOC_CREATE_FENCE
> ioctl should be used. To increment the timeline value use SW_SYNC_IOC_INC.
>
> Also it exports Sync information on
>
> <debugfs>/sync/info
>
> Signed-off-by: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxxxx>

Reviewed-by: Eric Engestrom <eric.engestrom@xxxxxxxxxx>

> ---
> drivers/dma-buf/Kconfig | 13 ++
> drivers/dma-buf/Makefile | 1 +
> drivers/dma-buf/sw_sync.c | 349 +++++++++++++++++++++++++++++++++++
> drivers/dma-buf/sync_debug.c | 230 +++++++++++++++++++++++
> drivers/dma-buf/sync_debug.h | 69 +++++++
> drivers/dma-buf/sync_trace.h | 32 ++++
> drivers/staging/android/Kconfig | 13 --
> drivers/staging/android/Makefile | 1 -
> drivers/staging/android/sw_sync.c | 349 -----------------------------------
> drivers/staging/android/sync_debug.c | 230 -----------------------
> drivers/staging/android/sync_debug.h | 69 -------
> drivers/staging/android/sync_trace.h | 32 ----
> 12 files changed, 694 insertions(+), 694 deletions(-)
> create mode 100644 drivers/dma-buf/sw_sync.c
> 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_trace.h
> delete mode 100644 drivers/staging/android/sw_sync.c
> delete mode 100644 drivers/staging/android/sync_debug.c
> delete mode 100644 drivers/staging/android/sync_debug.h
> delete mode 100644 drivers/staging/android/sync_trace.h
>

[snip]