[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPaKu7SbrtMpD=TvrB_y1DfhN1rNafLwAkdhX6+gzCW0ukg=0Q@mail.gmail.com>
Date: Tue, 22 Oct 2024 09:21:29 -0700
From: Chia-I Wu <olvaffe@...il.com>
To: Boris Brezillon <boris.brezillon@...labora.com>
Cc: Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>, Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>, David Airlie <airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
faith.ekstrand@...labora.com
Subject: Re: [PATCH] drm/syncobj: ensure progress for syncobj queries
On Tue, Oct 22, 2024 at 3:30 AM Boris Brezillon
<boris.brezillon@...labora.com> wrote:
>
> On Thu, 17 Oct 2024 09:20:53 -0700
> Chia-I Wu <olvaffe@...il.com> 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
> > transfer ioctl to propagate fences. dma_fence_unwrap_merge converts the
> > dma_fence_chain to a dma_fence_array. dma_fence_array_signaled never
> > return true unless signaling is enabled.
>
> Looks like a bugfix to me. Should we add Fixes+Cc-stable tags so it
> gets backported to stable branches.
Thanks. v2 sent with the Fixes tag. I did not add Cc-stable because
I was told it was the maintainers' decision last time.
Powered by blists - more mailing lists