<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/android/sync.h, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://www.git.shady.money/linux/atom?h=master</id>
<link rel='self' href='https://www.git.shady.money/linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/linux/'/>
<updated>2016-06-18T04:17:40Z</updated>
<entry>
<title>staging/android: rename sync.h to sync_debug.h</title>
<updated>2016-06-18T04:17:40Z</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.co.uk</email>
</author>
<published>2016-05-31T19:59:12Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/linux/commit/?id=1fe82e2e148697fd1fbbb2944e143b182c51e227'/>
<id>urn:sha1:1fe82e2e148697fd1fbbb2944e143b182c51e227</id>
<content type='text'>
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 &lt;gustavo.padovan@collabora.co.uk&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging/android: remove drv_name from sync_timeline</title>
<updated>2016-06-18T04:17:40Z</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.co.uk</email>
</author>
<published>2016-05-31T19:59:11Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/linux/commit/?id=b9bc2b7b658a4bee8884e2c339a0a27f4bfa7f22'/>
<id>urn:sha1:b9bc2b7b658a4bee8884e2c339a0a27f4bfa7f22</id>
<content type='text'>
As it is internal to sw_sync now this value will always be "sw_sync".

Signed-off-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging/android: remove 'destroyed' member from struct sync_timeline</title>
<updated>2016-06-18T04:17:40Z</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.co.uk</email>
</author>
<published>2016-05-31T19:59:09Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/linux/commit/?id=342952d3a5c4d128649c7fd8e34d7d5eb6d036aa'/>
<id>urn:sha1:342952d3a5c4d128649c7fd8e34d7d5eb6d036aa</id>
<content type='text'>
'destroyed' was set but not used ny anyone.

Signed-off-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging/android: make sync_timeline internal to sw_sync</title>
<updated>2016-06-18T04:17:40Z</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.co.uk</email>
</author>
<published>2016-05-31T19:59:07Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/linux/commit/?id=aff9da10e218c54f5ffc8bcb66c9837135074190'/>
<id>urn:sha1:aff9da10e218c54f5ffc8bcb66c9837135074190</id>
<content type='text'>
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 &lt;gustavo.padovan@collabora.co.uk&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging/android: clean up #includes in the sync framework</title>
<updated>2016-06-18T04:17:40Z</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.co.uk</email>
</author>
<published>2016-05-31T19:59:06Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/linux/commit/?id=d79892ad0b97ec23645cffa5406edb4eb18cb553'/>
<id>urn:sha1:d79892ad0b97ec23645cffa5406edb4eb18cb553</id>
<content type='text'>
Most of the includes there are not necessary anymore.

Signed-off-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging/android: move sw_sync related code to sw_sync.c</title>
<updated>2016-06-18T04:17:40Z</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.co.uk</email>
</author>
<published>2016-05-31T19:59:05Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/linux/commit/?id=1867a23b13b25d0a228b0509ade20fb977dcb601'/>
<id>urn:sha1:1867a23b13b25d0a228b0509ade20fb977dcb601</id>
<content type='text'>
Split sync_debug and sw_sync in two different files.

Signed-off-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging/android: bring struct sync_pt back</title>
<updated>2016-06-18T04:17:40Z</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.co.uk</email>
</author>
<published>2016-05-31T19:59:04Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/linux/commit/?id=0431b9065f28ecf6c320fefebe0241620049984f'/>
<id>urn:sha1:0431b9065f28ecf6c320fefebe0241620049984f</id>
<content type='text'>
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 &lt;gustavo.padovan@collabora.co.uk&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging/android: remove size arg of sync_timeline_create()</title>
<updated>2016-06-18T04:17:40Z</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.co.uk</email>
</author>
<published>2016-05-31T19:59:03Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/linux/commit/?id=62627c8f61e09a6204cd77de30df9a83ff158812'/>
<id>urn:sha1:62627c8f61e09a6204cd77de30df9a83ff158812</id>
<content type='text'>
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 Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging/android: remove struct sync_timeline_ops</title>
<updated>2016-06-18T04:17:40Z</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.co.uk</email>
</author>
<published>2016-05-31T19:58:58Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/linux/commit/?id=ef30afefeaf624c483e56c63e60e0dda8c42a0ef'/>
<id>urn:sha1:ef30afefeaf624c483e56c63e60e0dda8c42a0ef</id>
<content type='text'>
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 favor
of cleaner fence_ops.

Signed-off-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging/android: remove .{fence, timeline}_value_str() from timeline_ops</title>
<updated>2016-06-18T04:17:40Z</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.co.uk</email>
</author>
<published>2016-05-31T19:58:57Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/linux/commit/?id=5c1401f83a16b7ee3762c9044ab56ed3f3cdcdcd'/>
<id>urn:sha1:5c1401f83a16b7ee3762c9044ab56ed3f3cdcdcd</id>
<content type='text'>
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 the str directly.

It also clean up struct sync_timeline_ops by removing both ops from there.

Signed-off-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
