Re: Tackling the indefinite/user DMA fence problem

2022-05-25 Thread Daniel Vetter
On Wed, May 25, 2022 at 04:22:48PM +0200, Christian König wrote: > Am 25.05.22 um 16:15 schrieb Daniel Stone: > > Hi, > > > > On Wed, 25 May 2022 at 15:07, Simon Ser wrote: > > > On Wednesday, May 25th, 2022 at 15:51, Daniel Vetter > > > wrote: > > > > > You can add that to the list of reasons

Re: Tackling the indefinite/user DMA fence problem

2022-05-25 Thread Christian König
Am 25.05.22 um 16:15 schrieb Daniel Stone: Hi, On Wed, 25 May 2022 at 15:07, Simon Ser wrote: On Wednesday, May 25th, 2022 at 15:51, Daniel Vetter wrote: You can add that to the list of reasons why compositors need to stop using buffers with unsignaled fences. There's plenty of other reasons

Re: Tackling the indefinite/user DMA fence problem

2022-05-25 Thread Daniel Stone
Hi, On Wed, 25 May 2022 at 15:07, Simon Ser wrote: > On Wednesday, May 25th, 2022 at 15:51, Daniel Vetter wrote: > > > You can add that to the list of reasons why compositors need to stop > > > using buffers with unsignaled fences. There's plenty of other reasons > > > there already (the big one

Re: Tackling the indefinite/user DMA fence problem

2022-05-25 Thread Simon Ser
On Wednesday, May 25th, 2022 at 15:51, Daniel Vetter wrote: > > > Ofc in reality you can still flood your compositor and they're not very > > > robust, but with umf it's trivial to just hang your compositor forever and > > > nothing happens. > > > > You can add that to the list of reasons why com

Re: Tackling the indefinite/user DMA fence problem

2022-05-25 Thread Daniel Vetter
On Wed, May 25, 2022 at 03:28:41PM +0200, Michel Dänzer wrote: > On 2022-05-25 15:05, Daniel Vetter wrote: > > On Tue, May 17, 2022 at 12:28:17PM +0200, Christian König wrote: > >> Am 09.05.22 um 16:10 schrieb Daniel Vetter: > >>> On Mon, May 09, 2022 at 08:56:41AM +0200, Christian König wrote: > >

Re: Tackling the indefinite/user DMA fence problem

2022-05-25 Thread Daniel Vetter
Apologies I'm constantly behind on m-l discussions :-/ On Tue, May 17, 2022 at 12:28:17PM +0200, Christian König wrote: > Am 09.05.22 um 16:10 schrieb Daniel Vetter: > > On Mon, May 09, 2022 at 08:56:41AM +0200, Christian König wrote: > > > Am 04.05.22 um 12:08 schrieb Daniel Vetter: > > > > On Mo

Re: Tackling the indefinite/user DMA fence problem

2022-05-17 Thread Christian König
Am 09.05.22 um 16:10 schrieb Daniel Vetter: On Mon, May 09, 2022 at 08:56:41AM +0200, Christian König wrote: Am 04.05.22 um 12:08 schrieb Daniel Vetter: On Mon, May 02, 2022 at 06:37:07PM +0200, Christian König wrote: Hello everyone, it's a well known problem that the DMA-buf subsystem mixed

Re: Tackling the indefinite/user DMA fence problem

2022-05-09 Thread Daniel Vetter
On Mon, May 09, 2022 at 08:56:41AM +0200, Christian König wrote: > Am 04.05.22 um 12:08 schrieb Daniel Vetter: > > On Mon, May 02, 2022 at 06:37:07PM +0200, Christian König wrote: > > > Hello everyone, > > > > > > it's a well known problem that the DMA-buf subsystem mixed > > > synchronization and

Re: Tackling the indefinite/user DMA fence problem

2022-05-08 Thread Christian König
Am 04.05.22 um 12:08 schrieb Daniel Vetter: On Mon, May 02, 2022 at 06:37:07PM +0200, Christian König wrote: Hello everyone, it's a well known problem that the DMA-buf subsystem mixed synchronization and memory management requirements into the same dma_fence and dma_resv objects. Because of thi

Re: Tackling the indefinite/user DMA fence problem

2022-05-04 Thread Daniel Vetter
On Mon, May 02, 2022 at 06:37:07PM +0200, Christian König wrote: > Hello everyone, > > it's a well known problem that the DMA-buf subsystem mixed > synchronization and memory management requirements into the same > dma_fence and dma_resv objects. Because of this dma_fence objects need > to guarant

Tackling the indefinite/user DMA fence problem

2022-05-02 Thread Christian König
Hello everyone, it's a well known problem that the DMA-buf subsystem mixed synchronization and memory management requirements into the same dma_fence and dma_resv objects. Because of this dma_fence objects need to guarantee that they complete within a finite amount of time or otherwise the syst