Re: [Freedreno] [PATCH v3 0/9] dma-fence: Deadline awareness

2021-09-09 Thread Rob Clark
On Thu, Sep 9, 2021 at 9:42 AM Simon Ser wrote: > > On Thursday, September 9th, 2021 at 18:31, Rob Clark > wrote: > > > Yes, I think it would.. and "dma-buf/sync_file: Add SET_DEADLINE > > ioctl" adds such an ioctl.. just for the benefit of igt tests at this > > point, but the thought was it wou

Re: [Freedreno] [PATCH v3 0/9] dma-fence: Deadline awareness

2021-09-09 Thread Simon Ser
On Thursday, September 9th, 2021 at 18:31, Rob Clark wrote: > Yes, I think it would.. and "dma-buf/sync_file: Add SET_DEADLINE > ioctl" adds such an ioctl.. just for the benefit of igt tests at this > point, but the thought was it would be also used by compositors that > are doing such frame sch

Re: [Freedreno] [PATCH v3 0/9] dma-fence: Deadline awareness

2021-09-09 Thread Rob Clark
On Thu, Sep 9, 2021 at 9:16 AM Simon Ser wrote: > > Out of curiosity, would it be reasonable to allow user-space (more > precisely, the compositor) to set the deadline via an IOCTL without > actually performing an atomic commit with the FB? > > Some compositors might want to wait themselves for FB

Re: [Freedreno] [PATCH v3 0/9] dma-fence: Deadline awareness

2021-09-09 Thread Simon Ser
Out of curiosity, would it be reasonable to allow user-space (more precisely, the compositor) to set the deadline via an IOCTL without actually performing an atomic commit with the FB? Some compositors might want to wait themselves for FB fence completions to ensure a client doesn't block the whol

[Freedreno] [PATCH v3 0/9] dma-fence: Deadline awareness

2021-09-03 Thread Rob Clark
From: Rob Clark This series adds deadline awareness to fences, so realtime deadlines such as vblank can be communicated to the fence signaller for power/ frequency management decisions. This is partially inspired by a trick i915 does, but implemented via dma-fence for a couple of reasons: 1) To