summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_abi16.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2021-03-04 19:53:01 +1000
committerBen Skeggs <bskeggs@redhat.com>2021-08-18 19:00:15 +1000
commit59f216cf04d973b4316761cbf3e7cb9556715b7a (patch)
treea4a53f94e9116256806bf83dfc06f3e10129f142 /drivers/gpu/drm/nouveau/nouveau_abi16.c
parent148a8653789c01f159764ffcc3f370008966b42f (diff)
downloadlinux-stable-59f216cf04d973b4316761cbf3e7cb9556715b7a.tar.gz
linux-stable-59f216cf04d973b4316761cbf3e7cb9556715b7a.tar.bz2
linux-stable-59f216cf04d973b4316761cbf3e7cb9556715b7a.zip
drm/nouveau: rip out nvkm_client.super
No longer required now that userspace can't touch anything that might need it, and should fix DRM MM operations racing with each other, and the random hangs/crashes that come with that. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_abi16.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_abi16.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c b/drivers/gpu/drm/nouveau/nouveau_abi16.c
index b45ec3086285..4107b7006539 100644
--- a/drivers/gpu/drm/nouveau/nouveau_abi16.c
+++ b/drivers/gpu/drm/nouveau/nouveau_abi16.c
@@ -570,11 +570,9 @@ nouveau_abi16_ioctl_notifierobj_alloc(ABI16_IOCTL_ARGS)
}
client->route = NVDRM_OBJECT_ABI16;
- client->super = true;
ret = nvif_object_ctor(&chan->chan->user, "abi16Ntfy", info->handle,
NV_DMA_IN_MEMORY, &args, sizeof(args),
&ntfy->object);
- client->super = false;
client->route = NVDRM_OBJECT_NVIF;
if (ret)
goto done;