summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_sysfs.h
diff options
context:
space:
mode:
authorPierre Moreau <pierre.morrow@free.fr>2014-08-19 00:43:24 +0400
committerBen Skeggs <bskeggs@redhat.com>2014-09-15 16:24:58 +0400
commit703fa264b1c09ff9d0526553f5448fef77fda898 (patch)
tree1b9c67bb478747dc6d5c5ec4bb9e51f479cb08df /drivers/gpu/drm/nouveau/nouveau_sysfs.h
parenta2410f5a0fcb6326fe8da41a4e8dcdc116436c74 (diff)
downloadlinux-703fa264b1c09ff9d0526553f5448fef77fda898.tar.xz
drm/nouveau: Display Nouveau boot options at launch
It can help to remove any ambiguity about which options were passed to Nouveau, especially in case the user had some options set in /etc/modprobe.d/*.conf that he forgot about, as they won't appear in a dmesg. Signed-off-by: Pierre Moreau <pierre.morrow@free.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_sysfs.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_sysfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_sysfs.h b/drivers/gpu/drm/nouveau/nouveau_sysfs.h
index f973378160f8..4e5ea9241b28 100644
--- a/drivers/gpu/drm/nouveau/nouveau_sysfs.h
+++ b/drivers/gpu/drm/nouveau/nouveau_sysfs.h
@@ -16,4 +16,6 @@ nouveau_sysfs(struct drm_device *dev)
int nouveau_sysfs_init(struct drm_device *);
void nouveau_sysfs_fini(struct drm_device *);
+extern int nouveau_pstate;
+
#endif