mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
4d681b666d
commit
79ca27706a
52 changed files with 875 additions and 517 deletions
1
drivers/gpu/drm/nouveau/core/include/nvif/event.h
Symbolic link
1
drivers/gpu/drm/nouveau/core/include/nvif/event.h
Symbolic link
1
drivers/gpu/drm/nouveau/core/include/nvif/unpack.h
Symbolic link
1
drivers/gpu/drm/nouveau/core/include/nvif/unpack.h
Symbolic link
Loading…
Add table
Add a link
Reference in a new issue