xref: /linux/drivers/gpu/drm/nouveau/include/nvif/client.h (revision 778b8ebe5192e7a7f00563a7456517dfa63e1d90)
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