All of lore.kernel.org
 help / color / mirror / Atom feed
* Interface additions to dma_fence_array?
@ 2021-10-08  7:08 ` Thomas Hellström
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Hellström @ 2021-10-08  7:08 UTC (permalink / raw)
  To: Christian König; +Cc: DRI Development, Intel Graphics Development

Hi, Christian,

We have a use-case in i915 with async evictions where we'd like to use 
dma-fence-array in the following way

*Create in commit mode
*Add context and seqno,
*Publish (signaling critical section starts)
*Add fence pointers to the arrary
*Commit (signaling critical section ends, fence can now signal)

With a patch series I have, we use the i915 data structure 
dma_fence_work for this, but it'd be better to use dma_fence_array for 
various reasons. Would it be OK to add interfaces to dma-fence-array to 
facilitate this? Basic idea would be to defer the actions done by 
enable_signaling until commit is called.

Thanks,
/Thomas


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

* [Intel-gfx] Interface additions to dma_fence_array?
@ 2021-10-08  7:08 ` Thomas Hellström
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Hellström @ 2021-10-08  7:08 UTC (permalink / raw)
  To: Christian König; +Cc: DRI Development, Intel Graphics Development

Hi, Christian,

We have a use-case in i915 with async evictions where we'd like to use 
dma-fence-array in the following way

*Create in commit mode
*Add context and seqno,
*Publish (signaling critical section starts)
*Add fence pointers to the arrary
*Commit (signaling critical section ends, fence can now signal)

With a patch series I have, we use the i915 data structure 
dma_fence_work for this, but it'd be better to use dma_fence_array for 
various reasons. Would it be OK to add interfaces to dma-fence-array to 
facilitate this? Basic idea would be to defer the actions done by 
enable_signaling until commit is called.

Thanks,
/Thomas


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

end of thread, other threads:[~2021-10-08  7:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08  7:08 Interface additions to dma_fence_array? Thomas Hellström
2021-10-08  7:08 ` [Intel-gfx] " Thomas Hellström

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.