summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include/nvif/user.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-03-30 14:01:57 +1000
committerBen Skeggs <bskeggs@redhat.com>2020-07-24 18:50:51 +1000
commit64a0f59ab12467ace3e86b98ca47255827049d02 (patch)
treea063829b110961a74896fc2732952da4b9611b3d /drivers/gpu/drm/nouveau/include/nvif/user.h
parent45faf3d7b64ff0abfce735d4b2cd2f2edd357485 (diff)
downloadlinux-64a0f59ab12467ace3e86b98ca47255827049d02.tar.bz2
drm/nouveau/nvif: give every usermode object a human-readable identifier
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvif/user.h')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvif/user.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvif/user.h b/drivers/gpu/drm/nouveau/include/nvif/user.h
index 6825574d93c2..146986a9fe53 100644
--- a/drivers/gpu/drm/nouveau/include/nvif/user.h
+++ b/drivers/gpu/drm/nouveau/include/nvif/user.h
@@ -13,8 +13,8 @@ struct nvif_user_func {
u64 (*time)(struct nvif_user *);
};
-int nvif_user_init(struct nvif_device *);
-void nvif_user_fini(struct nvif_device *);
+int nvif_user_ctor(struct nvif_device *, const char *name);
+void nvif_user_dtor(struct nvif_device *);
extern const struct nvif_user_func nvif_userc361;
#endif