xref: /linux/drivers/gpu/drm/nouveau/include/nvif/client.h (revision 55d0969c451159cff86949b38c39171cab962069)
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVIF_CLIENT_H__
3 #define __NVIF_CLIENT_H__
4 
5 #include <nvif/object.h>
6 
7 struct nvif_client {
8 	struct nvif_object object;
9 	const struct nvif_driver *driver;
10 };
11 
12 int  nvif_client_ctor(struct nvif_client *parent, const char *name, struct nvif_client *);
13 void nvif_client_dtor(struct nvif_client *);
14 int  nvif_client_suspend(struct nvif_client *);
15 int  nvif_client_resume(struct nvif_client *);
16 
17 /*XXX*/
18 #endif
19