summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_sysfs.h
diff options
context:
space:
mode:
authorPierre Moreau2014-08-18 22:43:24 +0200
committerBen Skeggs2014-09-15 14:24:58 +0200
commit703fa264b1c09ff9d0526553f5448fef77fda898 (patch)
tree1b9c67bb478747dc6d5c5ec4bb9e51f479cb08df /drivers/gpu/drm/nouveau/nouveau_sysfs.h
parentdrm/nouveau/pwr: wait for scrubbers to finish before uploading new ucode (diff)
downloadkernel-qcow2-linux-703fa264b1c09ff9d0526553f5448fef77fda898.tar.gz
kernel-qcow2-linux-703fa264b1c09ff9d0526553f5448fef77fda898.tar.xz
kernel-qcow2-linux-703fa264b1c09ff9d0526553f5448fef77fda898.zip
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