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

2021-07-20 Thread Daniel Vetter
On Wed, Jul 14, 2021 at 3:21 PM Christian König wrote: > Just a gentle ping. Or have I missed your reply? Nah just got overwhelmed with dma-resv discussion and took a break. I still think some igt (or reviewing what we have) would be good. We could also just merge Jason's import/export series, si

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

2021-07-20 Thread Michel Dänzer
On 2021-07-09 2:07 p.m., 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 and then

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

2021-07-14 Thread Christian König
Just a gentle ping. Or have I missed your reply? Thanks, Christian. Am 09.07.21 um 14:07 schrieb Christian König: 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

[PATCH] dma-buf: fix and rework dma_buf_poll v6

2021-07-09 Thread Christian König
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 and then check the sequence values. Then we should always also wait