Skip to content
Commit 79ca2770 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/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: default avatarBen Skeggs <bskeggs@redhat.com>
parent 4d681b66
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment