diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-12-02 08:52:46 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-02-11 03:14:23 +0300 |
commit | 149a23b026699e5284d9f613ae971e7cadace201 (patch) | |
tree | ffc63d1b09ac047005340717cbbe77346d807440 /drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h | |
parent | f81069228d5d239854075dca1e4c0a7df54d3748 (diff) | |
download | linux-149a23b026699e5284d9f613ae971e7cadace201.tar.xz |
drm/nouveau/subdev: remove nvkm_subdev.mutex
There's not really any nice way to assign the lock classes when we split
subdev indices into type+inst, and saves a few bytes in the structs when
a subdev has no need for it.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h b/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h index 76288c682e9e..f927eaee094e 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h @@ -7,7 +7,6 @@ struct nvkm_subdev { const struct nvkm_subdev_func *func; struct nvkm_device *device; enum nvkm_devidx index; - struct mutex mutex; u32 debug; bool oneinit; |