Re: [PATCH] drm/syncobj: ensure progress for syncobj queries

2024-10-22 Thread Chia-I Wu
On Tue, Oct 22, 2024 at 3:30 AM Boris Brezillon wrote: > > On Thu, 17 Oct 2024 09:20:53 -0700 > Chia-I Wu wrote: > > > Userspace might poll a syncobj with the query ioctl. Call > > dma_fence_enable_sw_signaling to ensure dma_fence_is_signaled returns > > true in finite time. > > > > --- > > > >

Re: [PATCH] drm/syncobj: ensure progress for syncobj queries

2024-10-22 Thread Boris Brezillon
On Thu, 17 Oct 2024 09:20:53 -0700 Chia-I Wu wrote: > Userspace might poll a syncobj with the query ioctl. Call > dma_fence_enable_sw_signaling to ensure dma_fence_is_signaled returns > true in finite time. > > --- > > panvk hits this issue when timeline semaphore is enabled. It uses the > tr

[PATCH] drm/syncobj: ensure progress for syncobj queries

2024-10-17 Thread Chia-I Wu
Userspace might poll a syncobj with the query ioctl. Call dma_fence_enable_sw_signaling to ensure dma_fence_is_signaled returns true in finite time. --- panvk hits this issue when timeline semaphore is enabled. It uses the transfer ioctl to propagate fences. dma_fence_unwrap_merge converts the