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

index e6f16a7750f07c2090c9acb2259b02701b020619..1a1d806e0b01a061f936b93a4664ed7aecfc7f35 100644 (file)
@@ -36,7 +36,7 @@ core507d_update(struct nv50_core *core, u32 *interlock, bool ntfy)
        struct nvif_push *push = core->chan.push;
        int ret;
 
-       if ((ret = PUSH_WAIT(push, 5)))
+       if ((ret = PUSH_WAIT(push, (ntfy ? 2 : 0) + 3)))
                return ret;
 
        if (ntfy) {