From 754655c795fff1c6267d358e54ad5198aee0cdd6 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Thu, 19 Apr 2012 20:03:39 +0200 Subject: [PATCH] nouveau: expose notifier handle on nvc0 as well Signed-off-by: Christoph Bumiller Signed-off-by: Ben Skeggs --- nouveau/abi16.c | 1 + nouveau/nouveau.h | 1 + 2 files changed, 2 insertions(+) diff --git a/nouveau/abi16.c b/nouveau/abi16.c index 0fa575c..69a0a9b 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 d7954cf..51a9598 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 { -- 2.7.4