* [PATCH] dmabuf: Mark up onstack timer for selftests
@ 2019-08-20 12:21 Chris Wilson
2019-08-20 16:50 ` ✗ Fi.CI.BAT: failure for " Patchwork
0 siblings, 1 reply; 2+ messages in thread
From: Chris Wilson @ 2019-08-20 12:21 UTC (permalink / raw)
To: dri-devel; +Cc: Daniel Vetter, intel-gfx
The dma-fence selftest uses an on-stack timer that requires explicit
annotation for debugobjects.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
---
drivers/dma-buf/st-dma-fence.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/dma-buf/st-dma-fence.c b/drivers/dma-buf/st-dma-fence.c
index 6fbae6bf6576..e593064341c8 100644
--- a/drivers/dma-buf/st-dma-fence.c
+++ b/drivers/dma-buf/st-dma-fence.c
@@ -373,7 +373,7 @@ static int test_wait_timeout(void *arg)
struct wait_timer wt;
int err = -EINVAL;
- timer_setup(&wt.timer, wait_timer, 0);
+ timer_setup_on_stack(&wt.timer, wait_timer, 0);
wt.f = mock_fence();
if (!wt.f)
@@ -399,6 +399,7 @@ static int test_wait_timeout(void *arg)
err = 0;
err_free:
del_timer_sync(&wt.timer);
+ destroy_timer_on_stack(&wt.timer);
dma_fence_signal(wt.f);
dma_fence_put(wt.f);
return err;
--
2.23.0.rc1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* ✗ Fi.CI.BAT: failure for dmabuf: Mark up onstack timer for selftests
2019-08-20 12:21 [PATCH] dmabuf: Mark up onstack timer for selftests Chris Wilson
@ 2019-08-20 16:50 ` Patchwork
0 siblings, 0 replies; 2+ messages in thread
From: Patchwork @ 2019-08-20 16:50 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: dmabuf: Mark up onstack timer for selftests
URL : https://patchwork.freedesktop.org/series/65477/
State : failure
== Summary ==
Applying: dmabuf: Mark up onstack timer for selftests
Using index info to reconstruct a base tree...
M drivers/dma-buf/st-dma-fence.c
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-20 16:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-20 12:21 [PATCH] dmabuf: Mark up onstack timer for selftests Chris Wilson
2019-08-20 16:50 ` ✗ Fi.CI.BAT: failure for " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.