summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_crtc.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-09 20:10:20 +0200
committerBen Skeggs <bskeggs@redhat.com>2014-08-09 21:13:02 +0200
commit79ca27706a034b683196c85f5c6901b78e5ab8f0 (patch)
treec06ff32b983e4456b3af679288dad97bfe79cfe9 /drivers/gpu/drm/nouveau/nouveau_crtc.h
parentdrm/nouveau/core: move handle-based object apis to handle.c (diff)
downloadlinux-79ca27706a034b683196c85f5c6901b78e5ab8f0.tar.xz
linux-79ca27706a034b683196c85f5c6901b78e5ab8f0.zip
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_crtc.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_crtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_crtc.h b/drivers/gpu/drm/nouveau/nouveau_crtc.h
index 6af9b58821c0..6358640387b8 100644
--- a/drivers/gpu/drm/nouveau/nouveau_crtc.h
+++ b/drivers/gpu/drm/nouveau/nouveau_crtc.h
@@ -31,7 +31,7 @@ struct nouveau_crtc {
struct drm_crtc base;
int index;
- struct nouveau_eventh *vblank;
+ struct nvkm_notify vblank;
uint32_t dpms_saved_fp_control;
uint32_t fp_users;