2013-10-15 01:52:56 +00:00
|
|
|
#ifndef __NOUVEAU_SYSFS_H__
|
|
|
|
#define __NOUVEAU_SYSFS_H__
|
|
|
|
|
|
|
|
#include "nouveau_drm.h"
|
|
|
|
|
|
|
|
struct nouveau_sysfs {
|
2014-08-09 18:10:22 +00:00
|
|
|
struct nvif_object ctrl;
|
2013-10-15 01:52:56 +00: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-18 20:43:24 +00:00
|
|
|
extern int nouveau_pstate;
|
|
|
|
|
2013-10-15 01:52:56 +00:00
|
|
|
#endif
|