Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-03-01 Thread Rob Clark
On Wed, Mar 1, 2023 at 7:31 AM Sebastian Wick wrote: > > On Tue, Feb 28, 2023 at 11:52 PM Rob Clark wrote: > > > > On Tue, Feb 28, 2023 at 6:30 AM Sebastian Wick > > wrote: > > > > > > On Tue, Feb 28, 2023 at 12:48 AM Rob Clark wrote: > > > > > > > > On Mon, Feb 27, 2023 at 2:44 PM Sebastian Wi

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-03-01 Thread Rodrigo Vivi
On Mon, Feb 27, 2023 at 02:20:04PM -0800, Rob Clark wrote: > On Mon, Feb 27, 2023 at 1:36 PM Rodrigo Vivi wrote: > > > > On Fri, Feb 24, 2023 at 09:59:57AM -0800, Rob Clark wrote: > > > On Fri, Feb 24, 2023 at 7:27 AM Luben Tuikov wrote: > > > > > > > > On 2023-02-24 06:37, Tvrtko Ursulin wrote:

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-03-01 Thread Sebastian Wick
On Tue, Feb 28, 2023 at 11:52 PM Rob Clark wrote: > > On Tue, Feb 28, 2023 at 6:30 AM Sebastian Wick > wrote: > > > > On Tue, Feb 28, 2023 at 12:48 AM Rob Clark wrote: > > > > > > On Mon, Feb 27, 2023 at 2:44 PM Sebastian Wick > > > wrote: > > > > > > > > On Mon, Feb 27, 2023 at 11:20 PM Rob Cl

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-28 Thread Rob Clark
On Tue, Feb 28, 2023 at 6:30 AM Sebastian Wick wrote: > > On Tue, Feb 28, 2023 at 12:48 AM Rob Clark wrote: > > > > On Mon, Feb 27, 2023 at 2:44 PM Sebastian Wick > > wrote: > > > > > > On Mon, Feb 27, 2023 at 11:20 PM Rob Clark wrote: > > > > > > > > On Mon, Feb 27, 2023 at 1:36 PM Rodrigo Viv

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-28 Thread Sebastian Wick
On Tue, Feb 28, 2023 at 12:48 AM Rob Clark wrote: > > On Mon, Feb 27, 2023 at 2:44 PM Sebastian Wick > wrote: > > > > On Mon, Feb 27, 2023 at 11:20 PM Rob Clark wrote: > > > > > > On Mon, Feb 27, 2023 at 1:36 PM Rodrigo Vivi > > > wrote: > > > > > > > > On Fri, Feb 24, 2023 at 09:59:57AM -0800

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-27 Thread Rob Clark
On Mon, Feb 27, 2023 at 2:44 PM Sebastian Wick wrote: > > On Mon, Feb 27, 2023 at 11:20 PM Rob Clark wrote: > > > > On Mon, Feb 27, 2023 at 1:36 PM Rodrigo Vivi wrote: > > > > > > On Fri, Feb 24, 2023 at 09:59:57AM -0800, Rob Clark wrote: > > > > On Fri, Feb 24, 2023 at 7:27 AM Luben Tuikov >

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-27 Thread Sebastian Wick
On Mon, Feb 27, 2023 at 11:20 PM Rob Clark wrote: > > On Mon, Feb 27, 2023 at 1:36 PM Rodrigo Vivi wrote: > > > > On Fri, Feb 24, 2023 at 09:59:57AM -0800, Rob Clark wrote: > > > On Fri, Feb 24, 2023 at 7:27 AM Luben Tuikov wrote: > > > > > > > > On 2023-02-24 06:37, Tvrtko Ursulin wrote: > > >

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-27 Thread Rob Clark
On Mon, Feb 27, 2023 at 1:36 PM Rodrigo Vivi wrote: > > On Fri, Feb 24, 2023 at 09:59:57AM -0800, Rob Clark wrote: > > On Fri, Feb 24, 2023 at 7:27 AM Luben Tuikov wrote: > > > > > > On 2023-02-24 06:37, Tvrtko Ursulin wrote: > > > > > > > > On 24/02/2023 11:00, Pekka Paalanen wrote: > > > >> On

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-27 Thread Rodrigo Vivi
On Fri, Feb 24, 2023 at 09:59:57AM -0800, Rob Clark wrote: > On Fri, Feb 24, 2023 at 7:27 AM Luben Tuikov wrote: > > > > On 2023-02-24 06:37, Tvrtko Ursulin wrote: > > > > > > On 24/02/2023 11:00, Pekka Paalanen wrote: > > >> On Fri, 24 Feb 2023 10:50:51 + > > >> Tvrtko Ursulin wrote: > > >>

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-27 Thread Rob Clark
On Mon, Feb 27, 2023 at 1:34 AM Pekka Paalanen wrote: > > On Fri, 24 Feb 2023 11:44:53 -0800 > Rob Clark wrote: > > > On Fri, Feb 24, 2023 at 2:24 AM Pekka Paalanen wrote: > > > > > > On Fri, 24 Feb 2023 09:41:46 + > > > Tvrtko Ursulin wrote: > > > > > > > On 24/02/2023 09:26, Pekka Paalane

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-27 Thread Pekka Paalanen
On Fri, 24 Feb 2023 11:44:53 -0800 Rob Clark wrote: > On Fri, Feb 24, 2023 at 2:24 AM Pekka Paalanen wrote: > > > > On Fri, 24 Feb 2023 09:41:46 + > > Tvrtko Ursulin wrote: > > > > > On 24/02/2023 09:26, Pekka Paalanen wrote: > > > > On Thu, 23 Feb 2023 10:51:48 -0800 > > > > Rob Clark

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-24 Thread Rob Clark
On Fri, Feb 24, 2023 at 2:24 AM Pekka Paalanen wrote: > > On Fri, 24 Feb 2023 09:41:46 + > Tvrtko Ursulin wrote: > > > On 24/02/2023 09:26, Pekka Paalanen wrote: > > > On Thu, 23 Feb 2023 10:51:48 -0800 > > > Rob Clark wrote: > > > > > >> On Thu, Feb 23, 2023 at 1:38 AM Pekka Paalanen > >

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-24 Thread Rob Clark
On Fri, Feb 24, 2023 at 7:27 AM Luben Tuikov wrote: > > On 2023-02-24 06:37, Tvrtko Ursulin wrote: > > > > On 24/02/2023 11:00, Pekka Paalanen wrote: > >> On Fri, 24 Feb 2023 10:50:51 + > >> Tvrtko Ursulin wrote: > >> > >>> On 24/02/2023 10:24, Pekka Paalanen wrote: > On Fri, 24 Feb 2023

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-24 Thread Rob Clark
On Fri, Feb 24, 2023 at 2:24 AM Pekka Paalanen wrote: > > On Fri, 24 Feb 2023 09:41:46 + > Tvrtko Ursulin wrote: > > > On 24/02/2023 09:26, Pekka Paalanen wrote: > > > On Thu, 23 Feb 2023 10:51:48 -0800 > > > Rob Clark wrote: > > > > > >> On Thu, Feb 23, 2023 at 1:38 AM Pekka Paalanen > >

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-24 Thread Luben Tuikov
On 2023-02-24 06:37, Tvrtko Ursulin wrote: > > On 24/02/2023 11:00, Pekka Paalanen wrote: >> On Fri, 24 Feb 2023 10:50:51 + >> Tvrtko Ursulin wrote: >> >>> On 24/02/2023 10:24, Pekka Paalanen wrote: On Fri, 24 Feb 2023 09:41:46 + Tvrtko Ursulin wrote: > On 24/02/20

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-24 Thread Tvrtko Ursulin
On 24/02/2023 11:00, Pekka Paalanen wrote: On Fri, 24 Feb 2023 10:50:51 + Tvrtko Ursulin wrote: On 24/02/2023 10:24, Pekka Paalanen wrote: On Fri, 24 Feb 2023 09:41:46 + Tvrtko Ursulin wrote: On 24/02/2023 09:26, Pekka Paalanen wrote: On Thu, 23 Feb 2023 10:51:48 -0800 Rob Cl

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-24 Thread Pekka Paalanen
On Fri, 24 Feb 2023 10:50:51 + Tvrtko Ursulin wrote: > On 24/02/2023 10:24, Pekka Paalanen wrote: > > On Fri, 24 Feb 2023 09:41:46 + > > Tvrtko Ursulin wrote: > > > >> On 24/02/2023 09:26, Pekka Paalanen wrote: > >>> On Thu, 23 Feb 2023 10:51:48 -0800 > >>> Rob Clark wrote: > >>>

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-24 Thread Tvrtko Ursulin
On 24/02/2023 10:24, Pekka Paalanen wrote: On Fri, 24 Feb 2023 09:41:46 + Tvrtko Ursulin wrote: On 24/02/2023 09:26, Pekka Paalanen wrote: On Thu, 23 Feb 2023 10:51:48 -0800 Rob Clark wrote: On Thu, Feb 23, 2023 at 1:38 AM Pekka Paalanen wrote: On Wed, 22 Feb 2023 07:37:26 -080

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-24 Thread Pekka Paalanen
On Fri, 24 Feb 2023 09:41:46 + Tvrtko Ursulin wrote: > On 24/02/2023 09:26, Pekka Paalanen wrote: > > On Thu, 23 Feb 2023 10:51:48 -0800 > > Rob Clark wrote: > > > >> On Thu, Feb 23, 2023 at 1:38 AM Pekka Paalanen > >> wrote: > >>> > >>> On Wed, 22 Feb 2023 07:37:26 -0800 > >>> Rob Cl

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-24 Thread Tvrtko Ursulin
On 24/02/2023 09:26, Pekka Paalanen wrote: On Thu, 23 Feb 2023 10:51:48 -0800 Rob Clark wrote: On Thu, Feb 23, 2023 at 1:38 AM Pekka Paalanen wrote: On Wed, 22 Feb 2023 07:37:26 -0800 Rob Clark wrote: On Wed, Feb 22, 2023 at 1:49 AM Pekka Paalanen wrote: ... On another matter, i

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-24 Thread Pekka Paalanen
On Thu, 23 Feb 2023 10:51:48 -0800 Rob Clark wrote: > On Thu, Feb 23, 2023 at 1:38 AM Pekka Paalanen wrote: > > > > On Wed, 22 Feb 2023 07:37:26 -0800 > > Rob Clark wrote: > > > > > On Wed, Feb 22, 2023 at 1:49 AM Pekka Paalanen > > > wrote: ... > > > > On another matter, if the applica

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-23 Thread Rob Clark
On Thu, Feb 23, 2023 at 1:38 AM Pekka Paalanen wrote: > > On Wed, 22 Feb 2023 07:37:26 -0800 > Rob Clark wrote: > > > On Wed, Feb 22, 2023 at 1:49 AM Pekka Paalanen wrote: > > > > > > On Tue, 21 Feb 2023 09:53:56 -0800 > > > Rob Clark wrote: > > > > > > > On Tue, Feb 21, 2023 at 8:48 AM Luben T

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-23 Thread Pekka Paalanen
On Wed, 22 Feb 2023 07:37:26 -0800 Rob Clark wrote: > On Wed, Feb 22, 2023 at 1:49 AM Pekka Paalanen wrote: > > > > On Tue, 21 Feb 2023 09:53:56 -0800 > > Rob Clark wrote: > > > > > On Tue, Feb 21, 2023 at 8:48 AM Luben Tuikov > > > wrote: > > > > > > > > On 2023-02-20 11:14, Rob Clark wr

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-22 Thread Rob Clark
On Wed, Feb 22, 2023 at 1:49 AM Pekka Paalanen wrote: > > On Tue, 21 Feb 2023 09:53:56 -0800 > Rob Clark wrote: > > > On Tue, Feb 21, 2023 at 8:48 AM Luben Tuikov wrote: > > > > > > On 2023-02-20 11:14, Rob Clark wrote: > > > > On Mon, Feb 20, 2023 at 12:53 AM Pekka Paalanen > > > > wrote: > >

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-22 Thread Luben Tuikov
On 2023-02-22 04:49, Pekka Paalanen wrote: > On Tue, 21 Feb 2023 09:53:56 -0800 > Rob Clark wrote: > >> On Tue, Feb 21, 2023 at 8:48 AM Luben Tuikov wrote: >>> >>> On 2023-02-20 11:14, Rob Clark wrote: On Mon, Feb 20, 2023 at 12:53 AM Pekka Paalanen wrote: > > On Sat, 18

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-22 Thread Pekka Paalanen
On Tue, 21 Feb 2023 09:53:56 -0800 Rob Clark wrote: > On Tue, Feb 21, 2023 at 8:48 AM Luben Tuikov wrote: > > > > On 2023-02-20 11:14, Rob Clark wrote: > > > On Mon, Feb 20, 2023 at 12:53 AM Pekka Paalanen > > > wrote: > > >> > > >> On Sat, 18 Feb 2023 13:15:49 -0800 > > >> Rob Clark wrot

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-21 Thread Rob Clark
On Tue, Feb 21, 2023 at 8:01 AM Sebastian Wick wrote: > > On Tue, Feb 21, 2023 at 9:38 AM Pekka Paalanen wrote: > > > > On Mon, 20 Feb 2023 08:14:47 -0800 > > Rob Clark wrote: > > > > > On Mon, Feb 20, 2023 at 12:53 AM Pekka Paalanen > > > wrote: > > > > > > > > On Sat, 18 Feb 2023 13:15:49 -0

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-21 Thread Rob Clark
On Tue, Feb 21, 2023 at 8:48 AM Luben Tuikov wrote: > > On 2023-02-20 11:14, Rob Clark wrote: > > On Mon, Feb 20, 2023 at 12:53 AM Pekka Paalanen wrote: > >> > >> On Sat, 18 Feb 2023 13:15:49 -0800 > >> Rob Clark wrote: > >> > >>> From: Rob Clark > >>> > >>> Allow userspace to use the EPOLLPRI/

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-21 Thread Luben Tuikov
On 2023-02-20 11:14, Rob Clark wrote: > On Mon, Feb 20, 2023 at 12:53 AM Pekka Paalanen wrote: >> >> On Sat, 18 Feb 2023 13:15:49 -0800 >> Rob Clark wrote: >> >>> From: Rob Clark >>> >>> Allow userspace to use the EPOLLPRI/POLLPRI flag to indicate an urgent >>> wait (as opposed to a "housekeepin

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-21 Thread Sebastian Wick
On Tue, Feb 21, 2023 at 9:38 AM Pekka Paalanen wrote: > > On Mon, 20 Feb 2023 08:14:47 -0800 > Rob Clark wrote: > > > On Mon, Feb 20, 2023 at 12:53 AM Pekka Paalanen wrote: > > > > > > On Sat, 18 Feb 2023 13:15:49 -0800 > > > Rob Clark wrote: > > > > > > > From: Rob Clark > > > > > > > > Allow

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-21 Thread Pekka Paalanen
On Mon, 20 Feb 2023 09:31:41 +0100 Christian König wrote: > Am 18.02.23 um 22:15 schrieb Rob Clark: > > From: Rob Clark > > > > Allow userspace to use the EPOLLPRI/POLLPRI flag to indicate an urgent > > wait (as opposed to a "housekeeping" wait to know when to cleanup after > > some work has com

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-21 Thread Pekka Paalanen
On Mon, 20 Feb 2023 08:14:47 -0800 Rob Clark wrote: > On Mon, Feb 20, 2023 at 12:53 AM Pekka Paalanen wrote: > > > > On Sat, 18 Feb 2023 13:15:49 -0800 > > Rob Clark wrote: > > > > > From: Rob Clark > > > > > > Allow userspace to use the EPOLLPRI/POLLPRI flag to indicate an urgent > > > wait

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-20 Thread Rob Clark
On Mon, Feb 20, 2023 at 12:53 AM Pekka Paalanen wrote: > > On Sat, 18 Feb 2023 13:15:49 -0800 > Rob Clark wrote: > > > From: Rob Clark > > > > Allow userspace to use the EPOLLPRI/POLLPRI flag to indicate an urgent > > wait (as opposed to a "housekeeping" wait to know when to cleanup after > > so

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-20 Thread Pekka Paalanen
On Sat, 18 Feb 2023 13:15:49 -0800 Rob Clark wrote: > From: Rob Clark > > Allow userspace to use the EPOLLPRI/POLLPRI flag to indicate an urgent > wait (as opposed to a "housekeeping" wait to know when to cleanup after > some work has completed). Usermode components of GPU driver stacks > ofte

Re: [PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-20 Thread Christian König
Am 18.02.23 um 22:15 schrieb Rob Clark: From: Rob Clark Allow userspace to use the EPOLLPRI/POLLPRI flag to indicate an urgent wait (as opposed to a "housekeeping" wait to know when to cleanup after some work has completed). Usermode components of GPU driver stacks often poll() on fence fd's t

[PATCH v4 06/14] dma-buf/sync_file: Support (E)POLLPRI

2023-02-18 Thread Rob Clark
From: Rob Clark Allow userspace to use the EPOLLPRI/POLLPRI flag to indicate an urgent wait (as opposed to a "housekeeping" wait to know when to cleanup after some work has completed). Usermode components of GPU driver stacks often poll() on fence fd's to know when it is safe to do things like f