drm/nv50: initialize ramht_refs list for faked 0 channel
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 22 Aug 2010 18:54:08 +0000 (20:54 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 2 Sep 2010 22:23:51 +0000 (08:23 +1000)
commit615661f3948a066fd22a36fe8ea0c528b75ee373
treea3451c1e851b546a4fd438477d09163d60b5ebf8
parent374c3af880ef260f36dfc968d9725494666dff31
drm/nv50: initialize ramht_refs list for faked 0 channel

We need it for PFIFO_INTR_CACHE_ERROR interrupt handling,
because nouveau_fifo_swmthd looks for matching gpuobj in
ramht_refs list.
It fixes kernel panic in nouveau_gpuobj_ref_find.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_instmem.c