summaryrefslogtreecommitdiff
path: root/nvkm/engine/disp/nv94.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-11 14:38:10 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-10-02 13:25:42 +1000
commite308c3f7d5c788f08fd49d8409b4c72de40d1200 (patch)
treee6a81fb366740a23d16890d844990475998183fb /nvkm/engine/disp/nv94.c
parenta9b6773c64335c9f5ca4f69202877762ebe43ce6 (diff)
downloadnouveau-e308c3f7d5c788f08fd49d8409b4c72de40d1200.tar.gz
disp/nv50-: add support for completion events
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/engine/disp/nv94.c')
-rw-r--r--nvkm/engine/disp/nv94.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nvkm/engine/disp/nv94.c b/nvkm/engine/disp/nv94.c
index fa79de906..a11706400 100644
--- a/nvkm/engine/disp/nv94.c
+++ b/nvkm/engine/disp/nv94.c
@@ -95,6 +95,10 @@ nv94_disp_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
if (ret)
return ret;
+ ret = nvkm_event_init(&nv50_disp_chan_uevent, 1, 9, &priv->uevent);
+ if (ret)
+ return ret;
+
nv_engine(priv)->sclass = nv94_disp_base_oclass;
nv_engine(priv)->cclass = &nv50_disp_cclass;
nv_subdev(priv)->intr = nv50_disp_intr;