diff options
author | Dave Airlie <airlied@linux.ie> | 2009-08-26 05:31:56 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-08-26 05:32:53 +1000 |
commit | 04692f80678ffea15ac33820381ce45865e697b8 (patch) | |
tree | c1188f92588c7f38e2ce7c126e67fbb534755aec | |
parent | fc74e1194c980d978667e02c60a29a761a694bde (diff) |
radeon: afaics these aren't radeon regs but r128 regs.
so remove them from radeon use.
-rw-r--r-- | src/radeon_commonfuncs.c | 6 | ||||
-rw-r--r-- | src/radeon_reg.h | 22 |
2 files changed, 2 insertions, 26 deletions
diff --git a/src/radeon_commonfuncs.c b/src/radeon_commonfuncs.c index b6a6d8d5..6387e4f2 100644 --- a/src/radeon_commonfuncs.c +++ b/src/radeon_commonfuncs.c @@ -789,10 +789,9 @@ static void FUNC_NAME(RADEONInit3DEngine)(ScrnInfoPtr pScrn) R200_VAP_VF_MAX_VTX_NUM); FINISH_ACCEL(); - BEGIN_ACCEL(5); + BEGIN_ACCEL(4); OUT_ACCEL_REG(R200_RE_AUX_SCISSOR_CNTL, 0); OUT_ACCEL_REG(R200_RE_CNTL, 0); - OUT_ACCEL_REG(RADEON_AUX_SC_CNTL, 0); OUT_ACCEL_REG(RADEON_RB3D_PLANEMASK, 0xffffffff); OUT_ACCEL_REG(RADEON_SE_CNTL, (RADEON_DIFFUSE_SHADE_GOURAUD | RADEON_BFACE_SOLID | @@ -813,8 +812,7 @@ static void FUNC_NAME(RADEONInit3DEngine)(ScrnInfoPtr pScrn) RADEON_TEX1_W_ROUTING_USE_W0); FINISH_ACCEL(); - BEGIN_ACCEL(3); - OUT_ACCEL_REG(RADEON_AUX_SC_CNTL, 0); + BEGIN_ACCEL(2); OUT_ACCEL_REG(RADEON_RB3D_PLANEMASK, 0xffffffff); OUT_ACCEL_REG(RADEON_SE_CNTL, (RADEON_DIFFUSE_SHADE_GOURAUD | RADEON_BFACE_SOLID | diff --git a/src/radeon_reg.h b/src/radeon_reg.h index 9df7fffd..3a4eda14 100644 --- a/src/radeon_reg.h +++ b/src/radeon_reg.h @@ -103,28 +103,6 @@ #define RADEON_ATTRDR 0x03c1 /* VGA */ #define RADEON_ATTRDW 0x03c0 /* VGA */ #define RADEON_ATTRX 0x03c0 /* VGA */ -#define RADEON_AUX_SC_CNTL 0x1660 -# define RADEON_AUX1_SC_EN (1 << 0) -# define RADEON_AUX1_SC_MODE_OR (0 << 1) -# define RADEON_AUX1_SC_MODE_NAND (1 << 1) -# define RADEON_AUX2_SC_EN (1 << 2) -# define RADEON_AUX2_SC_MODE_OR (0 << 3) -# define RADEON_AUX2_SC_MODE_NAND (1 << 3) -# define RADEON_AUX3_SC_EN (1 << 4) -# define RADEON_AUX3_SC_MODE_OR (0 << 5) -# define RADEON_AUX3_SC_MODE_NAND (1 << 5) -#define RADEON_AUX1_SC_BOTTOM 0x1670 -#define RADEON_AUX1_SC_LEFT 0x1664 -#define RADEON_AUX1_SC_RIGHT 0x1668 -#define RADEON_AUX1_SC_TOP 0x166c -#define RADEON_AUX2_SC_BOTTOM 0x1680 -#define RADEON_AUX2_SC_LEFT 0x1674 -#define RADEON_AUX2_SC_RIGHT 0x1678 -#define RADEON_AUX2_SC_TOP 0x167c -#define RADEON_AUX3_SC_BOTTOM 0x1690 -#define RADEON_AUX3_SC_LEFT 0x1684 -#define RADEON_AUX3_SC_RIGHT 0x1688 -#define RADEON_AUX3_SC_TOP 0x168c #define RADEON_AUX_WINDOW_HORZ_CNTL 0x02d8 #define RADEON_AUX_WINDOW_VERT_CNTL 0x02dc |