Move driver callbacks to fill strings instead of using seq_files. This
will allow those values to be used in a future tracepoint patch.
Change-Id: I9b706343e35b11124141fe520e520514a32003d2
Signed-off-by: Erik Gilling <konkers@android.com>
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
This change has been squashed with the following change to avoid
a compilation failure.
Author: Erik Gilling <konkers@android.com>
Date: Tue Aug 21 18:43:21 2012 -0700
sync: fix erase-o in sync_fence_wait
Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: Ib38e6d339d41885a33027752690d65a52b6897f6
Signed-off-by: Erik Gilling <konkers@android.com>
[mbohan@codeaurora.org: Fix compilation errors]
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
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.
This change was squashed with the following change to resolve a
compilation failure.
Author: Erik Gilling <konkers@android.com>
Date: Fri Aug 24 13:48:34 2012 -0700
sync: clean up compiler warnings
Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: I1cd8ddb638eded7db9db446ff6b37f3dd165d6c4
Signed-off-by: Erik Gilling <konkers@android.com>
[mbohan@codeaurora.org: Fix compilation errors]
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
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.
Change-Id: Ie8605e6fd2ac026c207220a03d84e1c1078ec719
Signed-off-by: Erik Gilling <konkers@android.com>
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
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().
Change-Id: Ifcd95648be6ec07026d67f810070a4310f099989
Signed-off-by: Erik Gilling <konkers@android.com>