Displaying 1 result from an estimated 1 matches for "nvxx_wait".
Did you mean:
nv_wait
2015 Mar 30
0
[Bug 82714] [G84] nouveau fails to properly initialize GPU
...16: u32 put = nvif_rd32(&dmac->base.user, 0x0000) / 4;
417:
418: mutex_lock(&dmac->lock);
419: if (put + nr >= (PAGE_SIZE / 4) - 8) {
420: dmac->ptr[put] = 0x20000000;
421:
422: nvif_wr32(&dmac->base.user, 0x0000, 0x00000000);
423: if (!nvxx_wait(&dmac->base.user, 0x0004, ~0, 0x00000000)) {
424: mutex_unlock(&dmac->lock);
425: nv_error(nvxx_object(&dmac->base.user), "channel stalled\n");
426: return NULL;
427: }
428:
429: put = 0;
430: }
431:
432: ret...