diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2021-03-04 12:53:01 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-08-18 12:00:15 +0300 |
commit | 59f216cf04d973b4316761cbf3e7cb9556715b7a (patch) | |
tree | a4a53f94e9116256806bf83dfc06f3e10129f142 /drivers/gpu/drm/nouveau/nvif/client.c | |
parent | 148a8653789c01f159764ffcc3f370008966b42f (diff) | |
download | linux-59f216cf04d973b4316761cbf3e7cb9556715b7a.tar.xz |
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/nvif/client.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvif/client.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvif/client.c b/drivers/gpu/drm/nouveau/nvif/client.c index 12644f811b3e..a3264a0e933a 100644 --- a/drivers/gpu/drm/nouveau/nvif/client.c +++ b/drivers/gpu/drm/nouveau/nvif/client.c @@ -32,7 +32,7 @@ int nvif_client_ioctl(struct nvif_client *client, void *data, u32 size) { - return client->driver->ioctl(client->object.priv, client->super, data, size, NULL); + return client->driver->ioctl(client->object.priv, data, size, NULL); } int @@ -80,7 +80,6 @@ nvif_client_ctor(struct nvif_client *parent, const char *name, u64 device, client->object.client = client; client->object.handle = ~0; client->route = NVIF_IOCTL_V0_ROUTE_NVIF; - client->super = true; client->driver = parent->driver; if (ret == 0) { |