From 767944e3782f9941e9fc72a6705cc3115a6e24ac Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 27 Feb 2006 13:08:46 -0800 Subject: Replace a few magic numbers with symbolic names. Reviewed by md5. --- src/i810_reg.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/i810_reg.h') diff --git a/src/i810_reg.h b/src/i810_reg.h index 8afe855d..7af23e73 100644 --- a/src/i810_reg.h +++ b/src/i810_reg.h @@ -658,6 +658,12 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define PIPEBSRC 0x6101c #define BCLRPAT_B 0x61020 +#define PP_STATUS 0x61200 +# define PP_ON (1 << 31) + +#define PP_CONTROL 0x61204 +# define POWER_TARGET_ON (1 << 0) + #define DPLL_A 0x06014 #define DPLL_B 0x06018 # define DPLL_VCO_ENABLE (1 << 31) @@ -736,6 +742,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define DVOC_SRCDIM 0x61164 #define LVDS 0x61180 +# define LVDS_PORT_EN (1 << 31) #define PIPEACONF 0x70008 #define PIPEACONF_ENABLE (1<<31) -- cgit v1.2.3