summaryrefslogtreecommitdiff
path: root/drm/nvif/event.h
Commit message (Collapse)AuthorAgeFilesLines
* core: rework event interfaceBen Skeggs2014-08-101-0/+1
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>