diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-11 14:38:10 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-10-02 13:25:42 +1000 |
commit | e308c3f7d5c788f08fd49d8409b4c72de40d1200 (patch) | |
tree | e6a81fb366740a23d16890d844990475998183fb /nvkm/engine/disp/nva0.c | |
parent | a9b6773c64335c9f5ca4f69202877762ebe43ce6 (diff) | |
download | nouveau-e308c3f7d5c788f08fd49d8409b4c72de40d1200.tar.gz |
disp/nv50-: add support for completion events
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/engine/disp/nva0.c')
-rw-r--r-- | nvkm/engine/disp/nva0.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nvkm/engine/disp/nva0.c b/nvkm/engine/disp/nva0.c index 7af15f5d4..c67e68aad 100644 --- a/nvkm/engine/disp/nva0.c +++ b/nvkm/engine/disp/nva0.c @@ -112,6 +112,10 @@ nva0_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 = nva0_disp_base_oclass; nv_engine(priv)->cclass = &nv50_disp_cclass; nv_subdev(priv)->intr = nv50_disp_intr; |