diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-04-24 18:04:22 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-04-26 00:27:19 +1000 |
commit | ca225bb8af9d78cf5714634e5bd935adfd9be1ae (patch) | |
tree | 5e5529a79d7916b493e86c8bc9c5a1cb76c3f251 /nvkm/engine/disp/nv50.c | |
parent | 41a7f01aa741f22969b8cce55c909cff1b781b36 (diff) | |
download | nouveau-ca225bb8af9d78cf5714634e5bd935adfd9be1ae.tar.gz |
disp/nv50-: use self as parent for subobjects
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/engine/disp/nv50.c')
-rw-r--r-- | nvkm/engine/disp/nv50.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nvkm/engine/disp/nv50.c b/nvkm/engine/disp/nv50.c index 608834449..6a38402fa 100644 --- a/nvkm/engine/disp/nv50.c +++ b/nvkm/engine/disp/nv50.c @@ -572,7 +572,8 @@ nv50_disp_base_ctor(struct nouveau_object *parent, priv->base.vblank->priv = priv; priv->base.vblank->enable = nv50_disp_base_vblank_enable; priv->base.vblank->disable = nv50_disp_base_vblank_disable; - return nouveau_ramht_new(parent, parent, 0x1000, 0, &base->ramht); + return nouveau_ramht_new(nv_object(base), nv_object(base), 0x1000, 0, + &base->ramht); } static void |