summaryrefslogtreecommitdiff
path: root/src/i810_reg.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-03-03 10:37:26 -0800
committerEric Anholt <anholt@leguin.anholt.net>2006-04-06 15:57:54 -0700
commit585cc5f256b8e91460414a26409d0e484a86718c (patch)
treefcdc29a52de429a5f49bfaf1c16635bc0540d686 /src/i810_reg.h
parent33c62e8e654fa2228bc3fd31ec0fe010703f363a (diff)
Add more integrated LVDS support code.
Diffstat (limited to 'src/i810_reg.h')
-rw-r--r--src/i810_reg.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h
index 8785b069..c9b3f5ad 100644
--- a/src/i810_reg.h
+++ b/src/i810_reg.h
@@ -664,6 +664,22 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define PP_CONTROL 0x61204
# define POWER_TARGET_ON (1 << 0)
+#define PFIT_CONTROL 0x61230
+# define PFIT_ENABLE (1 << 31)
+# define VERT_INTERP_DISABLE (0 << 10)
+# define VERT_INTERP_BILINEAR (1 << 10)
+# define VERT_INTERP_MASK (3 << 10)
+# define VERT_AUTO_SCALE (1 << 9)
+# define HORIZ_INTERP_DISABLE (0 << 6)
+# define HORIZ_INTERP_BILINEAR (1 << 6)
+# define HORIZ_INTERP_MASK (3 << 6)
+# define HORIZ_AUTO_SCALE (1 << 5)
+# define PANEL_8TO6_DITHER_ENABLE (1 << 3)
+
+#define PFIT_PGM_RATIOS 0x61234
+# define PFIT_VERT_SCALE_MASK 0xfff00000
+# define PFIT_HORIZ_SCALE_MASK 0x0000fff0
+
#define DPLL_A 0x06014
#define DPLL_B 0x06018
# define DPLL_VCO_ENABLE (1 << 31)