Hi Emilio,
2016-10-19 Emilio López :
> These tests are based on the libsync test suite from Android.
> This commit lays the ground for future tests, as well as includes
> tests for a variety of basic allocation commands.
>
> Signed-off-by: Emilio López
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
This interface is hidden from kernel headers and it is intended for use
only for testing. So testers would have to add the ioctl information
internally. This is to prevent misuse of this feature.
v2: take in Eric sugge
2016-08-11 Eric Engestrom <eric.engest...@imgtec.com>:
> On Thu, Aug 11, 2016 at 12:26:43PM -0300, Gustavo Padovan wrote:
> > From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
> >
> > This interface is hidden from kernel headers and it is intended for use
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
remove file paths in the comments and add short description about each
file.
v2: remove file paths instead of just change them.
v3: improve header description as sugggested by Eric
Signed-off-by: Gustavo Padovan <gus
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
The common behaviour for trace headers is to have them in the same folder
they are used, instead of creating a special trace/ directory.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Reviewed-by: Er
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
This interface is hidden from kernel headers and it is intended for use
only for testing. So testers would have to add the ioctl information
internally. This is to prevent misuse of this feature.
v2: take in Eric sugge
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
SW_SYNC allows to run tests on the sync_file framework via debugfs on
/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
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Hi Greg,
This is the last step in the Sync Framwork de-stage task. It de-stage
the SW_SYNC validation framework and the sync_debug info debugfs file.
The first 2 patches are clean up and improvements and the rest is preparation
to de
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Closing the timeline without waiting all fences to signal is not
a critical failure, it is just bad usage from userspace so avoid
calling WARN_ON in this case.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Hi Eric,
2016-08-11 Eric Engestrom <eric.engest...@imgtec.com>:
> On Mon, Aug 08, 2016 at 06:24:16PM -0300, Gustavo Padovan wrote:
> > From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
> >
> > Hi Greg,
> >
> > This is the last step in
Hi Pavel,
2016-08-09 Pavel Machek <pa...@ucw.cz>:
> On Mon 2016-08-08 18:24:17, Gustavo Padovan wrote:
> > From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
> >
> > SW_SYNC should never be used by other pieces of the kernel apart from
> > sync_deb
2016-08-09 Maarten Lankhorst <maarten.lankho...@linux.intel.com>:
> Op 08-08-16 om 21:59 schreef Gustavo Padovan:
> > 2016-08-08 Maarten Lankhorst <maarten.lankho...@linux.intel.com>:
> >
> >> Op 20-06-16 om 17:53 schreef Gustavo Padovan:
>
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
This interface is hidden from kernel headers and it is intended for use
only for testing. So testers would have to add the ioctl information
internally. This is to prevent misuse of this feature.
Signed-off-by: Gustavo Padovan <gus
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
SW_SYNC allows to run tests on the sync_file framework via debugfs on
/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
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
remove file paths in the comments and add short description about each
file.
v2: remove file paths instead of just change them.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sw_s
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
The common behaviour for trace headers is to have them in the same folder
they are used, instead of creating a special trace/ directory.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/andro
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
SW_SYNC should never be used by other pieces of the kernel apart from
sync_debug as it is only a Sync File Validation Framework, so hide any
info to avoid confuse this with a standard kernel internal API.
Signed-off-by: Gustavo P
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Hi Greg,
This is the last step in the Sync Framwork de-stage task. It de-stage
the SW_SYNC validation framework and the sync_debug info debugfs file.
The first 2 patches are clean up and improvements and the rest is preparation
to de
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Closing the timeline without waiting all fences to signal is not
a critical failure, it is just bad usage from userspace so avoid
calling WARN_ON in this case.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
2016-08-08 Maarten Lankhorst <maarten.lankho...@linux.intel.com>:
> Op 20-06-16 om 17:53 schreef Gustavo Padovan:
> > From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
> >
> > When creating a sync_pt the name received wasn't used anywhere.
> > Now
2016-07-24 Pavel Machek <pa...@ucw.cz>:
> On Mon 2016-08-08 16:08:12, Gustavo Padovan wrote:
> > 2016-08-07 Pavel Machek <pa...@ucw.cz>:
> >
> > > On Sun 2016-07-24 15:21:11, Greg Kroah-Hartman wrote:
> > > > On Mon, Jul 18, 2016 at 04:12
2016-08-07 Pavel Machek <pa...@ucw.cz>:
> On Sun 2016-07-24 15:21:11, Greg Kroah-Hartman wrote:
> > On Mon, Jul 18, 2016 at 04:12:45PM -0300, Gustavo Padovan wrote:
> > > Hi,
> > >
> > > Do you think there is time to get this in for 4.8?
> >
Hi Greg,
Any comment on this?
Thanks,
Gustavo
2016-06-20 Gustavo Padovan <gust...@padovan.org>:
> From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
>
> Hi Greg,
>
> This is the last step in the Sync Framwork de-stage task. It de-stage
> th
2016-06-23 Emil Velikov <emil.l.veli...@gmail.com>:
> Hi Gustavo,
>
> On 20 June 2016 at 16:53, Gustavo Padovan <gust...@padovan.org> wrote:
> > - - port libsync tests to kselftest
>
> I believe the tests haven't landed yet right, so this should stay right
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
remove file paths in the comments and add short description about each
file.
v2: remove file paths instead of just change them.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sw_s
2016-06-20 Joe Perches <j...@perches.com>:
> On Mon, 2016-06-20 at 12:53 -0300, Gustavo Padovan wrote:
> > From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
> >
> > Fix paths in the comments.
>
> Why is it useful to have the path or filename embedd
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Sync Framework was de-staged to drivers/dma-buf/, so remove it entries
in the TODO file.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/TODO | 8
1 file changed, 8 deleti
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Fix paths in the comments.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sync_debug.c | 2 +-
drivers/staging/android/sync_debug.h | 2 +-
2 files changed, 2 insertions(+),
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Hi Greg,
This is the last step in the Sync Framwork de-stage task. It de-stage
the SW_SYNC validation framework and the sync_debug info debugfs file.
The first 3 patches are clean up and improvements and the rest is preparation
to de
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
SW_SYNC allows to run tests on the sync_file framework via debugfs on
/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
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
SW_SYNC should never be used by other pieces of the kernel apart from
sync_debug as it is only a Sync File Validation Framework, so hide any
info to avoid confuse this with a standard kernel internal API.
Signed-off-by: Gustavo P
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
The common behaviour for trace headers is to have them in the same folder
they are used, instead of creating a special trace/ directory.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/andro
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Closing the timeline without waiting all fences to signal is not
a critical failure, it is just bad usage from userspace so avoid
calling WARN_ON in this case.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
When creating a sync_pt the name received wasn't used anywhere.
Now we add it to the sync info debug output to make it easier to indetify
the userspace name of that sync pt.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collab
Hi Greg,
Any comment on this?
Gustavo
2016-05-31 Gustavo Padovan <gust...@padovan.org>:
> From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
>
> Hi,
>
> The following patches do a clean up on the sw_sync inteface. It starts by
> removing s
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
SW_SYNC only works with DEBUG_FS so state it in the Kconfig file.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/Kconfig | 1 +
drivers/staging/android/sync_debug.c | 4 -
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
This header file only contains information for debugging and SW_SYNC, so
rename it to sync_debug.h instead of having a more generic name.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/sta
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
As it is internal to sw_sync now this value will always be "sw_sync".
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sw_sync.c| 11 +++
drivers/staging/and
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
This function was just used by the file release function, so we just fold
its content there and remove sync_timeline_destroy().
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sw
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
'destroyed' was set but not used ny anyone.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sw_sync.c | 5 -
drivers/staging/android/sync.h| 5 +
2 files changed, 1 ins
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
The only use sync_timeline will have in upstream kernel is for debugging
through the SW_SYNC interface. So make it internal to SW_SYNC to avoid
people use it in the future.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collab
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
We don't want to export this from the kernel. This is interface is only
for testing and debug. So testers shall copy the ioctl info in their own
projects.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
dri
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Most of the includes there are not necessary anymore.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sync.c | 6 --
drivers/staging/android/sync.h | 3 ---
dri
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
After we removed sw_sync_timeline this arg has not been really used by
anyone, all its users pass the size of struct sync_timeline there.
So simplify this function but not requiring the size anymore.
Signed-off-by: Gustavo P
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Split sync_debug and sw_sync in two different files.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/Makefile | 1 +
drivers/staging/android/sw_syn
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Move the list_head members from sync_pt to struct fence was a mistake,
they will not be used by struct fence as planned before, so here we create
sync_pt again to bring the list heads back.
Signed-off-by: Gustavo Padovan <gus
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
When we call sync_print_fence() fence is always valid.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sync_debug.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Move drv_name, the last field of sync_timeline_ops, to sync_timeline
and remove sync_timeline_ops.
struct sync_timeline_ops was just an extra abstraction on top of
fence_ops, and in the last few commits we removed all it ops in
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
We can glue the sw_sync file operations directly on the sync framework
without the need to pass through sw_sync wrappers.
It only builds sw_sync debugfs file support if CONFIG_SW_SYNC is enabled.
Signed-off-by: Gustavo P
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
We are moving out of staging/android so rename it to a name that is not
related to android anymore.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
As we moved value storage to sync_timeline and fence those two structs
became useless and can be removed now.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sw_sy
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Now that the value of fence and the timeline are not stored by sw_sync
anymore we can remove this extra abstraction to retrieve this data.
This patch changes both fence_ops (.fence_value_str and
.timeline_value_str) to return t
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Hi,
The following patches do a clean up on the sw_sync inteface. It starts by
removing struct sync_timeline_ops, which was creating unecessary wrappers
in the code and the start to organize the sync_timeline and sw_sync code
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Add Gustavo as maintainer for the Sync File Framework. Sumit is
co-maintainer as he maintains drivers/dma-buf/. It also uses Sumit's
tree as base.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Acked-by:
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Add Gustavo as maintainer for the Sync File Framework. Sumit is
co-maintainer as he maintains drivers/dma-buf/. It also uses Sumit's
tree as base.
Cc: Sumit Semwal <sumit.sem...@linaro.org>
Signed-off-by: Gustavo Padovan &
Hi Pavel,
2016-05-02 Pavel Machek :
> Hi!
>
>
> > -}
> > -EXPORT_SYMBOL(sync_file_merge);
> > -
> > static const char *android_fence_get_driver_name(struct fence *fence)
> > {
> > struct sync_timeline *parent = fence_parent(fence);
>
> if this is meant to be used outside
2016-05-02 Pavel Machek <pa...@ucw.cz>:
> On Wed 2016-04-27 13:27:08, Gustavo Padovan wrote:
> > From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
> >
> > struct sync_merge_data already have documentation on top of the
> > struct definition. No ne
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
After we removed sw_sync_timeline this arg has not been really used by
anyone, all its users pass the size of struct sync_timeline there.
So simplify this function but not requiring the size anymore.
Signed-off-by: Gustavo P
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Split sync_debug and sw_sync in two different files.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/Makefile | 1 +
drivers/staging/android/sw_syn
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
As we moved value storage to sync_timeline and fence those two structs
became useless and can be removed now.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sw_sy
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Now that the value of fence and the timeline are not stored by sw_sync
anymore we can remove this extra abstraction to retrieve this data.
This patch changes both fence_ops (.fence_value_str and
.timeline_value_str) to return t
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
We can glue the sw_sync file operations directly on the sync framework
without the need to pass through sw_sync wrappers.
It only builds sw_sync debugfs file support if CONFIG_SW_SYNC is enabled.
Signed-off-by: Gustavo P
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Now fence timeline is aware of the last signaled fence, as it
receives the increment to the current value in sync_timeline_signal().
That allow us to remove .has_signaled() from timeline_ops as we can
directly compare using timeline-
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
We are moving out of staging/android so rename it to a name that is not
related to android anymore.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
The only use sync_timeline will have in upstream kernel is for debugging
through the SW_SYNC interface. So make it internal to SW_SYNC to avoid
people use it in the future.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collab
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Most of the includes there are not necessary anymore.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sync.c | 6 --
drivers/staging/android/sync.h | 3 ---
dri
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
When we call sync_print_fence() fence is always valid.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sync_debug.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
We don't want to export this from the kernel. This is interface is only
for testing and debug. So testers shall copy the ioctl info in their own
projects.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
dri
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Move the list_head members from sync_pt to struct fence was a mistake,
they will not be used by struct fence as planned before, so here we create
sync_pt again to bring the list heads back.
Signed-off-by: Gustavo Padovan <gus
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Hi,
The following patches do a clean up on the sw_sync inteface. It starts by
removing struct sync_timeline_ops, which was creating unecessary wrappers
in the code and the start to organize the sync_timeline and sw_sync code
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Move drv_name, the last field of sync_timeline_ops, to sync_timeline
and remove sync_timeline_ops.
struct sync_timeline_ops was just an extra abstraction on top of
fence_ops, and in the last few commits we removed all it ops in
2016-04-26 Daniel Vetter <dan...@ffwll.ch>:
> On Mon, Apr 25, 2016 at 07:33:28PM -0300, Gustavo Padovan wrote:
> > From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
> >
> > Support DRM out-fences creating a sync_file with a fence for each crtc
> > up
2016-04-26 Chris Wilson <ch...@chris-wilson.co.uk>:
> On Mon, Apr 25, 2016 at 07:33:21PM -0300, Gustavo Padovan wrote:
> > +static const char *fence_collection_get_timeline_name(struct fence *fence)
> > +{
> > + return "no context";
>
> "un
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
num_fences was missing a colon mark and sync_file_create() now have
better description.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch>
---
drive
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Add entry in device-drivers.tmpl for sync_file documentation.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch>
---
Documentation/DocBook/device-drivers.t
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Add sync_file documentation on dma-buf-sync_file.txt
Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch>
---
Documentation/sync_file.txt | 69 +
1 file changed, 69 insertions(+)
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
sync_file is useful to connect one or more fences to the file. The file is
used by userspace to track fences between drivers that share DMA bufs.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Reviewed-by: D
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Move its functions and structs to their own file. Also moves function's
docs to the .c file.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch>
---
drive
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
There is no plan in the near future to use this function outside of this
file so keep it as static.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch>
--
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
These two functions are just wrappers for one line functions, they
call fd_install() and fput() respectively, so just get rid of them
and use fd_install() and fput() directly for more simplicity.
Signed-off-by: Gustavo Padovan <gus
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Hi,
This patchset sits on top of Sync ABI Rework v13:
https://www.spinics.net/lists/dri-devel/msg105667.html
The first eight clean up and prepare sync_file for de-staging. The last four
patches do the de-staging, moving files to d
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Simplifies the API to only receive the fence it needs to add to the
sync and create a name for the sync_file based on the fence context and
seqno.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Reviewed-by: D
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
struct sync_merge_data already have documentation on top of the
struct definition. No need to duplicate it.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Reviewed-by: Maarten Lankhorst <maarten.lankho...@
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
To keep comments in line with drivers/dma-buf/ move all sync_file comments
to sync.c.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch>
---
drivers/stag
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
There is no plan in the near future to use this function outside of this
file so keep it as static.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch>
--
2016-04-27 Daniel Vetter <dan...@ffwll.ch>:
> On Wed, Apr 27, 2016 at 01:27:07PM -0300, Gustavo Padovan wrote:
> > From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
> >
> > Hi,
> >
> > This patchset sits on top of Sync ABI Rework v13:
>
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
sync_file is useful to connect one or more fences to the file. The file is
used by userspace to track fences between drivers that share DMA bufs.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
dri
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
num_fences was missing a colon mark and sync_file_create() now have
better description.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sync_file.c | 3 ++-
drivers/staging/android
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Fix checks reported by checkpatch.pl.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sync_file.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dri
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Add sync_file documentation on dma-buf-sync_file.txt
---
Documentation/dma-buf-sync_file.txt | 65 +
1 file changed, 65 insertions(+)
create mode 100644 Documentation/dma-buf-sync_file.txt
diff
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Add entry in device-drivers.tmpl for sync_file documentation.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
Documentation/DocBook/device-drivers.tmpl | 2 ++
1 file changed, 2 insertions(+)
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
There is no plan in the near future to use this function outside of this
file so keep it as static.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sync.c | 3 +--
drivers/staging/an
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Move sync_file headers file to include/ dir.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sync.h | 4 ++--
drivers/staging/android/
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Move its functions and structs to their own file. Also moves function's
docs to the .c file.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/Makefile | 2 +-
dri
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
There is no plan in the near future to use this function outside of this
file so keep it as static.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sync.c | 4 ++--
drivers/sta
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
These two functions are just wrappers for one line functions, they
call fd_install() and fput() respectively, so just get rid of them
and use fd_install() and fput() directly for more simplicity.
Signed-off-by: Gustavo Padovan <gus
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Hi,
This patchset sits on top of Sync ABI Rework v13:
https://www.spinics.net/lists/dri-devel/msg105667.html
The first eight clean up and prepare sync_file for de-staging. The last four
patches do the de-staging, moving files to d
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
struct sync_merge_data already have documentation on top of the
struct definition. No need to duplicate it.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Reviewed-by: Maarten Lankhorst <maarten.lankho...@
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
To keep comments in line with drivers/dma-buf/ move all sync_file comments
to sync.c.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
---
drivers/staging/android/sync.c | 26 +-
dri
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Change SYNC_IOC_FILE_INFO (former SYNC_IOC_FENCE_INFO) behaviour to avoid
future API breaks and optimize buffer allocation.
Now num_fences can be filled by the caller to inform how many fences it
wants to retrieve from the
1 - 100 of 295 matches
Mail list logo