]> Git Repo - linux.git/blob - drivers/gpu/drm/nouveau/nouveau_sysfs.h
mm: rework virtual memory accounting
[linux.git] / drivers / gpu / drm / nouveau / nouveau_sysfs.h
1 #ifndef __NOUVEAU_SYSFS_H__
2 #define __NOUVEAU_SYSFS_H__
3
4 #include "nouveau_drm.h"
5
6 struct nouveau_sysfs {
7         struct nvif_object ctrl;
8 };
9
10 static inline struct nouveau_sysfs *
11 nouveau_sysfs(struct drm_device *dev)
12 {
13         return nouveau_drm(dev)->sysfs;
14 }
15
16 int  nouveau_sysfs_init(struct drm_device *);
17 void nouveau_sysfs_fini(struct drm_device *);
18
19 extern int nouveau_pstate;
20
21 #endif
This page took 0.03359 seconds and 4 git commands to generate.