[go: up one dir, main page]

|
|
Log in / Subscribe / Register

DRI3 and Present

DRI3 and Present

Posted Oct 10, 2013 10:30 UTC (Thu) by kugel (subscriber, #70540)
Parent article: DRI3 and Present

>Another discussion topic was DRM SyncFences, which are currently implemented using futexes. That may not be ideal as futexes are not select()/poll()-friendly. As mentioned earlier, the X server cannot wake up when a fence is signaled, so there may need to be a kernel API added to get a signal when the futex is poked, he said. Someone from the audience suggested using socketpair() instead, which he plans to investigate.

What about eventfd()? Sounds like an ideal poll()-friendly mutex.


to post comments

DRI3 and Present

Posted Oct 10, 2013 22:39 UTC (Thu) by keithp (subscriber, #5140) [Link]

> What about eventfd()? Sounds like an ideal poll()-friendly mutex.

Yeah, I've just written code that switches to that and was busy writing up a new blog entry about it.

What I realized while typing that entry was that eventfd (or even futexes) aren't actually useful though; we actually do need GPU synchronization, which neither of these provide...


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds