<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/android/sync.h, branch v4.1</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.1</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.1'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2014-09-29T02:03:57Z</updated>
<entry>
<title>staging : android : sync : get_unused_fd</title>
<updated>2014-09-29T02:03:57Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2014-09-27T08:52:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ae66475289d13ef724cd5a523a4a5ce42e81582b'/>
<id>urn:sha1:ae66475289d13ef724cd5a523a4a5ce42e81582b</id>
<content type='text'>
sync.h recommends to use get_unused_fd which does not set
O_CLOEXEC while the rest of the android tree uses
get_unused_fd_flags and sets O_CLOEXEC.

The patch adjust the comment.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>android: convert sync to fence api, v6</title>
<updated>2014-07-08T20:28:26Z</updated>
<author>
<name>Maarten Lankhorst</name>
<email>maarten.lankhorst@canonical.com</email>
</author>
<published>2014-07-01T10:57:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0f0d8406fb9c3c5ed1b1609a0f51c504c5b37aea'/>
<id>urn:sha1:0f0d8406fb9c3c5ed1b1609a0f51c504c5b37aea</id>
<content type='text'>
Just to show it's easy.

Android syncpoints can be mapped to a timeline. This removes the need
to maintain a separate api for synchronization. I've left the android
trace events in place, but the core fence events should already be
sufficient for debugging.

v2:
- Call fence_remove_callback in sync_fence_free if not all fences have fired.
v3:
- Merge Colin Cross' bugfixes, and the android fence merge optimization.
v4:
- Merge with the upstream fixes.
v5:
- Fix small style issues pointed out by Thomas Hellstrom.
v6:
- Fix for updates to fence api.

Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Acked-by: John Stultz &lt;john.stultz@linaro.org&gt;
Acked-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Acked-by: Daniel Vetter &lt;daniel@ffwll.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: split uapi out of sync.h and sw_sync.h</title>
<updated>2014-02-18T19:03:28Z</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2014-02-17T21:58:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=64907b94dab947f3f3fc96fe1ab810cbc12ca902'/>
<id>urn:sha1:64907b94dab947f3f3fc96fe1ab810cbc12ca902</id>
<content type='text'>
Move the userspace interfaces of sync.h and sw_sync.h to
drivers/staging/android/uapi/

Cc: Greg KH &lt;gregkh@linuxfoundation.org&gt;
Cc: Colin Cross &lt;ccross@android.com&gt;
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Colin Cross &lt;ccross@android.com&gt;
[jstultz: Fixed up some conflicts from upstream spelling fixes]
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging : android : sync : fix a checkpatch warning</title>
<updated>2014-02-11T20:27:30Z</updated>
<author>
<name>Daeseok Youn</name>
<email>daeseok.youn@gmail.com</email>
</author>
<published>2014-02-10T05:36:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=393f539c66a60f601effc22d9ad6c316360d791c'/>
<id>urn:sha1:393f539c66a60f601effc22d9ad6c316360d791c</id>
<content type='text'>
- WARNING: missing space after return type

Signed-off-by: Daeseok Youn &lt;daeseok.youn@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: Fix typo in android/sync.h</title>
<updated>2013-11-12T00:22:17Z</updated>
<author>
<name>Masanari Iida</name>
<email>standby24x7@gmail.com</email>
</author>
<published>2013-10-31T05:20:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4e20effa23b1cbfc15fcdd6774937334775c5361'/>
<id>urn:sha1:4e20effa23b1cbfc15fcdd6774937334775c5361</id>
<content type='text'>
Correct spelling typo in android/sync.h

Signed-off-by: Masanari Iida &lt;standby24x7@gmail.com&gt;
Acked-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sync: Refactor sync debug printing</title>
<updated>2013-03-04T09:46:55Z</updated>
<author>
<name>Erik Gilling</name>
<email>konkers@android.com</email>
</author>
<published>2013-03-01T00:43:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dbd523905bac49da0643332e4eb0f2202e2acd06'/>
<id>urn:sha1:dbd523905bac49da0643332e4eb0f2202e2acd06</id>
<content type='text'>
Move driver callbacks to fill strings instead of using seq_files.  This
will allow those values to be used in a future tracepoint patch.

Cc: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Cc: Erik Gilling &lt;konkers@android.com&gt;
Cc: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Cc: Rob Clark &lt;robclark@gmail.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: dri-devel@lists.freedesktop.org
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Erik Gilling &lt;konkers@android.com&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sync: Change wait timeout to mirror poll semantics</title>
<updated>2013-03-04T09:44:08Z</updated>
<author>
<name>Erik Gilling</name>
<email>konkers@android.com</email>
</author>
<published>2013-03-01T00:43:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3b640f5dd050f972439e5c67ba618a5377b61d34'/>
<id>urn:sha1:3b640f5dd050f972439e5c67ba618a5377b61d34</id>
<content type='text'>
Change wait timeout to act like poll

Cc: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Cc: Erik Gilling &lt;konkers@android.com&gt;
Cc: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Cc: Rob Clark &lt;robclark@gmail.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: dri-devel@lists.freedesktop.org
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Erik Gilling &lt;konkers@android.com&gt;
[jstultz: Added commit message, squished typo-fix]
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sync: Add reference counting to timelines</title>
<updated>2013-03-04T09:44:07Z</updated>
<author>
<name>Erik Gilling</name>
<email>konkers@android.com</email>
</author>
<published>2013-03-01T00:43:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c5b86b7418f46220a623277718d6a909f520477b'/>
<id>urn:sha1:c5b86b7418f46220a623277718d6a909f520477b</id>
<content type='text'>
If a timeline is destroyed while fences still hold pts on it, the reworked
fence release handler can cause the timeline to be freed before all it's points
are freed.

Cc: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Cc: Erik Gilling &lt;konkers@android.com&gt;
Cc: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Cc: Rob Clark &lt;robclark@gmail.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: dri-devel@lists.freedesktop.org
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Erik Gilling &lt;konkers@android.com&gt;
[jstultz: Squished in compiler warning fix]
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sync: Add internal refcounting to fences</title>
<updated>2013-03-04T09:44:07Z</updated>
<author>
<name>Erik Gilling</name>
<email>konkers@android.com</email>
</author>
<published>2013-03-01T00:43:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=01544170e1959dd261ceec6413674a528221669b'/>
<id>urn:sha1:01544170e1959dd261ceec6413674a528221669b</id>
<content type='text'>
If a fence is released while a timeline that one of it's pts is on is being
signaled, it is possible for that fence to be deleted before it is signaled.
This patch adds a refcount for internal references such as signaled pt
processing.

Cc: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Cc: Erik Gilling &lt;konkers@android.com&gt;
Cc: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Cc: Rob Clark &lt;robclark@gmail.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: dri-devel@lists.freedesktop.org
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Erik Gilling &lt;konkers@android.com&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sync: Allow async waits to be canceled</title>
<updated>2013-03-04T09:40:09Z</updated>
<author>
<name>Erik Gilling</name>
<email>konkers@android.com</email>
</author>
<published>2013-03-01T00:43:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c0f61a4e6145728153d0b94152b4dd5b06899b3b'/>
<id>urn:sha1:c0f61a4e6145728153d0b94152b4dd5b06899b3b</id>
<content type='text'>
In order to allow drivers to cleanly handled teardown we need to allow them
to cancel pending async waits.  To do this cleanly, we move allocation of
sync_fence_waiter to the driver calling sync_async_wait().

Cc: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Cc: Erik Gilling &lt;konkers@android.com&gt;
Cc: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Cc: Rob Clark &lt;robclark@gmail.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: dri-devel@lists.freedesktop.org
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Erik Gilling &lt;konkers@android.com&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
