summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2012-04-19 20:03:39 +0200
committerBen Skeggs <bskeggs@redhat.com>2012-04-24 12:49:58 +1000
commit754655c795fff1c6267d358e54ad5198aee0cdd6 (patch)
treea810e42e63a35f95106b9a7a29623be40cc06480
parentd954648b4872e6b40ec8768a14eee818bc7613a8 (diff)
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>
-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 0fa575ce3..69a0a9b3c 100644
--- a/nouveau/abi16.c
+++ b/nouveau/abi16.c
@@ -66,6 +66,7 @@ abi16_chan_nvc0(struct nouveau_object *obj)
nvc0->base.channel = req.channel;
nvc0->base.pushbuf = req.pushbuf_domains;
+ nvc0->notify = req.notifier_handle;
nvc0->base.object->handle = req.channel;
nvc0->base.object->length = sizeof(*nvc0);
return 0;
diff --git a/nouveau/nouveau.h b/nouveau/nouveau.h
index d7954cf44..51a959814 100644
--- a/nouveau/nouveau.h
+++ b/nouveau/nouveau.h
@@ -38,6 +38,7 @@ struct nv04_fifo {
struct nvc0_fifo {
struct nouveau_fifo base;
+ uint32_t notify;
};
struct nv04_notify {