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