aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvif/class.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-10 04:10:28 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-08-10 05:28:12 +1000
commit80bc340b3dd720c5b7818e21a9a1ee36e1d7ef30 (patch)
tree045d3cd23efc3ba26f2c7dbf954274260a397065 /drivers/gpu/drm/nouveau/nvif/class.h
parentdrm/nouveau/disp: allow user direct access to channel control registers (diff)
downloadlinux-dev-80bc340b3dd720c5b7818e21a9a1ee36e1d7ef30.tar.xz
linux-dev-80bc340b3dd720c5b7818e21a9a1ee36e1d7ef30.zip
drm/nouveau/disp: implement nvif event sources for vblank/connector notifiers
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvif/class.h')
-rw-r--r--drivers/gpu/drm/nouveau/nvif/class.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvif/class.h b/drivers/gpu/drm/nouveau/nvif/class.h
index 15dc6a35589e..c9897f4003a9 100644
--- a/drivers/gpu/drm/nouveau/nvif/class.h
+++ b/drivers/gpu/drm/nouveau/nvif/class.h
@@ -343,6 +343,9 @@ struct kepler_channel_gpfifo_a_v0 {
* legacy display
******************************************************************************/
+#define NV04_DISP_NTFY_VBLANK 0x00
+#define NV04_DISP_NTFY_CONN 0x01
+
struct nv04_disp_mthd_v0 {
__u8 version;
#define NV04_DISP_SCANOUTPOS 0x00
@@ -365,7 +368,6 @@ struct nv04_disp_scanoutpos_v0 {
__u16 hline;
};
-
/*******************************************************************************
* display
******************************************************************************/