summaryrefslogtreecommitdiff
path: root/src/i810_reg.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-03-01 12:49:06 -0800
committerEric Anholt <anholt@leguin.anholt.net>2006-04-06 15:55:01 -0700
commit7746da3b346968ab8d2534fc158d026da67cc7b5 (patch)
treece1ab28d8211c2f5711c1c89774ccc68c633b0c8 /src/i810_reg.h
parent142bc4f91a5d776e7ab44cc5fb2328e3f7267557 (diff)
Move LVDS panel power state setting to a separate function, and reduce magic
numbers.
Diffstat (limited to 'src/i810_reg.h')
-rw-r--r--src/i810_reg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h
index 1194c231..8785b069 100644
--- a/src/i810_reg.h
+++ b/src/i810_reg.h
@@ -756,6 +756,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define LVDS 0x61180
# define LVDS_PORT_EN (1 << 31)
+# define LVDS_PIPEB_SELECT (1 << 30)
+# define LVDS_CLKA_POWER_DOWN (0 << 8)
+# define LVDS_CLKA_POWER_UP (3 << 8)
#define PIPEACONF 0x70008
#define PIPEACONF_ENABLE (1<<31)