2013-10-15 09:52:56 +08:00
|
|
|
#ifndef __NOUVEAU_SYSFS_H__
|
|
|
|
#define __NOUVEAU_SYSFS_H__
|
|
|
|
|
|
|
|
#include "nouveau_drm.h"
|
|
|
|
|
|
|
|
struct nouveau_sysfs {
|
2014-08-10 02:10:22 +08:00
|
|
|
struct nvif_object ctrl;
|
2013-10-15 09:52:56 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
static inline struct nouveau_sysfs *
|
|
|
|
nouveau_sysfs(struct drm_device *dev)
|
|
|
|
{
|
|
|
|
return nouveau_drm(dev)->sysfs;
|
|
|
|
}
|
|
|
|
|
|
|
|
int nouveau_sysfs_init(struct drm_device *);
|
|
|
|
void nouveau_sysfs_fini(struct drm_device *);
|
|
|
|
|
2014-08-19 04:43:24 +08:00
|
|
|
extern int nouveau_pstate;
|
|
|
|
|
2013-10-15 09:52:56 +08:00
|
|
|
#endif
|