drm/nouveau/kms/gv100-: wait for less NVD pushbuf space for core updates without...
authorBen Skeggs <bskeggs@redhat.com>
Tue, 11 Aug 2020 00:06:42 +0000 (10:06 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 29 Jan 2021 06:49:12 +0000 (16:49 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/corec37d.c

index 9035d3a..42f877f 100644 (file)
@@ -54,7 +54,7 @@ corec37d_update(struct nv50_core *core, u32 *interlock, bool ntfy)
        struct nvif_push *push = core->chan.push;
        int ret;
 
-       if ((ret = PUSH_WAIT(push, 9)))
+       if ((ret = PUSH_WAIT(push, (ntfy ? 2 * 2 : 0) + 5)))
                return ret;
 
        if (ntfy) {