All of lore.kernel.org
 help / color / mirror / Atom feed
* Fixing zero timeout handling for fence functions
@ 2016-10-25 12:25 Christian König
  2016-10-25 12:25 ` [PATCH 1/4] dma-buf/fence: make timeout handling in fence_default_wait consistent Christian König
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Christian König @ 2016-10-25 12:25 UTC (permalink / raw)
  To: sumit.semwal; +Cc: dri-devel

Hi Sumit,

sending this once more with all the patches in once set, cause the last one
turned out to be a bit chaotic because I send from the wrong branch.

The following patch set fixes the handling in the fence and reservation object
wait function when the timeout is zero.

An AMD developer introduced this a while ago to work around some issues in TTM
and our amdgpu driver, but essentially this effort was a bit flawed because
even with a zero timeout enable_signalling() should be called.

Otherwise someone busy waiting for the fence might never be signaled when you
have hardware with faulty interrupts for example.

Please review and/or comment,
Christian.

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-10-26 13:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-25 12:25 Fixing zero timeout handling for fence functions Christian König
2016-10-25 12:25 ` [PATCH 1/4] dma-buf/fence: make timeout handling in fence_default_wait consistent Christian König
2016-10-26  8:49   ` Chris Wilson
2016-10-26 13:27     ` Christian König
2016-10-25 12:25 ` [PATCH 2/4] dma-buf/fence: revert "don't wait when specified timeout is zero" Christian König
2016-10-25 12:25 ` [PATCH 3/4] drm/ttm: fix ttm_bo_wait Christian König
2016-10-25 12:25 ` [PATCH 4/4] reservation: revert "wait only with non-zero timeout specified (v3)" v2 Christian König
2016-10-26  2:39 ` Fixing zero timeout handling for fence functions Sumit Semwal

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.