summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-06-21 18:49:44 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-06-21 18:49:44 -0400
commitb13d719080b75fc6db4d15d2d323b8fce8b7ad06 (patch)
tree183ce311ef277f2d76ddea2b99368151630d699c /src
parentc3c5c8e2cc91b51a24effdffb85281216eed731d (diff)
r6xx/r7xx: fix miscount in state emit
Diffstat (limited to 'src')
-rw-r--r--src/r6xx_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r6xx_accel.c b/src/r6xx_accel.c
index 603b2715..c8ef4516 100644
--- a/src/r6xx_accel.c
+++ b/src/r6xx_accel.c
@@ -979,7 +979,7 @@ set_default_state(ScrnInfoPtr pScrn, drmBufPtr ib)
for (i = 0; i < PA_SC_VPORT_SCISSOR_0_TL_num; i++)
set_vport_scissor (pScrn, ib, i, 0, 0, 8192, 8192);
- BEGIN_BATCH(40);
+ BEGIN_BATCH(42);
PACK0(ib, PA_SC_MPASS_PS_CNTL, 2);
E32(ib, 0);
if (info->ChipFamily < CHIP_FAMILY_RV770)