Re: [PATCH v3 0/9] dma-fence: Deadline awareness
From: Simon Ser
Date: Thu Sep 09 2021 - 12:42:22 EST
On Thursday, September 9th, 2021 at 18:31, Rob Clark <robdclark@xxxxxxxxx> 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 scheduling. Ofc danvet is a bit grumpy that
> there isn't a more real (than igt) userspace for the ioctl yet ;-)
Ah, very nice, I somehow missed it.
I guess one issue is that explicit sync isn't quite plumbed through
compositors yet, so without Jason's DMA-BUF to sync_file IOCTL it'd be
a bit difficult to use.
Can anybody set the deadline? I wonder if clients should be allowed to.
What happens if the deadline is exceeded? I'd assume nothing in
particular, the deadline being just a hint?