Am 12.07.2017 um 17:53 schrieb Jason Ekstrand:
[SNIP]

    Is that easier than just waiting in the kernel, I'm not sure how
    optimised we need this path to be.


I don't think so. I think it's more-or-less the same code regardless of how it's done. The advantage of doing it in the kernel is that it's standardized (we don't have to both go write that userspace code) and it doesn't have the problems stated above.

Ok, I'm convinced. The next price question is then how do we do it?

I mean writing an IOCTL to wait for a fence to appear is simple, but do we also need to wait for a fence to change?

As long as waits don't consume fences that might be rather tricky.

Christian.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to