diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-02-11 08:34:58 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-05-22 03:13:48 +0200 |
commit | f02ca8425a5c49a3751ca0045f1ec14b3c84a05f (patch) | |
tree | c0f9f9f3e49a0a6cb289efe9fe3f8ea98976b4f2 /drivers/gpu/drm/nouveau/include | |
parent | drm/nouveau/kms: Support NVIDIA format modifiers (diff) | |
download | linux-f02ca8425a5c49a3751ca0045f1ec14b3c84a05f.tar.xz linux-f02ca8425a5c49a3751ca0045f1ec14b3c84a05f.zip |
drm/nouveau/core: add nvkm_subdev_new_() for bare subdevs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h b/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h index 1218f28c14ba..76288c682e9e 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h @@ -24,6 +24,8 @@ struct nvkm_subdev_func { }; extern const char *nvkm_subdev_name[NVKM_SUBDEV_NR]; +int nvkm_subdev_new_(const struct nvkm_subdev_func *, struct nvkm_device *, + int index, struct nvkm_subdev **); void nvkm_subdev_ctor(const struct nvkm_subdev_func *, struct nvkm_device *, int index, struct nvkm_subdev *); void nvkm_subdev_del(struct nvkm_subdev **); |