From: Ben Skeggs Date: Tue, 11 Aug 2020 00:13:12 +0000 (+1000) Subject: drm/nouveau/kms/nv50-gp1xx: wait for less EVO pushbuf space for core updates without... X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ef674b6857ae1868213babd59d622c50419a477b;p=linux.git drm/nouveau/kms/nv50-gp1xx: wait for less EVO pushbuf space for core updates without notify Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/dispnv50/core507d.c b/drivers/gpu/drm/nouveau/dispnv50/core507d.c index e6f16a7750f07..1a1d806e0b01a 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/core507d.c +++ b/drivers/gpu/drm/nouveau/dispnv50/core507d.c @@ -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) {