summaryrefslogtreecommitdiff
path: root/src/glamo.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-02-25 00:52:05 +0100
committerLars-Peter Clausen <lars@metafoo.de>2009-02-25 00:52:05 +0100
commit99b38c284e91efc45f9bc4c087e462abe98ae0a4 (patch)
tree69f93ee0ecdd650a5c1e4c3ae6b3738fd1dc34ca /src/glamo.h
parent703acea131caf72e71f04a0ad40f540fe236be89 (diff)
Make the path to the sysfs state file for the jbt6k47 display driver
configurable. It can either be set at configure time with --with-jbt6k47-state-path=PATH. Or at runtime in the xorg.conf device section. The option name is StatePath.
Diffstat (limited to 'src/glamo.h')
-rw-r--r--src/glamo.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/glamo.h b/src/glamo.h
index 84cba3d..2cb3da0 100644
--- a/src/glamo.h
+++ b/src/glamo.h
@@ -125,7 +125,12 @@ typedef struct {
short saved_clock_gen5_2;
short saved_hostbus_2;
- /* Use hardware acceleration */
+#ifdef JBT6K74_SET_STATE
+ char *jbt6k74_state_path;
+ char saved_jbt6k74_state[14];
+#endif
+
+/* Use hardware acceleration */
Bool accel;
} GlamoRec, *GlamoPtr;