summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-02 15:16:47 +1000
committerDave Airlie <airlied@redhat.com>2009-07-02 15:16:47 +1000
commit207174ea964c561076bdd5297a2fb6f136b4b645 (patch)
treef20e98005e6db3c5ee747ada610cc1995a11fccd
parent4d24a9d2c0be0c025266cc8cdf7e8d7bb065cdb1 (diff)
radeon: fix CS imbalance
-rw-r--r--src/radeon_commonfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_commonfuncs.c b/src/radeon_commonfuncs.c
index 96c84e8e..f2554bb2 100644
--- a/src/radeon_commonfuncs.c
+++ b/src/radeon_commonfuncs.c
@@ -110,7 +110,7 @@ static void FUNC_NAME(RADEONInit3DEngine)(ScrnInfoPtr pScrn)
OUT_ACCEL_REG(RADEON_WAIT_UNTIL, RADEON_WAIT_2D_IDLECLEAN | RADEON_WAIT_3D_IDLECLEAN);
FINISH_ACCEL();
- BEGIN_ACCEL(5);
+ BEGIN_ACCEL(3);
OUT_ACCEL_REG(R300_GB_AA_CONFIG, 0);
OUT_ACCEL_REG(R300_RB3D_DSTCACHE_CTLSTAT, R300_DC_FLUSH_3D | R300_DC_FREE_3D);
OUT_ACCEL_REG(R300_RB3D_ZCACHE_CTLSTAT, R300_ZC_FLUSH | R300_ZC_FREE);