Re: [PATCH] dma-buf: fix and rework dma_buf_poll v4

2021-06-30 Thread Daniel Vetter
On Wed, Jun 30, 2021 at 4:22 PM Christian König wrote: > > Am 30.06.21 um 16:07 schrieb Daniel Vetter: > > On Wed, Jun 30, 2021 at 2:36 PM Christian König > > wrote: > >> Daniel pointed me towards this function and there are multiple obvious > >> problems > >> in the implementation. > >> > >> Fi

Re: [PATCH] dma-buf: fix and rework dma_buf_poll v4

2021-06-30 Thread Christian König
Am 30.06.21 um 16:07 schrieb Daniel Vetter: On Wed, Jun 30, 2021 at 2:36 PM Christian König wrote: Daniel pointed me towards this function and there are multiple obvious problems in the implementation. First of all the retry loop is not working as intended. In general the retry makes only sens

Re: [PATCH] dma-buf: fix and rework dma_buf_poll v4

2021-06-30 Thread Daniel Vetter
On Wed, Jun 30, 2021 at 2:36 PM Christian König wrote: > > Daniel pointed me towards this function and there are multiple obvious > problems > in the implementation. > > First of all the retry loop is not working as intended. In general the retry > makes only sense if you grab the reference first