diff options
author | 2020-08-11 10:06:42 +1000 | |
---|---|---|
committer | 2021-01-29 16:49:12 +1000 | |
commit | 7c1f6bbd09786f03be3cad5fb9b9c2141ce5ba1d (patch) | |
tree | 982d3ac44662f895b71a68ef37aeadec8d682b60 | |
parent | drm/nouveau/kms/nv50-gp1xx: wait for less EVO pushbuf space for core updates without notify (diff) | |
download | wireguard-linux-7c1f6bbd09786f03be3cad5fb9b9c2141ce5ba1d.tar.xz wireguard-linux-7c1f6bbd09786f03be3cad5fb9b9c2141ce5ba1d.zip |
drm/nouveau/kms/gv100-: wait for less NVD pushbuf space for core updates without notify
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/corec37d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/corec37d.c b/drivers/gpu/drm/nouveau/dispnv50/corec37d.c index 9035d3ab062c..42f877f2ced2 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/corec37d.c +++ b/drivers/gpu/drm/nouveau/dispnv50/corec37d.c @@ -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) { |