aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bumiller2012-04-19 13:03:39 -0500
committerBen Skeggs2012-04-23 21:49:58 -0500
commit754655c795fff1c6267d358e54ad5198aee0cdd6 (patch)
treea810e42e63a35f95106b9a7a29623be40cc06480 /nouveau
parentd954648b4872e6b40ec8768a14eee818bc7613a8 (diff)
downloadlibdrm-754655c795fff1c6267d358e54ad5198aee0cdd6.tar.gz
libdrm-754655c795fff1c6267d358e54ad5198aee0cdd6.tar.xz
libdrm-754655c795fff1c6267d358e54ad5198aee0cdd6.zip
nouveau: expose notifier handle on nvc0 as well
Signed-off-by: Christoph Bumiller <e0425955@student.tuwien.ac.at> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nouveau')
-rw-r--r--nouveau/abi16.c1
-rw-r--r--nouveau/nouveau.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/nouveau/abi16.c b/nouveau/abi16.c
index 0fa575ce..69a0a9b3 100644
--- a/nouveau/abi16.c
+++ b/nouveau/abi16.c
@@ -66,6 +66,7 @@ abi16_chan_nvc0(struct nouveau_object *obj)
66 66
67 nvc0->base.channel = req.channel; 67 nvc0->base.channel = req.channel;
68 nvc0->base.pushbuf = req.pushbuf_domains; 68 nvc0->base.pushbuf = req.pushbuf_domains;
69 nvc0->notify = req.notifier_handle;
69 nvc0->base.object->handle = req.channel; 70 nvc0->base.object->handle = req.channel;
70 nvc0->base.object->length = sizeof(*nvc0); 71 nvc0->base.object->length = sizeof(*nvc0);
71 return 0; 72 return 0;
diff --git a/nouveau/nouveau.h b/nouveau/nouveau.h
index d7954cf4..51a95981 100644
--- a/nouveau/nouveau.h
+++ b/nouveau/nouveau.h
@@ -38,6 +38,7 @@ struct nv04_fifo {
38 38
39struct nvc0_fifo { 39struct nvc0_fifo {
40 struct nouveau_fifo base; 40 struct nouveau_fifo base;
41 uint32_t notify;
41}; 42};
42 43
43struct nv04_notify { 44struct nv04_notify {