diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 04:10:20 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 04:43:27 +1000 |
commit | 737a951e675b0b0bdd96423b762e2e5b26c3aeb3 (patch) | |
tree | 993752b32238c0cc9bce7cd4725a42a6767d4e07 /nvkm/engine/disp/nv94.c | |
parent | 7a6217d8dd327130e937a5235e14742eaf04bc6f (diff) | |
download | nouveau-737a951e675b0b0bdd96423b762e2e5b26c3aeb3.tar.gz |
core: rework event interface
This is a lot of prep-work for being able to send event notifications
back to userspace. Events now contain data, rather than a "something
just happened" signal.
Handler data is now embedded into a containing structure, rather than
being kmalloc()'d, and can optionally have the notify routine handled
in a workqueue.
Various races between suspend/unload with display HPD/DP IRQ handlers
automagically solved as a result.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/engine/disp/nv94.c')
-rw-r--r-- | nvkm/engine/disp/nv94.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nvkm/engine/disp/nv94.c b/nvkm/engine/disp/nv94.c index 4f718a9f5..03a6b2572 100644 --- a/nvkm/engine/disp/nv94.c +++ b/nvkm/engine/disp/nv94.c @@ -143,6 +143,7 @@ nv94_disp_oclass = &(struct nv50_disp_impl) { .init = _nouveau_disp_init, .fini = _nouveau_disp_fini, }, + .base.vblank = &nv50_disp_vblank_func, .base.outp = nv94_disp_outp_sclass, .mthd.core = &nv94_disp_mast_mthd_chan, .mthd.base = &nv84_disp_sync_mthd_chan, |