summaryrefslogtreecommitdiff
path: root/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:26:58 +1000
commit7fee41368944d37a1caed9dca7fd09e63868a0c4 (patch)
treeddaffd297799cf8f0691123c41bf88e5792d5dbe /nvif/class.h
parenta7777825fc7c8c037891f8a5bceb20471be51655 (diff)
downloadnouveau-7fee41368944d37a1caed9dca7fd09e63868a0c4.tar.gz
disp: implement nvif event sources for vblank/connector notifiers
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvif/class.h')
-rw-r--r--nvif/class.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/nvif/class.h b/nvif/class.h
index 15dc6a355..c9897f400 100644
--- a/nvif/class.h
+++ b/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
******************************************************************************/