commit | b0b96636dbf93445dd532b09b21fa4fc5ce6bdc7 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@redhat.com> | Fri Sep 11 13:27:35 2009 -0400 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Thu Oct 29 17:14:09 2009 -0700 |
tree | 651a1d6ea2aff02f9fe43c696401eca1d82fe434 | |
parent | 0d7ad7e43ca212b1e9f16cd18f36493cab455e61 [diff] |
Add support for vblank events The kernel will now write data to the DRM fd for various event types if requested. Currently, the only supported event is a vblank event: it contains the vblank count for the event as well as a timestamp from when the event ocurred. Since the DRM fd is now pollable, it's easy to integrate into existing event loops.