summaryrefslogtreecommitdiff
path: root/src/i810_reg.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-06-20 15:10:35 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-06-20 15:10:35 -0700
commit896ffe78fe96469cdd3ade77c8e68e1503967223 (patch)
treecb2dde08c119d297cdaaf06442d7093aaa6a6263 /src/i810_reg.h
parent89c2c4bc40b8c032915ccb3ed4f3c143c3d8db12 (diff)
parent52243d407cad93283956660de4771097ac0b4b2d (diff)
Merge branch 'modesetting-origin' into modesetting
Diffstat (limited to 'src/i810_reg.h')
-rw-r--r--src/i810_reg.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h
index c45368df..b95f795b 100644
--- a/src/i810_reg.h
+++ b/src/i810_reg.h
@@ -728,6 +728,13 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# define SDVO_MULTIPLIER_MASK 0x000000ff
# define SDVO_DEFAULT_MULTIPLIER 0x00000003
+#define BLC_PWM_CTL 0x61254
+#define BACKLIGHT_MODULATION_FREQ_SHIFT (17)
+#define BACKLIGHT_MODULATION_FREQ_MASK (0x7fff << 17)
+#define BLM_LEGACY_MODE (1 << 16)
+#define BACKLIGHT_DUTY_CYCLE_SHIFT (0)
+#define BACKLIGHT_DUTY_CYCLE_MASK (0xffff)
+
#define FPA0 0x06040
#define FPA1 0x06044
#define FPB0 0x06048
@@ -752,6 +759,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# define CRT_HOTPLUG_MONITOR_NONE (0 << 8)
# define SDVOC_HOTPLUG_INT_STATUS (1 << 7)
# define SDVOB_HOTPLUG_INT_STATUS (1 << 6)
+#define SDVOB_PRESERVE_MASK ((1 << 17) | (1 << 16) | (1 << 14))
#define SDVOB 0x61140
#define SDVOC 0x61160
@@ -769,7 +777,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define SDVOB_PCIE_CONCURRENCY (1 << 3)
#define SDVO_DETECTED (1 << 2)
/* Bits to be preserved when writing */
-#define SDVO_PRESERVE_MASK (1 << 17)
+#define SDVOC_PRESERVE_MASK (1 << 17)
#define I830_HTOTAL_MASK 0xfff0000
#define I830_HACTIVE_MASK 0x7ff